summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/device-cgroup-rule.md
blob: 0ba3d46680ac05a62591e2189c6b458240163a9a (plain)
1
2
3
4
5
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)).