Skip to content

Commit

Permalink
Merge pull request #959 from kinvolk/alban/957-device-owners
Browse files Browse the repository at this point in the history
Linux devices: uid/gid relative to container
  • Loading branch information
crosbymichael authored Apr 5, 2018
2 parents c09d7f4 + e662e5c commit 3234dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ Each entry has the following structure:
* **`major, minor`** *(int64, REQUIRED unless `type` is `p`)* - [major, minor numbers][devices] for the device.
* **`fileMode`** *(uint32, OPTIONAL)* - file mode for the device.
You can also control access to devices [with cgroups](#device-whitelist).
* **`uid`** *(uint32, OPTIONAL)* - id of device owner.
* **`gid`** *(uint32, OPTIONAL)* - id of device group.
* **`uid`** *(uint32, OPTIONAL)* - id of device owner in the [container namespace](glossary.md#container-namespace).
* **`gid`** *(uint32, OPTIONAL)* - id of device group in the [container namespace](glossary.md#container-namespace).

The same `type`, `major` and `minor` SHOULD NOT be used for multiple devices.

Expand Down

0 comments on commit 3234dc8

Please sign in to comment.