[lxc-devel] [lxc/master] Create mqueue file system

Rachid-Koucha on Github lxc-bot at linuxcontainers.org
Mon Mar 16 18:53:08 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 450 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200316/8035191b/attachment.bin>
-------------- next part --------------
From e45b1ffdaff77e0e7b86e5891cdce438d212ef4f Mon Sep 17 00:00:00 2001
From: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
Date: Mon, 16 Mar 2020 19:52:05 +0100
Subject: [PATCH] Create mqueue file system

Added mqueue file system to be able to experiment POSIX mqueues isolation in IPC namespaces

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>
---
 templates/lxc-busybox.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
index 2d8e64c4d8..562fb76b76 100644
--- a/templates/lxc-busybox.in
+++ b/templates/lxc-busybox.in
@@ -77,6 +77,7 @@ ${rootfs}/var/log \
 ${rootfs}/var/run \
 ${rootfs}/dev/pts \
 ${rootfs}/dev/shm \
+${rootfs}/dev/mqueue \
 ${rootfs}/lib \
 ${rootfs}/usr/lib \
 ${rootfs}/lib64 \
@@ -237,6 +238,7 @@ lxc.cap.drop = sys_module mac_admin mac_override sys_time
 
 lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed
 lxc.mount.entry = shm dev/shm tmpfs defaults 0 0
+lxc.mount.entry = mqueue dev/mqueue mqueue defaults 0 0
 EOF
 
   libdirs="\


More information about the lxc-devel mailing list