Skip to content

Commit b615011

Browse files
committed
docs: Expand description of no-new-privileges
Fixes: #25853 Signed-off-by: Alexander Gramiak <[email protected]>
1 parent 2a9b149 commit b615011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/markdown/options/security-opt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Note: Labeling can be disabled for all <<|pods/>>containers by setting label=fal
2222

2323
- **mask**=_/path/1:/path/2_: The paths to mask separated by a colon. A masked path cannot be accessed inside the container<<s within the pod|>>.
2424

25-
- **no-new-privileges**: Disable container processes from gaining additional privileges.
25+
- **no-new-privileges**: Disable container processes from gaining additional privileges through the `execve(2)` system call (e.g. via setuid or setgid bits, or via file capabilities). Programs that rely on setuid/setgid bits set on their executable to change user id or group id are no longer able to do so, and any file capabilities added to the executable (e.g. via `setcap`) are not added to the permitted capability set. For more details, see: https://docs.kernel.org/userspace-api/no_new_privs.html.
2626

2727
- **seccomp=unconfined**: Turn off seccomp confinement for the <<container|pod>>.
2828
- **seccomp=profile.json**: JSON file to be used as a seccomp filter. Note that the `io.podman.annotations.seccomp` annotation is set with the specified value as shown in `podman inspect`.

0 commit comments

Comments
 (0)