/openbmc/qemu/hw/9pfs/ |
H A D | 9p-util-darwin.c | 19 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 D | 9p-util.h | 149 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 D | 9p-local.c | 360 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 D | CVE-2019-13636.patch | 8 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 D | commonio.c-fix-unexpected-open-failure-in-chroot-env.patch | 32 - | 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 D | fcntl.h | 56 #ifndef O_NOFOLLOW 57 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | fcntl.h | 56 #ifndef O_NOFOLLOW 57 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
|
/openbmc/linux/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 366 .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 D | openat2_test.c | 180 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/openbmc/linux/arch/arm/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/openbmc/linux/arch/m68k/include/uapi/asm/ |
H A D | fcntl.h | 6 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/openbmc/linux/arch/arm64/include/uapi/asm/ |
H A D | fcntl.h | 24 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | fcntl.h | 18 #define O_NOFOLLOW 000000200 /* don't follow links */ macro
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 14 #define O_NOFOLLOW 0200000 /* don't follow links */ macro
|
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | 183 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 D | fcntl.h | 12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/ |
H A D | 0001-musl-Define-O_LARGEFILE-for-riscv32.patch | 19 pub const O_NOFOLLOW: ::c_int = 131072;
|
/openbmc/linux/include/trace/misc/ |
H A D | fs.h | 38 { O_NOFOLLOW, "O_NOFOLLOW" }, \
|
/openbmc/openbmc/meta-security/recipes-scanners/clamav/files/ |
H A D | oe_cmake_fixup.patch | 24 … # 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 D | binderfs_test.c | 257 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 D | move_mount_set_group_test.c | 64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
/openbmc/linux/fs/ |
H A D | open.c | 1201 #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 D | dev-mtp.c | 620 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 D | cgroup_util.c | 413 return open(dir, O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW | O_PATH); in dirfd_open_opath()
|