Skip to content

Commit

Permalink
Merge pull request #1094 from thaJeztah/warn_caps
Browse files Browse the repository at this point in the history
Runtime should WARN / ignore capabilities that cannot be granted
  • Loading branch information
tianon authored Mar 26, 2021
2 parents 9c848d9 + 8c363e8 commit 1c3f411
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,11 @@ For Linux-based systems, the `process` object supports the following process-spe
For more information about AppArmor, see [AppArmor documentation][apparmor].
* **`capabilities`** (object, OPTIONAL) is an object containing arrays that specifies the sets of capabilities for the process.
Valid values are defined in the [capabilities(7)][capabilities.7] man page, such as `CAP_CHOWN`.
Any value which cannot be mapped to a relevant kernel interface MUST cause an error.
Any value which cannot be mapped to a relevant kernel interface, or cannot
be granted otherwise MUST be [logged as a warning](runtime.md#warnings) by
the runtime. Runtimes SHOULD NOT fail if the container configuration requests
capabilities that cannot be granted, for example, if the runtime operates in
a restricted environment with a limited set of capabilities.
`capabilities` contains the following properties:

* **`effective`** (array of strings, OPTIONAL) the `effective` field is an array of effective capabilities that are kept for the process.
Expand Down

0 comments on commit 1c3f411

Please sign in to comment.