Home
last modified time | relevance | path

Searched refs:inheritable (Results 1 – 25 of 40) sorted by relevance

12

/external/toolchain-utils/crosperf/
Dfield.py8 def __init__(self, name, required, default, inheritable, description): argument
14 self.inheritable = inheritable
45 inheritable=False, argument
47 super(TextField, self).__init__(name, required, default, inheritable,
61 inheritable=False, argument
63 super(BooleanField, self).__init__(name, required, default, inheritable,
82 inheritable=False, argument
84 super(IntegerField, self).__init__(name, required, default, inheritable,
98 inheritable=False, argument
100 super(FloatField, self).__init__(name, required, default, inheritable,
[all …]
/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c200 m.data.v1.inheritable = 0; in capng_fill()
204 m.data.v3[0].inheritable = 0; in capng_fill()
207 m.data.v3[1].inheritable = 0; in capng_fill()
308 m.data.v3[0].inheritable = FIXUP(filedata->data[0].inheritable); in load_data()
309 m.data.v3[1].inheritable = FIXUP(filedata->data[1].inheritable); in load_data()
312 m.data.v3[0].permitted | m.data.v3[0].inheritable; in load_data()
314 m.data.v3[1].permitted | m.data.v3[1].inheritable; in load_data()
378 m.data.v3[idx].inheritable |= MASK(capability); in update_inheritable()
380 m.data.v3[idx].inheritable &= ~(MASK(capability)); in update_inheritable()
410 v1_update(action, capability, &m.data.v1.inheritable); in capng_update()
[all …]
/external/kernel-headers/original/uapi/linux/
Dcapability.h47 __u32 inheritable; member
76 __le32 inheritable; /* Little endian */ member
87 __le32 inheritable; /* Little endian */ member
/external/strace/
Dcapability.c64 uint32_t inheritable; member
135 print_cap_bits(data[0].inheritable, len > 1 ? data[1].inheritable : 0); in print_cap_data()
/external/libcap/libcap/include/uapi/linux/
Dcapability.h48 __u32 inheritable; member
73 __le32 inheritable; /* Little endian */ member
/external/squashfs-tools/squashfs-tools/
Dandroid.c113 cap_data.data[0].inheritable = 0; in set_caps()
115 cap_data.data[1].inheritable = 0; in set_caps()
/external/python/cpython3/Python/
Dfileutils.c781 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() argument
798 assert(!(atomic_flag_works != NULL && inheritable)); in set_inheritable()
800 if (atomic_flag_works != NULL && !inheritable) { in set_inheritable()
822 if (inheritable) in set_inheritable()
838 if (inheritable) in set_inheritable()
877 if (inheritable) { in set_inheritable()
925 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() argument
927 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable()
/external/ltp/testcases/kernel/security/filecaps/
DREADME18 capability set X. The capability sets are I for inheritable,
31 inheritable set using setcap.
/external/python/cpython3/Lib/
Dsocket.py444 def set_inheritable(self, inheritable): argument
445 os.set_handle_inheritable(self.fileno(), inheritable)
449 def set_inheritable(self, inheritable): argument
450 os.set_inheritable(self.fileno(), inheritable)
/external/valgrind/memcheck/tests/linux/
Dcapget.c31 d.inheritable); in main()
Dcapget.stderr.exp5 inheritable 0
Dcapget.stderr.exp26 inheritable 0
/external/python/cpython2/Lib/multiprocessing/
Dforking.py230 def duplicate(handle, target_process=None, inheritable=False): argument
235 0, inheritable, _subprocess.DUPLICATE_SAME_ACCESS
254 rhandle = duplicate(msvcrt.get_osfhandle(rfd), inheritable=True)
/external/libcap/libcap/
Dcap_file.c79 = FIXUP_32BITS(rawvfscap->data[i].inheritable); in _fcaps_load()
160 rawvfscap->data[i].inheritable in _fcaps_save()
Dlibcap.h96 __le32 inheritable; member
/external/python/cpython3/Lib/multiprocessing/
Dreduction.py71 def duplicate(handle, target_process=None, inheritable=False): argument
77 0, inheritable, _winapi.DUPLICATE_SAME_ACCESS)
/external/python/cpython3/Doc/library/
Dselect.rst49 The new file descriptor is :ref:`non-inheritable <fd_inheritance>`.
54 The new file descriptor is now non-inheritable.
69 The new file descriptor is :ref:`non-inheritable <fd_inheritance>`.
76 The new file descriptor is now non-inheritable.
80 Use :func:`os.set_inheritable` to make the file descriptor inheritable.
96 The new file descriptor is :ref:`non-inheritable <fd_inheritance>`.
99 The new file descriptor is now non-inheritable.
Dos.rst726 :ref:`non-inheritable <fd_inheritance>`.
729 2: stderr), the new file descriptor is :ref:`inheritable
733 The new file descriptor is now non-inheritable.
736 .. function:: dup2(fd, fd2, inheritable=True)
739 The file descriptor *fd2* is :ref:`inheritable <fd_inheritance>` by default,
740 or non-inheritable if *inheritable* is ``False``.
743 Add the optional *inheritable* parameter.
908 The new file descriptor is :ref:`non-inheritable <fd_inheritance>`.
919 The new file descriptor is now non-inheritable.
1006 descriptors are :ref:`non-inheritable <fd_inheritance>`. For a (slightly) more
[all …]
Dsocket.rst433 The newly created socket is :ref:`non-inheritable <fd_inheritance>`.
443 The returned socket is now non-inheritable.
453 The newly created sockets are :ref:`non-inheritable <fd_inheritance>`.
460 The returned sockets are now non-inheritable.
500 The newly created socket is :ref:`non-inheritable <fd_inheritance>`.
503 The returned socket is now non-inheritable.
883 The newly created socket is :ref:`non-inheritable <fd_inheritance>`.
886 The socket is now non-inheritable.
966 The newly created socket is :ref:`non-inheritable <fd_inheritance>`.
969 The socket is now non-inheritable.
[all …]
/external/python/cpython3/Include/
Dfileutils.h111 PyAPI_FUNC(int) _Py_set_inheritable(int fd, int inheritable,
/external/python/cpython3/Lib/test/
Dtest_subprocess.py1780 inheritable = os.get_inheritable(fd)
1782 fds.append((fd, saved, inheritable))
1786 for fd, saved, inheritable in fds:
1787 os.dup2(saved, fd, inheritable=inheritable)
1795 for fd, saved, inheritable in saved_fds:
2272 inheritable, non_inheritable = os.pipe()
2273 self.addCleanup(os.close, inheritable)
2275 os.set_inheritable(inheritable, True)
2277 pass_fds = (inheritable, non_inheritable)
2292 self.assertEqual(os.get_inheritable(inheritable), True)
/external/python/cpython3/Modules/clinic/
Dposixmodule.c.h3442 os_dup2_impl(PyObject *module, int fd, int fd2, int inheritable);
3452 int inheritable = 1; in os_dup2() local
3455 &fd, &fd2, &inheritable)) { in os_dup2()
3458 return_value = os_dup2_impl(module, fd, fd2, inheritable); in os_dup2()
5512 os_set_inheritable_impl(PyObject *module, int fd, int inheritable);
5519 int inheritable; in os_set_inheritable() local
5522 &fd, &inheritable)) { in os_set_inheritable()
5525 return_value = os_set_inheritable_impl(module, fd, inheritable); in os_set_inheritable()
5580 int inheritable);
5587 int inheritable; in os_set_handle_inheritable() local
[all …]
/external/libcap/
DMake.Rules74 # When installing setcap, set its inheritable bit to be able to place
/external/llvm/docs/TableGen/
DBackEnds.rst262 separated out into multiple categories: attributes, inheritable attributes, and
263 inheritable parameter attributes. This categorization happens automatically
/external/python/cpython3/Lib/asyncio/
Dunix_events.py668 def _set_inheritable(fd, inheritable): argument
672 if not inheritable:

12