Home
last modified time | relevance | path

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

12

/external/bison/m4/
Dfcntl-o.m49 # Test whether the flags O_NOATIME and O_NOFOLLOW actually work.
11 # Define HAVE_WORKING_O_NOFOLLOW to 1 if O_NOFOLLOW works, or to 0 otherwise.
14 dnl Persuade glibc <fcntl.h> to define O_NOATIME and O_NOFOLLOW.
39 #ifndef O_NOFOLLOW
40 #define O_NOFOLLOW 0
57 int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
68 int fd = open (sym, O_RDONLY | O_NOFOLLOW);
114 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
116 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
129 *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
[all …]
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h55 #ifndef O_NOFOLLOW
56 #define O_NOFOLLOW 00400000 /* don't follow links */ macro
/external/bison/lib/
Dlocalcharset.c80 #ifndef O_NOFOLLOW
81 # define O_NOFOLLOW 0 macro
166 O_RDONLY | (HAVE_WORKING_O_NOFOLLOW ? O_NOFOLLOW : 0)); in get_charset_aliases()
Dfcntl.in.h252 #ifndef O_NOFOLLOW
253 # define O_NOFOLLOW 0
/external/libbrillo/brillo/
Dfile_utils.cc63 AT_FDCWD, path.value().c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); in RegularFileOrDelete()
118 O_RDONLY | O_NOFOLLOW | O_CREAT | O_EXCL | O_CLOEXEC, in TouchFileInternal()
Dprocess.cc252 output_file_.c_str(), O_CREAT | O_WRONLY | O_TRUNC | O_NOFOLLOW, in Start()
/external/strace/xlat/
Dopen_mode_flags.h57 #if defined(O_NOFOLLOW) || (defined(HAVE_DECL_O_NOFOLLOW) && HAVE_DECL_O_NOFOLLOW)
58 XLAT(O_NOFOLLOW),
Dopen_mode_flags.in18 O_NOFOLLOW
/external/toybox/lib/
Dportability.h238 #ifndef O_NOFOLLOW
239 #define O_NOFOLLOW 0 macro
/external/kernel-headers/original/uapi/asm-arm64/asm/
Dfcntl.h23 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/external/kernel-headers/original/uapi/asm-arm/asm/
Dfcntl.h5 #define O_NOFOLLOW 0100000 /* don't follow links */ macro
/external/toybox/toys/posix/
Dcpio.c153 int fd = test ? 0 : open(name, O_CREAT|O_WRONLY|O_TRUNC|O_NOFOLLOW, mode); in cpio_main()
194 int fd = open(name, O_RDONLY|O_NOFOLLOW); in cpio_main()
Dcp.c226 if (-1 != (try->extra = openat(cfd, catch, O_NOFOLLOW))) in cp_node()
/external/bison/linux-lib/
Dfcntl.h564 #ifndef O_NOFOLLOW
565 # define O_NOFOLLOW 0 macro
/external/bison/darwin-lib/
Dfcntl.h564 #ifndef O_NOFOLLOW
565 # define O_NOFOLLOW 0 macro
/external/tlsdate/src/
Dutil.c317 oflags |= O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC; in file_open()
323 oflags |= O_RDONLY | O_NOFOLLOW; in file_open()
Dtlsdate-setter.c86 O_WRONLY | O_CREAT | O_NOFOLLOW | O_CLOEXEC, in time_setter_coprocess()
/external/selinux/policycoreutils/restorecond/
Drestorecond.c100 pidfd = open(pidfile, O_CREAT | O_TRUNC | O_NOFOLLOW | O_WRONLY, 0644); in write_pid_file()
Duser.c205 local_lock_fd = open(ptr, O_CREAT | O_WRONLY | O_NOFOLLOW | O_CLOEXEC, S_IRUSR | S_IWUSR); in local_server()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_file_permission.cc184 O_NOCTTY | O_NOFOLLOW | O_NONBLOCK | O_NDELAY | in CheckOpen()
Dbroker_file_permission_unittest.cc145 case O_NOFOLLOW: in CheckPerm()
/external/libcap-ng/libcap-ng-0.7/utils/
Dfilecap.c172 int fd = open(path, O_WRONLY|O_NOFOLLOW|O_CLOEXEC); in main()
/external/libselinux/src/
Dandroid.c93 fd_base = open(POLICY_BASE_VERSION, O_RDONLY | O_NOFOLLOW); in set_policy_index()
100 fd_override = open(POLICY_OVERRIDE_VERSION, O_RDONLY | O_NOFOLLOW); in set_policy_index()
980 fd = open(opts[policy_index].value, O_CLOEXEC | O_RDONLY | O_NOFOLLOW); in compute_contexts_hash()
1556 fd = open(sepolicy_file[policy_index], O_RDONLY | O_NOFOLLOW); in selinux_android_load_policy_helper()
/external/iproute2/misc/
Drtacct.c547 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()
Dnstat.c621 fd = open(hist_name, O_RDWR|O_CREAT|O_NOFOLLOW, 0600); in main()

12