Home
last modified time | relevance | path

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

12

/openbmc/qemu/hw/9pfs/
H A D9p-util-darwin.c19 O_RDONLY | O_PATH_9P_UTIL | O_NOFOLLOW, 0); in fgetxattrat_nofollow()
33 O_RDONLY | O_PATH_9P_UTIL | O_NOFOLLOW, 0); in flistxattrat_nofollow()
46 int fd = openat_file(dirfd, filename, O_PATH_9P_UTIL | O_NOFOLLOW, 0); in fremovexattrat_nofollow()
59 int fd = openat_file(dirfd, filename, O_PATH_9P_UTIL | O_NOFOLLOW, 0); in fsetxattrat_nofollow()
H A D9p-util.h149 O_DIRECTORY | O_RDONLY | O_NOFOLLOW | O_PATH_9P_UTIL); in openat_dir()
160 fd = qemu_openat(dirfd, name, flags | O_NOFOLLOW | O_NOCTTY | O_NONBLOCK, in openat_file()
H A D9p-local.c360 fd = openat_file(dirfd, name, O_RDONLY | O_PATH_9P_UTIL | O_NOFOLLOW, 0); in fchmodat_nofollow()
830 flags |= O_NOFOLLOW; in local_open2()
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/
H A DCVE-2019-13636.patch8 the O_NOFOLLOW flag to avoid following symlinks. So far, we were only doing
36 + flags |= O_NOFOLLOW;
55 + flags |= O_NOFOLLOW;
83 + from_flags |= O_NOFOLLOW;
93 + to_flags |= O_NOFOLLOW;
106 + to_flags |= O_NOFOLLOW;
/openbmc/openbmc/poky/meta/recipes-extended/shadow/files/
H A Dcommonio.c-fix-unexpected-open-failure-in-chroot-env.patch32 - | O_NOCTTY | O_NONBLOCK | O_NOFOLLOW | O_CLOEXEC);
37 + | O_NOCTTY | O_NONBLOCK | O_NOFOLLOW | O_CLOEXEC);
42 + | O_NOCTTY | O_NONBLOCK | O_NOFOLLOW| O_CLOEXEC);
/openbmc/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h56 #ifndef O_NOFOLLOW
57 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
/openbmc/linux/include/uapi/asm-generic/
H A Dfcntl.h56 #ifndef O_NOFOLLOW
57 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
/openbmc/linux/tools/testing/selftests/openat2/
H A 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()
H A Dopenat2_test.c180 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
/openbmc/linux/arch/powerpc/include/uapi/asm/
H A Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/openbmc/linux/arch/arm/include/uapi/asm/
H A Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/openbmc/linux/arch/m68k/include/uapi/asm/
H A Dfcntl.h6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/openbmc/linux/arch/arm64/include/uapi/asm/
H A Dfcntl.h24 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/openbmc/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h18 #define O_NOFOLLOW 000000200 /* don't follow links */ macro
/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h14 #define O_NOFOLLOW 0200000 /* don't follow links */ macro
/openbmc/linux/tools/testing/selftests/landlock/
H A Dbase_test.c183 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
206 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
278 open("/tmp", O_PATH | O_NOFOLLOW | O_DIRECTORY | O_CLOEXEC); in TEST()
/openbmc/linux/include/linux/
H A Dfcntl.h12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-musl-Define-O_LARGEFILE-for-riscv32.patch19 pub const O_NOFOLLOW: ::c_int = 131072;
/openbmc/linux/include/trace/misc/
H A Dfs.h38 { O_NOFOLLOW, "O_NOFOLLOW" }, \
/openbmc/openbmc/meta-security/recipes-scanners/clamav/files/
H A Doe_cmake_fixup.patch24 … # Set _GNU_SOURCE for O_LARGEFILE, O_CLOEXEC, O_DIRECTORY, O_NOFOLLOW, etc flags on older systems
/openbmc/linux/tools/testing/selftests/filesystems/binderfs/
H A 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()
/openbmc/linux/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/openbmc/linux/fs/
H A Dopen.c1201 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC)
1316 flags |= O_NOFOLLOW; in build_open_flags()
1322 if (!(flags & O_NOFOLLOW)) in build_open_flags()
/openbmc/qemu/hw/usb/
H A Ddev-mtp.c620 fd = open(o->path, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW); in usb_mtp_object_readdir()
976 d->fd = open(o->path, O_RDONLY | O_CLOEXEC | O_NOFOLLOW); in usb_mtp_get_object()
1000 d->fd = open(o->path, O_RDONLY | O_CLOEXEC | O_NOFOLLOW); in usb_mtp_get_partial_object()
1637 O_CLOEXEC | O_NOFOLLOW, mask & 0666); in usb_mtp_write_data()
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dcgroup_util.c413 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()

12