Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/
Dcommoncap.c378 struct vfs_ns_cap_data *nscap = NULL; in cap_inode_getsecurity() local
404 nscap = (struct vfs_ns_cap_data *) tmpbuf; in cap_inode_getsecurity()
405 root = le32_to_cpu(nscap->rootid); in cap_inode_getsecurity()
419 if (!nscap) { in cap_inode_getsecurity()
421 nscap = kzalloc(size, GFP_ATOMIC); in cap_inode_getsecurity()
422 if (!nscap) { in cap_inode_getsecurity()
430 memcpy(&nscap->data, &cap->data, sizeof(__le32) * 2 * VFS_CAP_U32); in cap_inode_getsecurity()
431 nscap->magic_etc = cpu_to_le32(nsmagic); in cap_inode_getsecurity()
436 nscap->rootid = cpu_to_le32(mappedroot); in cap_inode_getsecurity()
437 *buffer = nscap; in cap_inode_getsecurity()
[all …]