/third_party/ltp/testcases/kernel/syscalls/capset/ |
D | capset02.c | 41 int inheritable; member 63 data->inheritable = tc->inheritable; in verify_capset() 83 data->inheritable = CAP1; in setup()
|
D | capset03.c | 25 data[0].inheritable = CAP2; in verify_capset() 35 data[0].inheritable = CAP1; in setup()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | capset.c | 38 printf("capdata: %x %x %x\n", cap_data.effective, cap_data.permitted, cap_data.inheritable); in capset_0100() 44 cap_data.inheritable = 0; in capset_0100() 51 printf("capdata: %x %x %x\n", cap_data.effective, cap_data.permitted, cap_data.inheritable); in capset_0100()
|
D | capget.c | 41 …f("Cap data 0x%x, 0x%x, 0x%x \n", cap_data->effective, cap_data->permitted, cap_data->inheritable); in capget_0100()
|
/third_party/gn/src/gn/ |
D | resolved_target_data.cc | 331 TargetPublicPairListBuilder inheritable; member 342 info->rust_inheritable_libs = rust_libs.inheritable.Build(); in ComputeRustLibs() 369 rust_libs->inheritable.Append(dep, is_public); in ComputeRustLibsFor() 374 rust_libs->inheritable.AppendInherited(dep_info->rust_inheritable_libs, in ComputeRustLibsFor() 381 rust_libs->inheritable.Append(dep, is_public); in ComputeRustLibsFor()
|
/third_party/python/Include/cpython/ |
D | fileutils.h | 152 PyAPI_FUNC(int) _Py_set_inheritable(int fd, int inheritable, 155 PyAPI_FUNC(int) _Py_set_inheritable_async_safe(int fd, int inheritable,
|
/third_party/ltp/testcases/kernel/security/filecaps/ |
D | README | 18 capability set X. The capability sets are I for inheritable, 31 inheritable set using setcap.
|
/third_party/python/Python/ |
D | fileutils.c | 1305 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() argument 1322 assert(!(atomic_flag_works != NULL && inheritable)); in set_inheritable() 1324 if (atomic_flag_works != NULL && !inheritable) { in set_inheritable() 1344 if (inheritable) in set_inheritable() 1369 if (inheritable) in set_inheritable() 1416 if (inheritable) { in set_inheritable() 1463 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() argument 1465 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable() 1472 _Py_set_inheritable_async_safe(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable_async_safe() argument 1474 return set_inheritable(fd, inheritable, 0, atomic_flag_works); in _Py_set_inheritable_async_safe()
|
/third_party/ltp/include/ |
D | tst_capability.h | 31 uint32_t inheritable; member
|
/third_party/python/Lib/ |
D | socket.py | 529 def set_inheritable(self, inheritable): argument 530 os.set_handle_inheritable(self.fileno(), inheritable) 534 def set_inheritable(self, inheritable): argument 535 os.set_inheritable(self.fileno(), inheritable)
|
/third_party/python/Lib/multiprocessing/ |
D | reduction.py | 71 def duplicate(handle, target_process=None, inheritable=False, argument 81 0, inheritable, _winapi.DUPLICATE_SAME_ACCESS)
|
/third_party/python/Doc/library/ |
D | select.rst | 49 The new file descriptor is :ref:`non-inheritable <fd_inheritance>`. 54 The new file descriptor is now non-inheritable. 78 The new file descriptor is :ref:`non-inheritable <fd_inheritance>`. 85 The new file descriptor is now non-inheritable. 89 Use :func:`os.set_inheritable` to make the file descriptor inheritable. 105 The new file descriptor is :ref:`non-inheritable <fd_inheritance>`. 108 The new file descriptor is now non-inheritable.
|
D | os.rst | 824 :ref:`non-inheritable <fd_inheritance>`. 827 2: stderr), the new file descriptor is :ref:`inheritable 831 The new file descriptor is now non-inheritable. 834 .. function:: dup2(fd, fd2, inheritable=True) 837 necessary. Return *fd2*. The new file descriptor is :ref:`inheritable 838 <fd_inheritance>` by default or non-inheritable if *inheritable* 842 Add the optional *inheritable* parameter. 1020 The new file descriptor is :ref:`non-inheritable <fd_inheritance>`. 1033 The new file descriptor is now non-inheritable. 1130 descriptors are :ref:`non-inheritable <fd_inheritance>`. For a (slightly) more [all …]
|
D | socket.rst | 586 The newly created socket is :ref:`non-inheritable <fd_inheritance>`. 598 The returned socket is now non-inheritable. 632 The newly created sockets are :ref:`non-inheritable <fd_inheritance>`. 639 The returned sockets are now non-inheritable. 723 The newly created socket is :ref:`non-inheritable <fd_inheritance>`. 726 The returned socket is now non-inheritable. 1203 The newly created socket is :ref:`non-inheritable <fd_inheritance>`. 1206 The socket is now non-inheritable. 1290 The newly created socket is :ref:`non-inheritable <fd_inheritance>`. 1293 The socket is now non-inheritable. [all …]
|
D | subprocess.rst | 521 when *close_fds* is false, file descriptors obey their inheritable flag 966 The handles must be temporarily made inheritable by 974 that are marked inheritable when combining this feature with 977 standard handle redirection, which temporarily creates inheritable
|
/third_party/musl/porting/liteos_a/user/src/linux/ |
D | cap.c | 222 data_ptr[0].inheritable = ohos_caps_to_linux(capvalue); in linux_capget()
|
/third_party/python/Lib/test/ |
D | test_subprocess.py | 2349 inheritable = os.get_inheritable(fd) 2351 fds.append((fd, saved, inheritable)) 2355 for fd, saved, inheritable in fds: 2356 os.dup2(saved, fd, inheritable=inheritable) 2364 for fd, saved, inheritable in saved_fds: 2885 inheritable, non_inheritable = os.pipe() 2886 self.addCleanup(os.close, inheritable) 2888 os.set_inheritable(inheritable, True) 2890 pass_fds = (inheritable, non_inheritable) 2905 self.assertEqual(os.get_inheritable(inheritable), True)
|
/third_party/python/Modules/clinic/ |
D | posixmodule.c.h | 4633 os_dup2_impl(PyObject *module, int fd, int fd2, int inheritable); 4645 int inheritable = 1; in os_dup2() local 4663 inheritable = PyObject_IsTrue(args[2]); in os_dup2() 4664 if (inheritable < 0) { in os_dup2() 4668 _return_value = os_dup2_impl(module, fd, fd2, inheritable); in os_dup2() 8063 os_set_inheritable_impl(PyObject *module, int fd, int inheritable); 8070 int inheritable; in os_set_inheritable() local 8079 inheritable = _PyLong_AsInt(args[1]); in os_set_inheritable() 8080 if (inheritable == -1 && PyErr_Occurred()) { in os_set_inheritable() 8083 return_value = os_set_inheritable_impl(module, fd, inheritable); in os_set_inheritable() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPC.td | 219 // [ features that Power8 does not support but inheritable ] 221 // [ features that Power8 does not support and not inheritable ]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | os_unix.c | 358 cap.inheritable = 0; in os_program_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | os_unix.c | 366 cap.inheritable = 0; in os_program_init()
|
/third_party/python/Modules/ |
D | posixmodule.c | 9263 os_dup2_impl(PyObject *module, int fd, int fd2, int inheritable) in os_dup2_impl() argument 9295 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl() 9302 if (!inheritable) in os_dup2_impl() 9315 if (!inheritable && dup3_works != 0) { in os_dup2_impl() 9329 if (inheritable || dup3_works == 0) in os_dup2_impl() 9340 if (!inheritable && _Py_set_inheritable(fd2, 0, NULL) < 0) { in os_dup2_impl() 13292 os_set_inheritable_impl(PyObject *module, int fd, int inheritable) in os_set_inheritable_impl() argument 13298 result = _Py_set_inheritable(fd, inheritable, NULL); in os_set_inheritable_impl() 13341 int inheritable) in os_set_handle_inheritable_impl() argument 13344 DWORD flags = inheritable ? HANDLE_FLAG_INHERIT : 0; in os_set_handle_inheritable_impl()
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0b2.rst | 300 POSIX systems when marking file descriptors inheritable on exec in the child
|
D | 3.6.5rc1.rst | 327 POSIX systems when marking file descriptors inheritable on exec in the child
|
/third_party/python/Doc/whatsnew/ |
D | 3.4.rst | 87 * :ref:`Newly created file descriptors are non-inheritable <whatsnew-pep-446>` 136 * :ref:`Make newly created file descriptors non-inheritable <whatsnew-pep-446>` 144 all of the parent's inheritable handles, only the necessary ones. 264 :pep:`446` makes newly created file descriptors :ref:`non-inheritable 279 :pep:`446` -- Make newly created file descriptors non-inheritable 1173 There are new functions to get and set the :ref:`inheritable flag 1394 Socket objects have new methods to get or set their :ref:`inheritable flag
|