Home
last modified time | relevance | path

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

/security/
Dcommoncap.c572 int get_vfs_caps_from_disk(const struct dentry *dentry, struct cpu_vfs_cap_data *cpu_caps) in get_vfs_caps_from_disk() argument
583 memset(cpu_caps, 0, sizeof(struct cpu_vfs_cap_data)); in get_vfs_caps_from_disk()
602 cpu_caps->magic_etc = magic_etc = le32_to_cpu(caps->magic_etc); in get_vfs_caps_from_disk()
635 cpu_caps->permitted.cap[i] = le32_to_cpu(caps->data[i].permitted); in get_vfs_caps_from_disk()
636 cpu_caps->inheritable.cap[i] = le32_to_cpu(caps->data[i].inheritable); in get_vfs_caps_from_disk()
639 cpu_caps->permitted.cap[CAP_LAST_U32] &= CAP_LAST_U32_VALID_MASK; in get_vfs_caps_from_disk()
640 cpu_caps->inheritable.cap[CAP_LAST_U32] &= CAP_LAST_U32_VALID_MASK; in get_vfs_caps_from_disk()
642 cpu_caps->rootid = rootkuid; in get_vfs_caps_from_disk()