Skip to content

Commit ef3f90a

Browse files
WhyNotHugonavi-desu
authored andcommitted
Document capabilities and secbits
See: #970
1 parent 2059072 commit ef3f90a

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

man/openrc-run.8

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,23 @@ which will export
259259
.Ar $NOTIFY_SOCKET
260260
and listen for notifications. At the moment supporting
261261
.Ar READY=1 Ns .
262+
.El
263+
.Pp
264+
The following options affect the ambient capabilities of processes on Linux.
265+
See
266+
.Xr capabilities 7 .
267+
.Bl -tag -width "RC_DEFAULTLEVEL"
262268
.It Ar no_new_privs
263269
Set no_new_privs on the daemon process, preventing it from gaining any
264270
additional privilege, including through setuid/setgid binaries, file
265-
capabilities, etc. See
266-
.Xr capabilities 7 .
271+
capabilities, etc.
272+
.It Ar capabilities Ar CAPABILITIES
273+
Set additional ambient capabilities for the process.
274+
.It Ar secbits AR SECBITS
275+
Set the
276+
.Fl securebits
277+
for the process, adjusting how the kernel treats ambient capabilities for this
278+
process.
267279
.El
268280
.Sh DEPENDENCIES
269281
You should define a

0 commit comments

Comments
 (0)