Home
last modified time | relevance | path

Searched refs:close_fds (Results 1 - 25 of 26) sorted by relevance

12

/third_party/python/Modules/
H A D_posixsubprocess.c559 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 Dpstream-util.c74 /* @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 Dpstream-util.h30 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 Dwebbrowser.py181 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 Dsubprocess.py768 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 Dimaplib.py1370 shell=True, close_fds=True)
/third_party/ltp/testcases/kernel/logging/kmsg/
H A Dkmsg01.c487 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 Dtest_subprocess.py347 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 Dtest_subprocess.py1962 # 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 Dtest_cmd_line_script.py780 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 Dpopen_forkserver.py55 self.finalizer = util.Finalize(self, util.close_fds,
H A Dpopen_spawn_posix.py68 self.finalizer = util.Finalize(self, util.close_fds, fds_to_close)
H A Dpopen_fork.py77 self.finalizer = util.Finalize(self, util.close_fds,
H A Dutil.py463 def close_fds(*fds): function
/third_party/littlefs/scripts/
H A Dbench.py586 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 Dcode.py175 close_fds=False)
206 close_fds=False)
247 close_fds=False)
H A Ddata.py175 close_fds=False)
206 close_fds=False)
247 close_fds=False)
H A Dperf.py188 err = sp.call(perf + command, close_fds=False)
275 close_fds=False)
324 close_fds=False)
422 close_fds=False)
H A Dstructs.py163 close_fds=False)
204 close_fds=False)
H A Dtest.py603 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 Dwatch.py167 close_fds=False)
H A Dperfbd.py183 close_fds=False)
232 close_fds=False)
H A Dcov.py230 close_fds=False)
/third_party/icu/tools/scripts/
H A Duconfig_vars_test.py44 stderr=subprocess.STDOUT, close_fds=True)
/third_party/python/Lib/test/libregrtest/
H A Druntest_mp.py79 close_fds=(os.name != 'nt'),

Completed in 27 milliseconds

12