/third_party/python/Modules/ |
H A D | _posixsubprocess.c | 559 int close_fds, int restore_signals, in child_exec() 693 if (close_fds) { in child_exec() 763 int close_fds, int restore_signals, in do_fork_exec() 817 close_fds, restore_signals, call_setsid, pgid_to_set, in do_fork_exec() 838 int errpipe_read, errpipe_write, close_fds, restore_signals; in subprocess_fork_exec() local 859 &close_fds, &PyTuple_Type, &py_fds_to_keep, in subprocess_fork_exec() 875 if (close_fds && errpipe_write < 3) { /* precondition */ in subprocess_fork_exec() 1077 close_fds, restore_signals, call_setsid, pgid_to_set, in subprocess_fork_exec() 1144 "fork_exec(args, executable_list, close_fds, pass_fds, cwd, env,\n\ 1155 If close_fds i 551 child_exec(char *const exec_array[], char *const argv[], char *const envp[], const char *cwd, int p2cread, int p2cwrite, int c2pread, int c2pwrite, int errread, int errwrite, int errpipe_read, int errpipe_write, int close_fds, int restore_signals, int call_setsid, pid_t pgid_to_set, int call_setgid, gid_t gid, int call_setgroups, size_t groups_size, const gid_t *groups, int call_setuid, uid_t uid, int child_umask, const void *child_sigmask, int *fds_to_keep, Py_ssize_t fds_to_keep_len, PyObject *preexec_fn, PyObject *preexec_fn_args_tuple) child_exec() argument 755 do_fork_exec(char *const exec_array[], char *const argv[], char *const envp[], const char *cwd, int p2cread, int p2cwrite, int c2pread, int c2pwrite, int errread, int errwrite, int errpipe_read, int errpipe_write, int close_fds, int restore_signals, int call_setsid, pid_t pgid_to_set, int call_setgid, gid_t gid, int call_setgroups, size_t groups_size, const gid_t *groups, int call_setuid, uid_t uid, int child_umask, const void *child_sigmask, int *fds_to_keep, Py_ssize_t fds_to_keep_len, PyObject *preexec_fn, PyObject *preexec_fn_args_tuple) do_fork_exec() argument [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | pstream-util.c | 74 /* @close_fds: If set then the pstreams code, after invoking a sendmsg(), 82 bool close_fds) { in pa_pstream_send_tagstruct_with_fds() 88 a.close_fds_on_cleanup = close_fds; in pa_pstream_send_tagstruct_with_fds() 104 bool close_fds) { in pa_pstream_send_tagstruct_with_fds() 81 pa_pstream_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, const int *fds, bool close_fds) pa_pstream_send_tagstruct_with_fds() argument 103 pa_pstream_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, const int *fds, bool close_fds) pa_pstream_send_tagstruct_with_fds() argument
|
H A D | pstream-util.h | 30 void pa_pstream_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, const int *fds, bool close_fds);
|
/third_party/python/Lib/ |
H A D | webbrowser.py | 181 p = subprocess.Popen(cmdline, close_fds=True) 199 p = subprocess.Popen(cmdline, close_fds=True, 238 p = subprocess.Popen(cmdline, close_fds=True, stdin=inout, 371 close_fds=True, stdin=devnull, 383 close_fds=True, stdin=devnull, 396 close_fds=True, stdin=devnull,
|
H A D | subprocess.py | 768 close_fds: Controls closing or inheriting of file descriptors. 809 preexec_fn=None, close_fds=True, 848 if pass_fds and not close_fds: 849 warnings.warn("pass_fds overriding close_fds.", RuntimeWarning) 850 close_fds = True 1026 self._execute_child(args, executable, preexec_fn, close_fds, 1436 def _execute_child(self, args, executable, preexec_fn, close_fds, 1488 if have_handle_list or (use_std_handles and close_fds): 1500 if not close_fds: 1502 "overriding close_fds", RuntimeWarnin [all...] |
H A D | imaplib.py | 1370 shell=True, close_fds=True)
|
/third_party/ltp/testcases/kernel/logging/kmsg/ |
H A D | kmsg01.c | 487 goto close_fds; in test_seek() 492 goto close_fds; in test_seek() 496 goto close_fds; in test_seek() 499 goto close_fds; in test_seek() 502 close_fds: in test_seek()
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_subprocess.py | 347 close_fds=False, 366 close_fds=False, 385 close_fds=False, 404 close_fds=False, 423 close_fds=False, 443 close_fds=False,
|
/third_party/python/Lib/test/ |
H A D | test_subprocess.py | 1962 # posix_spawn() may be used with close_fds=False 1963 for close_fds in (False, True): 1964 with self.subTest(user=user, close_fds=close_fds): 1970 close_fds=close_fds) 2010 # posix_spawn() may be used with close_fds=False 2011 for close_fds in (False, True): 2012 with self.subTest(group=group, close_fds=close_fds) [all...] |
H A D | test_cmd_line_script.py | 780 p = spawn_python(f"/dev/fd/{fp.fileno()}", close_fds=False, pass_fds=(0,1,2,fp.fileno()))
|
/third_party/python/Lib/multiprocessing/ |
H A D | popen_forkserver.py | 55 self.finalizer = util.Finalize(self, util.close_fds,
|
H A D | popen_spawn_posix.py | 68 self.finalizer = util.Finalize(self, util.close_fds, fds_to_close)
|
H A D | popen_fork.py | 77 self.finalizer = util.Finalize(self, util.close_fds,
|
H A D | util.py | 463 def close_fds(*fds): function
|
/third_party/littlefs/scripts/ |
H A D | bench.py | 586 close_fds=False) 616 close_fds=False) 660 close_fds=False) 690 close_fds=False) 796 proc = sp.Popen(cmd, stdout=spty, stderr=spty, close_fds=False)
|
H A D | code.py | 175 close_fds=False) 206 close_fds=False) 247 close_fds=False)
|
H A D | data.py | 175 close_fds=False) 206 close_fds=False) 247 close_fds=False)
|
H A D | perf.py | 188 err = sp.call(perf + command, close_fds=False) 275 close_fds=False) 324 close_fds=False) 422 close_fds=False)
|
H A D | structs.py | 163 close_fds=False) 204 close_fds=False)
|
H A D | test.py | 603 close_fds=False) 633 close_fds=False) 677 close_fds=False) 707 close_fds=False) 806 proc = sp.Popen(cmd, stdout=spty, stderr=spty, close_fds=False)
|
H A D | watch.py | 167 close_fds=False)
|
H A D | perfbd.py | 183 close_fds=False) 232 close_fds=False)
|
H A D | cov.py | 230 close_fds=False)
|
/third_party/icu/tools/scripts/ |
H A D | uconfig_vars_test.py | 44 stderr=subprocess.STDOUT, close_fds=True)
|
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest_mp.py | 79 close_fds=(os.name != 'nt'),
|