Searched refs:cap_data (Results 1 – 5 of 5) sorted by relevance
100 struct vfs_cap_data cap_data; in set_caps() local101 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()
19 struct cap_data;58 SANDBOX_EXPORT int sys_capget(struct cap_hdr* hdrp, struct cap_data* datap);60 const struct cap_data* datap);
181 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()
87 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()
36 struct cap_data { struct