Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DWrapperInit.java197 if (data[0].permitted != data[0].inheritable || in preserveCapabilities()
198 data[1].permitted != data[1].inheritable) { in preserveCapabilities()
214 if ((data[dataIndex].inheritable & capMask) != 0) { in preserveCapabilities()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp555 static void SetInheritable(uint64_t inheritable, fail_fn_t fail_fn) { in SetInheritable() argument
566 capdata[0].inheritable = inheritable; in SetInheritable()
567 capdata[1].inheritable = inheritable >> 32; in SetInheritable()
570 fail_fn(CREATE_ERROR("capset(inh=%" PRIx64 ") failed: %s", inheritable, strerror(errno))); in SetInheritable()
574 static void SetCapabilities(uint64_t permitted, uint64_t effective, uint64_t inheritable, in SetCapabilities() argument
587 capdata[0].inheritable = inheritable; in SetCapabilities()
588 capdata[1].inheritable = inheritable >> 32; in SetCapabilities()
592 "failed: %s", permitted, effective, inheritable, strerror(errno))); in SetCapabilities()