summaryrefslogtreecommitdiff
path: root/buildstream/sandbox/sandbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/sandbox/sandbox.py')
-rw-r--r--buildstream/sandbox/sandbox.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildstream/sandbox/sandbox.py b/buildstream/sandbox/sandbox.py
index 7e1e32b65..7c0ac8834 100644
--- a/buildstream/sandbox/sandbox.py
+++ b/buildstream/sandbox/sandbox.py
@@ -68,6 +68,14 @@ class SandboxFlags():
namespace where available.
"""
+ CREATE_DEV_SHM = 0x10
+ """Whether to create /dev/shm in the sandbox.
+
+ This allows plugins to create /dev/shm in the sandbox. This flag
+ was added to fix a bug in which /dev/shm was not added in, meaning our
+ sandbox was not POSIX compliant.
+ """
+
class Sandbox():
"""Sandbox()