/openbmc/linux/include/net/ |
H A D | net_namespace.h | 47 struct user_namespace; 90 struct user_namespace *user_ns; /* Owning user namespace */ 201 struct net *copy_net_ns(unsigned long flags, struct user_namespace *user_ns, 214 struct user_namespace *user_ns, struct net *old_net) in copy_net_ns()
|
/openbmc/linux/kernel/ |
H A D | pid_namespace.c | 62 static struct ucounts *inc_pid_namespaces(struct user_namespace *ns) in inc_pid_namespaces() 72 static struct pid_namespace *create_pid_namespace(struct user_namespace *user_ns, in create_pid_namespace() 146 struct user_namespace *user_ns, struct pid_namespace *old_ns) in copy_pid_ns() 445 static struct user_namespace *pidns_owner(struct ns_common *ns) in pidns_owner()
|
H A D | nsproxy.c | 68 struct task_struct *tsk, struct user_namespace *user_ns, in create_new_namespaces() 154 struct user_namespace *user_ns = task_cred_xxx(tsk, user_ns); in copy_namespaces() 216 struct user_namespace *user_ns; in unshare_nsproxy_namespaces() 379 struct user_namespace *user_ns = NULL; in validate_nsset()
|
H A D | uid16.c | 117 struct user_namespace *user_ns = current_user_ns(); in groups16_to_user() 135 struct user_namespace *user_ns = current_user_ns(); in groups16_from_user()
|
H A D | user.c | 27 struct user_namespace init_user_ns = {
|
H A D | tsacct.c | 20 void bacct_add_tsk(struct user_namespace *user_ns, in bacct_add_tsk()
|
/openbmc/linux/fs/nfs/ |
H A D | nfs3xdr.c | 537 struct user_namespace *userns) in encode_sattr3() 624 struct user_namespace *userns) in decode_fattr3() 678 struct user_namespace *userns) in decode_post_op_attr() 748 struct user_namespace *userns) in decode_wcc_data() 1020 struct user_namespace *userns) in encode_createhow3() 1079 struct user_namespace *userns) in encode_symlinkdata3() 1124 struct user_namespace *userns) in encode_devicedata3() 1132 struct user_namespace *userns) in encode_mknoddata3() 1756 struct user_namespace *userns) in decode_create3resok() 2068 struct user_namespace *userns) in decode_readdir3resok() [all …]
|
H A D | nfs2xdr.c | 80 static struct user_namespace *rpc_userns(const struct rpc_clnt *clnt) in rpc_userns() 87 static struct user_namespace *rpc_rqst_userns(const struct rpc_rqst *rqstp) in rpc_rqst_userns() 267 struct user_namespace *userns) in decode_fattr() 341 struct user_namespace *userns) in encode_sattr() 467 struct user_namespace *userns) in decode_attrstat() 515 struct user_namespace *userns) in decode_diropok() 528 struct user_namespace *userns) in decode_diropres()
|
/openbmc/linux/security/ |
H A D | commoncap.c | 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() 333 struct user_namespace *ns; in rootid_owns_currentns() 393 struct user_namespace *fs_ns; in cap_inode_getsecurity() 494 struct user_namespace *task_ns) in rootid_from_xattr() 537 struct user_namespace *task_ns = current_user_ns(), in cap_convert_nscap() 646 struct user_namespace *fs_ns; in get_vfs_caps_from_disk() 992 struct user_namespace *user_ns = dentry->d_sb->s_user_ns; in cap_inode_setxattr() 1033 struct user_namespace *user_ns = dentry->d_sb->s_user_ns; in cap_inode_removexattr()
|
/openbmc/linux/kernel/time/ |
H A D | namespace.c | 59 static struct ucounts *inc_time_namespaces(struct user_namespace *ns) in inc_time_namespaces() 78 static struct time_namespace *clone_time_ns(struct user_namespace *user_ns, in clone_time_ns() 134 struct user_namespace *user_ns, struct time_namespace *old_ns) in copy_time_ns() 342 static struct user_namespace *timens_owner(struct ns_common *ns) in timens_owner()
|
/openbmc/linux/include/linux/ |
H A D | posix_acl.h | 18 struct user_namespace; 93 int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
|
H A D | fs_context.h | 25 struct user_namespace; 97 struct user_namespace *user_ns; /* The user namespace for this mount */
|
H A D | proc_ns.h | 23 struct user_namespace *(*owner)(struct ns_common *ns);
|
H A D | inet_diag.h | 84 struct user_namespace *user_ns, bool net_admin);
|
H A D | seq_file.h | 223 static inline struct user_namespace *seq_user_ns(struct seq_file *seq) in seq_user_ns() 228 extern struct user_namespace init_user_ns; in seq_user_ns()
|
H A D | cgroup.h | 773 struct user_namespace *user_ns; 785 struct user_namespace *user_ns, 795 copy_cgroup_ns(unsigned long flags, struct user_namespace *user_ns, in copy_cgroup_ns()
|
H A D | mount.h | 18 struct user_namespace;
|
H A D | netlink.h | 349 struct user_namespace *ns, int cap); 351 struct user_namespace *ns, int cap);
|
/openbmc/linux/net/unix/ |
H A D | diag.c | 118 struct user_namespace *user_ns) in sk_diag_dump_uid() 125 struct user_namespace *user_ns, in sk_diag_fill() 184 struct user_namespace *user_ns, in sk_diag_dump()
|
/openbmc/linux/fs/ |
H A D | posix_acl.c | 238 posix_acl_valid(struct user_namespace *user_ns, const struct posix_acl *acl) in posix_acl_valid() 380 struct user_namespace *fs_userns = i_user_ns(inode); in posix_acl_permission() 775 struct posix_acl *posix_acl_from_xattr(struct user_namespace *userns, in posix_acl_from_xattr() 835 posix_acl_to_xattr(struct user_namespace *user_ns, const struct posix_acl *acl, in posix_acl_to_xattr() 896 struct user_namespace *fs_userns, *caller_userns; in vfs_posix_acl_to_xattr() 1057 struct user_namespace *fs_userns, in vfs_set_acl_idmapped_mnt()
|
H A D | nsfs.c | 192 struct user_namespace *user_ns; in ns_ioctl() 209 user_ns = container_of(ns, struct user_namespace, ns); in ns_ioctl()
|
H A D | mount.h | 18 struct user_namespace *user_ns;
|
/openbmc/linux/net/smc/ |
H A D | smc_diag.c | 61 struct user_namespace *user_ns) in smc_diag_msg_attrs_fill() 78 struct user_namespace *user_ns; in __smc_diag_dump()
|
/openbmc/linux/net/core/ |
H A D | net_namespace.c | 320 static __net_init int setup_net(struct net *net, struct user_namespace *user_ns) in setup_net() 398 static struct ucounts *inc_net_namespaces(struct user_namespace *ns) in inc_net_namespaces() 466 struct user_namespace *user_ns, struct net *old_net) in copy_net_ns() 1399 static struct user_namespace *netns_owner(struct ns_common *ns) in netns_owner()
|
/openbmc/linux/net/sunrpc/ |
H A D | auth_unix.c | 118 struct user_namespace *userns = clnt->cl_cred ? in unx_marshal()
|