Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c635d0 commit 2cdde52Copy full SHA for 2cdde52
dived.1
@@ -264,6 +264,16 @@ set and lock SECBIT_NO_SETUID_FIXUP and SECBIT_NOROOT
264
This makes root user (uid=0) non-special for the kernel.
265
To be used in conjunction with capabilities (-B and -c options).
266
267
+.TP
268
+.B -m, --ambient-capabilities
269
+
270
+Make specified permitted and inheritable capabilities ambient, allowing them to be preserved across execve.
271
272
+Minimum Linux kernel version is 4.3
273
274
+Example:
275
276
+USER=vi HOME=/home/vi dived -J -S -T -c CAP_NET_BIND_SERVICE+ip -m CAP_NET_BIND_SERVICE -u vi -- bash
277
278
.TP
279
.B -M, --no-umask
0 commit comments