Searched refs:capHeader (Results 1 – 4 of 4) sorted by relevance
49 struct __user_cap_header_struct capHeader; in SetCapability() local50 capHeader.version = _LINUX_CAPABILITY_VERSION_3; in SetCapability()51 capHeader.pid = 0; in SetCapability()61 if (capset(&capHeader, capData) != 0) { in SetCapability()
58 struct __user_cap_header_struct capHeader; in SetCapability() local59 capHeader.version = _LINUX_CAPABILITY_VERSION_3; in SetCapability()60 capHeader.pid = 0; in SetCapability()70 if (capset(&capHeader, capData) != 0) { in SetCapability()
152 struct __user_cap_header_struct capHeader; in InheritCapabilities() local153 memset(&capHeader, 0, sizeof(capHeader)); in InheritCapabilities()155 capHeader.version = _LINUX_CAPABILITY_VERSION_3; in InheritCapabilities()156 capHeader.pid = 0; in InheritCapabilities()158 if (capget(&capHeader, &capData[0]) == -1) { in InheritCapabilities()165 if (capset(&capHeader, &capData[0]) == -1) { in InheritCapabilities()
148 struct __user_cap_header_struct capHeader; in SetPerms() local149 capHeader.version = _LINUX_CAPABILITY_VERSION_3; in SetPerms()150 capHeader.pid = 0; in SetPerms()166 INIT_ERROR_CHECK(capset(&capHeader, capData) == 0, return SERVICE_FAILURE, in SetPerms()