Home
last modified time | relevance | path

Searched refs:capheader (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp230 __user_cap_header_struct capheader; in SetCapabilities() local
231 memset(&capheader, 0, sizeof(capheader)); in SetCapabilities()
232 capheader.version = _LINUX_CAPABILITY_VERSION_3; in SetCapabilities()
233 capheader.pid = 0; in SetCapabilities()
242 if (capset(&capheader, &capdata[0]) == -1) { in SetCapabilities()
Dandroid_util_AssetManager.cpp135 struct __user_cap_header_struct capheader; in verifySystemIdmaps() local
138 memset(&capheader, 0, sizeof(capheader)); in verifySystemIdmaps()
141 capheader.version = _LINUX_CAPABILITY_VERSION; in verifySystemIdmaps()
142 capheader.pid = 0; in verifySystemIdmaps()
144 if (capget(&capheader, &capdata) != 0) { in verifySystemIdmaps()
150 if (capset(&capheader, &capdata) != 0) { in verifySystemIdmaps()
/frameworks/native/cmds/dumpstate/
Ddumpstate.c692 struct __user_cap_header_struct capheader; in main() local
694 memset(&capheader, 0, sizeof(capheader)); in main()
696 capheader.version = _LINUX_CAPABILITY_VERSION_3; in main()
697 capheader.pid = 0; in main()
704 if (capset(&capheader, &capdata[0]) < 0) { in main()
/frameworks/native/cmds/installd/
Dcommands.cpp1192 struct __user_cap_header_struct capheader; in dexopt() local
1194 memset(&capheader, 0, sizeof(capheader)); in dexopt()
1196 capheader.version = _LINUX_CAPABILITY_VERSION_3; in dexopt()
1197 if (capset(&capheader, &capdata[0]) < 0) { in dexopt()