summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/device-cgroup-rule.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/markdown/options/device-cgroup-rule.md')
-rw-r--r--docs/source/markdown/options/device-cgroup-rule.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/markdown/options/device-cgroup-rule.md b/docs/source/markdown/options/device-cgroup-rule.md
new file mode 100644
index 000000000..0ba3d4668
--- /dev/null
+++ b/docs/source/markdown/options/device-cgroup-rule.md
@@ -0,0 +1,6 @@
+#### **--device-cgroup-rule**=*"type major:minor mode"*
+
+Add a rule to the cgroup allowed devices list. The rule is expected to be in the format specified in the Linux kernel documentation (Documentation/cgroup-v1/devices.txt):
+ - type: a (all), c (char), or b (block);
+ - major and minor: either a number, or * for all;
+ - mode: a composition of r (read), w (write), and m (mknod(2)).