Home
last modified time | relevance | path

Searched refs:O_NOFOLLOW (Results 1 – 24 of 24) sorted by relevance

/linux-5.19.10/tools/include/uapi/asm-generic/
Dfcntl.h56 #ifndef O_NOFOLLOW
57 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
/linux-5.19.10/include/uapi/asm-generic/
Dfcntl.h56 #ifndef O_NOFOLLOW
57 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
/linux-5.19.10/tools/testing/selftests/openat2/
Dresolve_test.c366 .path = "/proc/self/exe", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
376 .path = "/proc/self/root/etc", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
418 .path = "relsym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
422 .path = "abssym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
426 .path = "cheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
430 .path = "abscheeky/absself", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
434 .path = "abscheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
Dopenat2_test.c179 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
/linux-5.19.10/arch/arm/include/uapi/asm/
Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/linux-5.19.10/arch/powerpc/include/uapi/asm/
Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/linux-5.19.10/arch/arm64/include/uapi/asm/
Dfcntl.h24 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/linux-5.19.10/arch/m68k/include/uapi/asm/
Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/linux-5.19.10/arch/parisc/include/uapi/asm/
Dfcntl.h18 #define O_NOFOLLOW 000000200 /* don't follow links */ macro
/linux-5.19.10/tools/testing/selftests/landlock/
Dbase_test.c182 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
205 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
294 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
/linux-5.19.10/arch/alpha/include/uapi/asm/
Dfcntl.h14 #define O_NOFOLLOW 0200000 /* don't follow links */ macro
/linux-5.19.10/include/linux/
Dfcntl.h12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
/linux-5.19.10/include/trace/events/
Dfs.h38 { O_NOFOLLOW, "O_NOFOLLOW" }, \
/linux-5.19.10/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c257 setgroups_fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); in write_id_mapping()
282 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOFOLLOW); in write_id_mapping()
/linux-5.19.10/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux-5.19.10/fs/
Dopen.c1068 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC)
1175 flags |= O_NOFOLLOW; in build_open_flags()
1181 if (!(flags & O_NOFOLLOW)) in build_open_flags()
Dcoredump.c643 int open_flags = O_CREAT | O_RDWR | O_NOFOLLOW | in do_coredump()
/linux-5.19.10/tools/testing/selftests/cgroup/
Dcgroup_util.c409 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
/linux-5.19.10/fs/9p/
Dvfs_inode_dotl.c182 { O_NOFOLLOW, P9_DOTL_NOFOLLOW }, in v9fs_mapped_dotl_flags()
/linux-5.19.10/tools/vm/
Dpage-types.c1055 fd = checked_open(name, O_RDONLY|O_NOATIME|O_NOFOLLOW); in walk_file()
/linux-5.19.10/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c182 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux-5.19.10/fs/ceph/
Dfile.c46 ceph_sys2wire(O_NOFOLLOW); in ceph_flags_sys2wire()
/linux-5.19.10/fs/nfs/
Ddir.c2118 if (!(open_flags & O_NOFOLLOW)) in nfs_atomic_open()
/linux-5.19.10/fs/cifs/
Dfile.c81 if (flags & O_NOFOLLOW) in cifs_posix_convert_flags()