Home
last modified time | relevance | path

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

/linux-6.1.9/security/
Dcommoncap.c388 struct vfs_ns_cap_data *nscap = NULL; in cap_inode_getsecurity() local
414 nscap = (struct vfs_ns_cap_data *) tmpbuf; in cap_inode_getsecurity()
415 root = le32_to_cpu(nscap->rootid); in cap_inode_getsecurity()
432 if (!nscap) { in cap_inode_getsecurity()
434 nscap = kzalloc(size, GFP_ATOMIC); in cap_inode_getsecurity()
435 if (!nscap) { in cap_inode_getsecurity()
443 memcpy(&nscap->data, &cap->data, sizeof(__le32) * 2 * VFS_CAP_U32); in cap_inode_getsecurity()
444 nscap->magic_etc = cpu_to_le32(nsmagic); in cap_inode_getsecurity()
449 nscap->rootid = cpu_to_le32(mappedroot); in cap_inode_getsecurity()
450 *buffer = nscap; in cap_inode_getsecurity()
[all …]