X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fnsproxy.h;h=bec4485e3d76d0a91cba665b4716e5a6480bb42e;hb=a5d76b54a3f3a40385d7f76069a2feac9f1bad63;hp=189e0dc993ab6ab84a577d1ee0635946ec077072;hpb=36f021b579d195cdc5fa6f3e2bab198b4bf70643;p=linux-2.6 diff --git a/include/linux/nsproxy.h b/include/linux/nsproxy.h index 189e0dc993..bec4485e3d 100644 --- a/include/linux/nsproxy.h +++ b/include/linux/nsproxy.h @@ -28,10 +28,12 @@ struct nsproxy { struct ipc_namespace *ipc_ns; struct mnt_namespace *mnt_ns; struct pid_namespace *pid_ns; + struct user_namespace *user_ns; + struct net *net_ns; }; extern struct nsproxy init_nsproxy; -int copy_namespaces(int flags, struct task_struct *tsk); +int copy_namespaces(unsigned long flags, struct task_struct *tsk); void get_task_namespaces(struct task_struct *tsk); void free_nsproxy(struct nsproxy *ns); int unshare_nsproxy_namespaces(unsigned long, struct nsproxy **,