Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 25 of 196) sorted by relevance

12345678

/external/libmicrohttpd/src/testspdy/
Dtest_proxies.c110 devnull = open("/dev/null", O_WRONLY); in main()
135 devnull = open("/dev/null", O_WRONLY); in main()
161 devnull = open("/dev/null", O_WRONLY); in main()
190 devnull = open("/dev/null", O_WRONLY); in main()
Dtest_session_timeout.c287 devnull = open("/dev/null", O_WRONLY); in childproc()
295 devnull = open("/dev/null", O_WRONLY); in childproc()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_file_permission_unittest.cc95 ASSERT_FALSE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
100 case O_WRONLY: in CheckPerm()
102 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
109 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
193 CheckPerm(perm, kPath, O_WRONLY, false); in TEST()
Dbroker_file_permission.cc143 if (access_mode != O_RDONLY && access_mode != O_WRONLY && in CheckOpen()
154 if (!allow_write_ && (access_mode == O_WRONLY || access_mode == O_RDWR)) { in CheckOpen()
Dbroker_process_unittest.cc104 fd = open_broker.Open(kR_WhiteListed, O_WRONLY); in TestOpenFilePerms()
130 fd = open_broker.Open(kR_WhiteListedButDenied, O_WRONLY); in TestOpenFilePerms()
151 fd = open_broker.Open(kW_WhiteListed, O_WRONLY); in TestOpenFilePerms()
170 fd = open_broker.Open(kRW_WhiteListed, O_WRONLY); in TestOpenFilePerms()
189 fd = open_broker.Open(k_NotWhitelisted, O_WRONLY); in TestOpenFilePerms()
207 fd = open_broker.Open(kRW_WhiteListed, O_RDONLY | O_WRONLY | O_RDWR); in TestOpenFilePerms()
/external/strace/xlat/
Dopen_access_modes.h9 #if defined(O_WRONLY) || (defined(HAVE_DECL_O_WRONLY) && HAVE_DECL_O_WRONLY)
10 XLAT(O_WRONLY),
Dopen_access_modes.in2 O_WRONLY
Dopenmodessol.in3 { 2, "O_WRONLY" },
/external/toybox/toys/posix/
Dnohup.c27 if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY, in nohup_main()
33 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600); in nohup_main()
/external/libchrome/sandbox/linux/suid/
Dprocess_util_linux.c55 int fd = openat(dirfd, "oom_score_adj", O_WRONLY); in AdjustOOMScore()
59 fd = openat(dirfd, "oom_adj", O_WRONLY); in AdjustOOMScore()
/external/libchrome/sandbox/linux/services/
Dnamespace_utils.cc40 int fd = HANDLE_EINTR(open(map_file, O_WRONLY)); in WriteToIdMapFile()
106 int fd = HANDLE_EINTR(open(kProcSelfSetgroups, O_WRONLY)); in DenySetgroups()
/external/toybox/toys/other/
Dnsenter.c82 int bytes = sprintf(toybuf, "0 %u 1", eugid), fd = xopen(map, O_WRONLY);
92 if ((fd = open("/proc/self/setgroups", O_WRONLY)) >= 0) { in handle_r()
/external/vboot_reference/futility/
Dfutility.c92 log_fd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666); in log_open()
94 log_fd = open(LOGFILE, O_WRONLY | O_APPEND); in log_open()
103 log_fd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666); in log_open()
/external/valgrind/coregrind/
Dvgdb-invoker-solaris.c96 int as_fd = open(procname, O_WRONLY, 0); in write_memory()
135 ctl_fd = open(procname, O_WRONLY, 0); in attach()
416 int agent_ctl_fd = open(procname, O_WRONLY, 0); in invoke_agent()
452 int agent_ctl_fd = open(procname, O_WRONLY, 0); in wait_for_agent_exit()
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.cc159 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout()
174 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/external/bison/lib/
Dfcntl.in.h284 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
286 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
/external/toybox/toys/pending/
Dbootchartd.c161 O_WRONLY | O_CREAT | O_TRUNC, 0644); in start_logging()
163 O_WRONLY | O_CREAT | O_TRUNC, 0644); in start_logging()
169 int kp_fd = xcreate("kernel_procs_acct", O_WRONLY | O_CREAT | O_TRUNC,0666); in start_logging()
/external/valgrind/memcheck/tests/
Dfwrite.c8 int fd = open("/dev/null", O_WRONLY); in main()
/external/e2fsprogs/e2fsck/
Dlogfile.c251 fd = open(s0, O_WRONLY|O_CREAT|O_TRUNC, 0644); in save_output()
253 fd = open(s1, O_WRONLY|O_CREAT|O_TRUNC, 0644); in save_output()
255 fd = open(s2, O_WRONLY|O_CREAT|O_TRUNC, 0644); in save_output()
/external/libselinux/src/
Dbooleans.c181 fd = open(fname, O_WRONLY); in hidden_def()
217 fd = open(path, O_WRONLY); in hidden_def()
Ddisable.c24 fd = open(path, O_WRONLY); in security_disable()
/external/selinux/libselinux/src/
Ddisable.c24 fd = open(path, O_WRONLY); in security_disable()
/external/autotest/client/site_tests/security_Minijail_seccomp/
Dpolicy-wronly5 # O_WRONLY
/external/bison/m4/
Dfcntl-o.m445 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
57 int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
/external/bison/djgpp/
Dsubpipe.c151 from_in_fd = open(tmp_file_name[0], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); in create_subpipe()
182 …int to_in_fd = open(tmp_file_name[1], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); /* pipe from m4 to … in end_of_output_subpipe()

12345678