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.java200 if (data[0].permitted != data[0].inheritable || in preserveCapabilities()
201 data[1].permitted != data[1].inheritable) { in preserveCapabilities()
217 if ((data[dataIndex].inheritable & capMask) != 0) { in preserveCapabilities()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp705 static void SetInheritable(uint64_t inheritable, fail_fn_t fail_fn) { in SetInheritable() argument
716 capdata[0].inheritable = inheritable; in SetInheritable()
717 capdata[1].inheritable = inheritable >> 32; in SetInheritable()
720 fail_fn(CREATE_ERROR("capset(inh=%" PRIx64 ") failed: %s", inheritable, strerror(errno))); in SetInheritable()
724 static void SetCapabilities(uint64_t permitted, uint64_t effective, uint64_t inheritable, in SetCapabilities() argument
737 capdata[0].inheritable = inheritable; in SetCapabilities()
738 capdata[1].inheritable = inheritable >> 32; in SetCapabilities()
742 "failed: %s", permitted, effective, inheritable, strerror(errno))); in SetCapabilities()