Symbol: O_PATH
sys/compat/linux/linux_file.c
152
bsd_flags |= O_PATH;
sys/kern/vfs_syscalls.c
1095
if (flags & O_PATH)
sys/kern/vfs_syscalls.c
1177
if ((flags & O_PATH) != 0) {
sys/kern/vfs_syscalls.c
1206
KASSERT(vp->v_type != VFIFO || (flags & O_PATH) != 0,
sys/kern/vfs_syscalls.c
1208
if ((flags & O_PATH) != 0) {
sys/kern/vfs_syscalls.c
1272
MPASS((flags & O_PATH) == 0);
sys/kern/vfs_vnops.c
441
KASSERT((fmode & O_PATH) == 0 || (fmode & O_ACCMODE) == 0,
sys/kern/vfs_vnops.c
445
if ((fmode & O_PATH) == 0 || (fmode & FEXEC) != 0)
sys/kern/vfs_vnops.c
452
if ((fmode & O_PATH) == 0) {
sys/kern/vfs_vnops.c
485
if ((fmode & O_PATH) != 0) {
sys/sys/fcntl.h
178
(((fflags) & (O_EXEC | O_PATH)) != 0 ? (fflags) : (fflags) - 1)
sys/sys/fcntl.h
182
O_DIRECT|FEXEC|O_PATH)
tests/sys/capsicum/capability-fd.cc
943
DirOperationsTest(O_PATH);
tests/sys/file/path_test.c
116
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
145
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
179
if (open(path, O_PATH) >= 0)
tests/sys/file/path_test.c
183
if (open("/usr/bin/true", O_PATH | O_EXEC) >= 0)
tests/sys/file/path_test.c
195
truefd = open("/usr/bin/true", O_PATH | O_EXEC);
tests/sys/file/path_test.c
224
pathdfd = open(".", O_PATH);
tests/sys/file/path_test.c
226
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
303
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
337
pathfd = open(path, O_PATH | O_DIRECTORY);
tests/sys/file/path_test.c
378
pathfd = open(path, O_PATH | O_DIRECTORY);
tests/sys/file/path_test.c
403
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
436
pathfd = open("/dev/null", O_PATH);
tests/sys/file/path_test.c
468
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
498
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
557
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
563
ATF_REQUIRE_MSG((flags & O_PATH) != 0, "O_PATH not set");
tests/sys/file/path_test.c
566
fcntl(pathfd, F_SETFL, flags & ~O_PATH));
tests/sys/file/path_test.c
575
ATF_REQUIRE_MSG((flags & O_PATH) != 0, "O_PATH not set");
tests/sys/file/path_test.c
583
ATF_REQUIRE_MSG((flags & O_PATH) != 0, "O_PATH not set");
tests/sys/file/path_test.c
606
pathfd = open("/usr/bin/true", O_PATH | O_EXEC);
tests/sys/file/path_test.c
626
pathfd = open(path, O_PATH | O_EXEC);
tests/sys/file/path_test.c
643
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
667
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
690
pathfd = open(path, O_PATH | O_CREAT, 0600);
tests/sys/file/path_test.c
699
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
781
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
793
pathfd = open("/dev/mem", O_PATH);
tests/sys/file/path_test.c
817
pathfd = open(path, O_PATH | O_EXLOCK);
tests/sys/file/path_test.c
878
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
919
ATF_REQUIRE_MSG((flags & O_PATH) != 0, "O_PATH is not set");
tests/sys/file/path_test.c
953
pathfd = open(path, O_PATH);
tests/sys/file/path_test.c
993
pathfd = open(path, O_PATH);
tests/sys/kern/inotify_test.c
810
fd = open(path, O_PATH);
usr.bin/calendar/io.c
126
cwdfd = open(".", O_DIRECTORY | O_PATH);
usr.bin/runat/runat.c
43
flags = O_RDONLY | O_CLOEXEC | O_PATH;
usr.sbin/bhyveload/bhyveload.c
753
hostbase_fd = open(base, O_DIRECTORY | O_PATH);
usr.sbin/bhyveload/bhyveload.c
880
bootfd = open("/boot", O_DIRECTORY | O_PATH);