/external/kernel-headers/original/uapi/asm-arm/asm/ |
H A D | fcntl.h | 5 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
H A D | fcntl.h | 23 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
|
/external/libcups/cups/ |
H A D | tempfile.c | 121 #elif defined(O_NOFOLLOW) 122 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600);
|
/external/ltp/testcases/kernel/syscalls/open/ |
H A D | open07.c | 31 * 1. Create a symbolic link to a file, and call open(O_NOFOLLOW). Check 34 * 2. Create a symbolic link to a directory, and call open(O_NOFOLLOW). 37 * 3. Create a symbolic link to a symbolic link, and call open(O_NOFOLLOW). 41 * open(O_NOFOLLOW). Check that it returns ELOOP. 44 * open("link/", O_NOFOLLOW). Check that it succeeds. 61 #define _GNU_SOURCE /* for O_NOFOLLOW */ 91 O_NOFOLLOW, 00700, setupfunc_test1, ELOOP}, 93 O_NOFOLLOW, 00700, setupfunc_test2, ELOOP}, 95 O_NOFOLLOW, 00700, setupfunc_test3, ELOOP}, 97 O_NOFOLLOW, 0070 [all...] |
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | fcntl.h | 55 #ifndef O_NOFOLLOW 56 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
|
/external/libbrillo/brillo/ |
H A D | file_utils.cc | 60 // Check for symlinks by setting O_NOFOLLOW and checking for ELOOP. This lets 63 AT_FDCWD, path.value().c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); 118 O_RDONLY | O_NOFOLLOW | O_CREAT | O_EXCL | O_CLOEXEC,
|
H A D | process.cc | 262 output_file_.c_str(), O_CREAT | O_WRONLY | O_TRUNC | O_NOFOLLOW,
|
/external/strace/xlat/ |
H A D | open_mode_flags.h | 57 #if defined(O_NOFOLLOW) || (defined(HAVE_DECL_O_NOFOLLOW) && HAVE_DECL_O_NOFOLLOW) 58 XLAT(O_NOFOLLOW),
|
/external/bison/lib/ |
H A D | fcntl.in.h | 252 #ifndef O_NOFOLLOW 253 # define O_NOFOLLOW 0
|
H A D | localcharset.c | 79 /* Define O_NOFOLLOW to 0 on platforms where it does not exist. */ 80 #ifndef O_NOFOLLOW 81 # define O_NOFOLLOW 0 macro 159 O_NOFOLLOW. This is a security feature. Without it, an attacker 166 O_RDONLY | (HAVE_WORKING_O_NOFOLLOW ? O_NOFOLLOW : 0));
|
/external/ltp/lib/ |
H A D | rmobj.c | 107 fd = open(obj, O_DIRECTORY | O_NOFOLLOW);
|
/external/libchrome/sandbox/linux/syscall_broker/ |
H A D | broker_file_permission.cc | 184 O_NOCTTY | O_NOFOLLOW | O_NONBLOCK | O_NDELAY |
|
H A D | broker_file_permission_unittest.cc | 145 case O_NOFOLLOW:
|
/external/selinux/restorecond/ |
H A D | restorecond.c | 100 pidfd = open(pidfile, O_CREAT | O_TRUNC | O_NOFOLLOW | O_WRONLY, 0644);
|
H A D | user.c | 205 local_lock_fd = open(ptr, O_CREAT | O_WRONLY | O_NOFOLLOW | O_CLOEXEC, S_IRUSR | S_IWUSR);
|
/external/toybox/lib/ |
H A D | portability.h | 235 // Some systems don't define O_NOFOLLOW, and it varies by architecture, so... 237 #ifndef O_NOFOLLOW 238 #define O_NOFOLLOW 0 macro
|
/external/toybox/toys/posix/ |
H A D | cpio.c | 154 int fd = test ? 0 : open(name, O_CREAT|O_WRONLY|O_TRUNC|O_NOFOLLOW, mode); 195 int fd = open(name, O_RDONLY|O_NOFOLLOW);
|
H A D | cp.c | 209 if (-1 != (try->extra = openat(cfd, catch, O_NOFOLLOW)))
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
H A D | filecap.c | 172 int fd = open(path, O_WRONLY|O_NOFOLLOW|O_CLOEXEC);
|
/external/ltp/testcases/kernel/syscalls/openat/ |
H A D | openat02.c | 31 * symbolic link, when 'flags' is set to O_NOFOLLOW. 267 TEST(openat(AT_FDCWD, SFILE, O_NOFOLLOW | O_RDONLY, 0777)); 270 tst_resm(TPASS, "test O_NOFOLLOW for openat success"); 272 tst_resm(TFAIL, "test O_NOFOLLOW for openat failed");
|
/external/bison/darwin-lib/ |
H A D | fcntl.h | 564 #ifndef O_NOFOLLOW 565 # define O_NOFOLLOW 0 macro
|
/external/bison/linux-lib/ |
H A D | fcntl.h | 564 #ifndef O_NOFOLLOW 565 # define O_NOFOLLOW 0 macro
|
/external/libchrome/base/memory/ |
H A D | shared_memory_posix.cc | 241 // is opened, so O_NOFOLLOW is passed to open(). 243 open(path.value().c_str(), O_RDWR | O_APPEND | O_NOFOLLOW));
|
/external/ImageMagick/MagickCore/ |
H A D | resource.c | 481 #if !defined(O_NOFOLLOW) 482 #define O_NOFOLLOW 0 555 file=open_utf8(path,O_RDWR | O_CREAT | O_EXCL | O_BINARY | O_NOFOLLOW, 476 #define O_NOFOLLOW macro
|
/external/iproute2/misc/ |
H A D | rtacct.c | 547 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600);
|