Lines Matching refs:user_namespace
65 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable()
68 struct user_namespace *ns = targ_ns; in cap_capable()
320 int cap_inode_killpriv(struct user_namespace *mnt_userns, struct dentry *dentry) in cap_inode_killpriv()
332 struct user_namespace *ns; in rootid_owns_currentns()
377 int cap_inode_getsecurity(struct user_namespace *mnt_userns, in cap_inode_getsecurity()
389 struct user_namespace *fs_ns; in cap_inode_getsecurity()
499 struct user_namespace *task_ns, in rootid_from_xattr()
500 struct user_namespace *mnt_userns) in rootid_from_xattr()
537 int cap_convert_nscap(struct user_namespace *mnt_userns, struct dentry *dentry, in cap_convert_nscap()
545 struct user_namespace *task_ns = current_user_ns(), in cap_convert_nscap()
644 int get_vfs_caps_from_disk(struct user_namespace *mnt_userns, in get_vfs_caps_from_disk()
655 struct user_namespace *fs_ns; in get_vfs_caps_from_disk()
995 struct user_namespace *user_ns = dentry->d_sb->s_user_ns; in cap_inode_setxattr()
1033 int cap_inode_removexattr(struct user_namespace *mnt_userns, in cap_inode_removexattr()
1036 struct user_namespace *user_ns = dentry->d_sb->s_user_ns; in cap_inode_removexattr()