Searched refs:cap_data (Results 1 – 6 of 6) sorted by relevance
105 struct vfs_cap_data cap_data; in set_caps() local106 memset(&cap_data, 0, sizeof(cap_data)); in set_caps()109 return cap_data; in set_caps()111 cap_data.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE; in set_caps()112 cap_data.data[0].permitted = (uint32_t) capabilities; in set_caps()113 cap_data.data[0].inheritable = 0; in set_caps()114 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32); in set_caps()115 cap_data.data[1].inheritable = 0; in set_caps()117 return cap_data; in set_caps()
105 struct vfs_cap_data cap_data; in set_perms_and_caps() local133 memset(&cap_data, 0, sizeof(cap_data)); in set_perms_and_caps()134 cap_data.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE; in set_perms_and_caps()135 cap_data.data[0].permitted = (uint32_t) (capabilities & 0xffffffff); in set_perms_and_caps()136 cap_data.data[1].permitted = (uint32_t) (capabilities >> 32); in set_perms_and_caps()138 &cap_data, sizeof(cap_data)); in set_perms_and_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