Searched refs:cap_data (Results 1 – 1 of 1) sorted by relevance
840 struct vfs_cap_data cap_data; in ApplyParsedPerms() local841 memset(&cap_data, 0, sizeof(cap_data)); in ApplyParsedPerms()842 cap_data.magic_etc = VFS_CAP_REVISION | VFS_CAP_FLAGS_EFFECTIVE; in ApplyParsedPerms()843 cap_data.data[0].permitted = (uint32_t) (parsed.capabilities & 0xffffffff); in ApplyParsedPerms()844 cap_data.data[0].inheritable = 0; in ApplyParsedPerms()845 cap_data.data[1].permitted = (uint32_t) (parsed.capabilities >> 32); in ApplyParsedPerms()846 cap_data.data[1].inheritable = 0; in ApplyParsedPerms()847 if (setxattr(filename, XATTR_NAME_CAPS, &cap_data, sizeof(cap_data), 0) < 0) { in ApplyParsedPerms()