Searched refs:kvm_open2 (Results 1 - 5 of 5) sorted by relevance
/freebsd-13-stable/lib/libkvm/tests/ |
H A D | kvm_open2_test.c | 49 ATF_CHECK(kvm_open2(NULL, "/nonexistent", O_RDONLY, NULL, NULL) == NULL); 52 ATF_CHECK(kvm_open2(NULL, "/nonexistent", O_RDONLY, 62 ATF_CHECK(kvm_open2("/nonexistent", _PATH_DEVZERO, O_RDONLY, 66 ATF_CHECK(kvm_open2("/nonexistent", _PATH_DEVZERO, O_RDONLY, 84 kd = kvm_open2(NULL, "some-file", O_RDONLY, errbuf, NULL); 86 ATF_REQUIRE_MSG(kd == NULL, "kvm_open2 succeeded"); 102 kd = kvm_open2("some-file", "/bin/sh", O_RDONLY, errbuf, NULL); 104 ATF_REQUIRE_MSG(kd == NULL, "kvm_open2 succeeded unexpectedly");
|
H A D | kvm_geterr_test.c | 58 /* 1100090 was where kvm_open2(3) was introduced. */ 75 kd = kvm_open2(NULL, NULL, O_RDONLY, errbuf, NULL); 77 ATF_REQUIRE_MSG(kd != NULL, "kvm_open2 failed: %s", errbuf); 110 kd = kvm_open2(NULL, NULL, O_RDONLY, errbuf, NULL); 112 ATF_REQUIRE_MSG(kd != NULL, "kvm_open2 failed: %s", errbuf);
|
/freebsd-13-stable/lib/libkvm/ |
H A D | Makefile | 35 MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_open2.3 kvm_open.3 kvm_openfiles.3
|
H A D | kvm.h | 120 kvm_t *kvm_open2
|
H A D | kvm.c | 260 kvm_open2(const char *uf, const char *mf, int flag, char *errout, function
|
Completed in 108 milliseconds