ipcns: Add a limit on the number of ipc namespaces
[cascardo/linux.git] / include / linux / ipc_namespace.h
index 1eee6bc..848e579 100644 (file)
@@ -58,13 +58,12 @@ struct ipc_namespace {
 
        /* user_ns which owns the ipc ns */
        struct user_namespace *user_ns;
+       struct ucounts *ucounts;
 
        struct ns_common ns;
 };
 
 extern struct ipc_namespace init_ipc_ns;
-extern atomic_t nr_ipc_ns;
-
 extern spinlock_t mq_lock;
 
 #ifdef CONFIG_SYSVIPC