Home
last modified time | relevance | path

Searched refs:user_namespace (Results 26 – 50 of 113) sorted by relevance

12345

/openbmc/linux/include/net/
H A Dnet_namespace.h47 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 Dpid_namespace.c62 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 Dnsproxy.c68 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 Duid16.c117 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 Duser.c27 struct user_namespace init_user_ns = {
H A Dtsacct.c20 void bacct_add_tsk(struct user_namespace *user_ns, in bacct_add_tsk()
/openbmc/linux/fs/nfs/
H A Dnfs3xdr.c537 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 Dnfs2xdr.c80 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 Dcommoncap.c66 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 Dnamespace.c59 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 Dposix_acl.h18 struct user_namespace;
93 int posix_acl_valid(struct user_namespace *, const struct posix_acl *);
H A Dfs_context.h25 struct user_namespace;
97 struct user_namespace *user_ns; /* The user namespace for this mount */
H A Dproc_ns.h23 struct user_namespace *(*owner)(struct ns_common *ns);
H A Dinet_diag.h84 struct user_namespace *user_ns, bool net_admin);
H A Dseq_file.h223 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 Dcgroup.h773 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 Dmount.h18 struct user_namespace;
H A Dnetlink.h349 struct user_namespace *ns, int cap);
351 struct user_namespace *ns, int cap);
/openbmc/linux/net/unix/
H A Ddiag.c118 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 Dposix_acl.c238 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 Dnsfs.c192 struct user_namespace *user_ns; in ns_ioctl()
209 user_ns = container_of(ns, struct user_namespace, ns); in ns_ioctl()
H A Dmount.h18 struct user_namespace *user_ns;
/openbmc/linux/net/smc/
H A Dsmc_diag.c61 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 Dnet_namespace.c320 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 Dauth_unix.c118 struct user_namespace *userns = clnt->cl_cred ? in unx_marshal()

12345