]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/nsproxy.h
sched: speed up and simplify vslice calculations
[linux-2.6-omap-h63xx.git] / include / linux / nsproxy.h
index 0b9f0dc30d6114a1f5177a7fde829d2199137172..bec4485e3d76d0a91cba665b4716e5a6480bb42e 100644 (file)
@@ -28,13 +28,16 @@ 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;
 
-struct nsproxy *dup_namespaces(struct nsproxy *orig);
-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 **,
+       struct fs_struct *);
 
 static inline void put_nsproxy(struct nsproxy *ns)
 {