Home
last modified time | relevance | path

Searched refs:cap_data (Results 1 – 5 of 5) sorted by relevance

/external/squashfs-tools/squashfs-tools/
Dandroid.c100 struct vfs_cap_data cap_data; in set_caps() local
101 memset(&cap_data, 0, sizeof(cap_data)); in set_caps()
104 return cap_data; in set_caps()
106 cap_data.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE; in set_caps()
107 cap_data.data[0].permitted = (uint32_t) capabilities; in set_caps()
108 cap_data.data[0].inheritable = 0; in set_caps()
109 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32); in set_caps()
110 cap_data.data[1].inheritable = 0; in set_caps()
112 return cap_data; in set_caps()
/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers.h19 struct cap_data;
58 SANDBOX_EXPORT int sys_capget(struct cap_hdr* hdrp, struct cap_data* datap);
60 const struct cap_data* datap);
Dcredentials.cc181 struct cap_data data[_LINUX_CAPABILITY_U32S_3] = {{}}; in SetCapabilitiesOnCurrentThread()
213 struct cap_data data[_LINUX_CAPABILITY_U32S_3] = {{}}; in HasAnyCapability()
229 struct cap_data data[_LINUX_CAPABILITY_U32S_3] = {{}}; in HasCapability()
Dsyscall_wrappers.cc87 int sys_capget(cap_hdr* hdrp, cap_data* datap) { in sys_capget()
96 int sys_capset(cap_hdr* hdrp, const cap_data* datap) { in sys_capset()
/external/libchrome/sandbox/linux/system_headers/
Dcapability.h36 struct cap_data { struct