Lines Matching refs:user_namespace
66 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable()
69 struct user_namespace *ns = targ_ns; in cap_capable()
321 int cap_inode_killpriv(struct user_namespace *mnt_userns, struct dentry *dentry) in cap_inode_killpriv()
333 struct user_namespace *ns; in rootid_owns_currentns()
378 int cap_inode_getsecurity(struct user_namespace *mnt_userns, in cap_inode_getsecurity()
390 struct user_namespace *fs_ns; in cap_inode_getsecurity()
503 struct user_namespace *task_ns, in rootid_from_xattr()
504 struct user_namespace *mnt_userns, in rootid_from_xattr()
505 struct user_namespace *fs_userns) in rootid_from_xattr()
542 int cap_convert_nscap(struct user_namespace *mnt_userns, struct dentry *dentry, in cap_convert_nscap()
550 struct user_namespace *task_ns = current_user_ns(), in cap_convert_nscap()
649 int get_vfs_caps_from_disk(struct user_namespace *mnt_userns, in get_vfs_caps_from_disk()
660 struct user_namespace *fs_ns; in get_vfs_caps_from_disk()
1000 struct user_namespace *user_ns = dentry->d_sb->s_user_ns; in cap_inode_setxattr()
1038 int cap_inode_removexattr(struct user_namespace *mnt_userns, in cap_inode_removexattr()
1041 struct user_namespace *user_ns = dentry->d_sb->s_user_ns; in cap_inode_removexattr()