Lines Matching defs:cap_data
875 struct vfs_cap_data cap_data;
876 memset(&cap_data, 0, sizeof(cap_data));
877 cap_data.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE;
878 cap_data.data[0].permitted = (uint32_t) (parsed.capabilities & 0xffffffff);
879 cap_data.data[0].inheritable = 0;
880 cap_data.data[1].permitted = (uint32_t) (parsed.capabilities >> 32);
881 cap_data.data[1].inheritable = 0;
882 if (setxattr(filename, XATTR_NAME_CAPS, &cap_data, sizeof(cap_data), 0) < 0) {