]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/security.h
Introduce v3 namespaced file capabilities
[mirror_ubuntu-artful-kernel.git] / include / linux / security.h
index 834b355fa298fde31d08bd13a9e139b4671b363e..816aa5bec550f4a498c2ac5b6f73bdb38a9e7c6b 100644 (file)
@@ -91,6 +91,8 @@ extern int cap_inode_setxattr(struct dentry *dentry, const char *name,
 extern int cap_inode_removexattr(struct dentry *dentry, const char *name);
 extern int cap_inode_need_killpriv(struct dentry *dentry);
 extern int cap_inode_killpriv(struct dentry *dentry);
+extern int cap_inode_getsecurity(struct inode *inode, const char *name,
+                                void **buffer, bool alloc);
 extern int cap_mmap_addr(unsigned long addr);
 extern int cap_mmap_file(struct file *file, unsigned long reqprot,
                         unsigned long prot, unsigned long flags);