]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - ipc/namespace.c
UBUNTU: upstream stable to v5.10.44, v5.12.11
[mirror_ubuntu-hirsute-kernel.git] / ipc / namespace.c
index 7bd0766ddc3b13809e5ae912c49d266816475338..2bb05b2dacd1fa8c10b181d5f85e230eee0b04b8 100644 (file)
@@ -172,6 +172,23 @@ void put_ipc_ns(struct ipc_namespace *ns)
                        schedule_work(&free_ipc_work);
        }
 }
+EXPORT_SYMBOL(put_ipc_ns);
+
+struct ipc_namespace *get_ipc_ns_exported(struct ipc_namespace *ns)
+{
+       return get_ipc_ns(ns);
+}
+EXPORT_SYMBOL(get_ipc_ns_exported);
+
+struct ipc_namespace *show_init_ipc_ns(void)
+{
+#if defined(CONFIG_IPC_NS)
+       return &init_ipc_ns;
+#else
+       return NULL;
+#endif
+}
+EXPORT_SYMBOL(show_init_ipc_ns);
 
 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns)
 {