Skip to content

Commit c997e61

Browse files
author
Ma Shimiao
committed
access of device cgroup is optional depends on type
Signed-off-by: Ma Shimiao <[email protected]>
1 parent ec96974 commit c997e61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config-linux.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ Each entry has the following structure:
222222

223223
* **`allow`** *(boolean, REQUIRED)* - whether the entry is allowed or denied.
224224
* **`type`** *(string, OPTIONAL)* - type of device: `a` (all), `c` (char), or `b` (block).
225-
Unset values mean "all", mapping to `a`.
225+
Unset value means "all", mapping to `a`.
226226
* **`major, minor`** *(int64, OPTIONAL)* - [major, minor numbers][devices] for the device.
227-
Unset values mean "all", mapping to [`*` in the filesystem API][cgroup-v1-devices].
228-
* **`access`** *(string, OPTIONAL)* - cgroup permissions for device.
227+
Unset value means "all", mapping to [`*` in the filesystem API][cgroup-v1-devices].
228+
* **`access`** *(string, REQUIRED unless `type` is `a`)* - cgroup permissions for device.
229229
A composition of `r` (read), `w` (write), and `m` (mknod).
230230

231231
#### Example

0 commit comments

Comments
 (0)