Home
last modified time | relevance | path

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

/linux-6.6.21/security/
Dcommoncap.c391 struct vfs_ns_cap_data *nscap = NULL; in cap_inode_getsecurity() local
413 nscap = (struct vfs_ns_cap_data *) tmpbuf; in cap_inode_getsecurity()
414 root = le32_to_cpu(nscap->rootid); in cap_inode_getsecurity()
431 if (!nscap) { in cap_inode_getsecurity()
433 nscap = kzalloc(size, GFP_ATOMIC); in cap_inode_getsecurity()
434 if (!nscap) { in cap_inode_getsecurity()
442 memcpy(&nscap->data, &cap->data, sizeof(__le32) * 2 * VFS_CAP_U32); in cap_inode_getsecurity()
443 nscap->magic_etc = cpu_to_le32(nsmagic); in cap_inode_getsecurity()
448 nscap->rootid = cpu_to_le32(mappedroot); in cap_inode_getsecurity()
449 *buffer = nscap; in cap_inode_getsecurity()
[all …]