diff options
author | Jacob Moody <moody@posixcafe.org> | 2022-07-10 13:13:03 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2022-07-10 13:13:03 +0000 |
commit | cd64b7129c81102c811b3df9a32ceb4004420f54 (patch) | |
tree | bc8161000151108fe7e128edcd6401790f22ebb5 /sys/man/8 | |
parent | 34dab15f408e8c272af406010b2bc6e5f7b1c473 (diff) |
auth/box: -s, -. flags
-. decides where we chdir to before execing, we can't
sit where we are because our directory may not exist.
If not specified we go to '/'.
-s is used to source a rc script instead of execing cmd.
This is primarily to enable:
'#!/bin/auth/box -s'
Shebang line size is a bit tight(32), so we have this shorthand
to use rc along with setting up the required namespace components.
Diffstat (limited to 'sys/man/8')
-rw-r--r-- | sys/man/8/auth | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/man/8/auth b/sys/man/8/auth index e31730a30..9c80885b9 100644 --- a/sys/man/8/auth +++ b/sys/man/8/auth @@ -296,7 +296,11 @@ removes access to all kernel drivers from the child namespace; the .B -e flag specifies a string of driver -characters to keep. +characters to keep. The +.B -s +flag gives a base set of namespace +components, ones expected by rc, then passes +the first argument as a script file to rc. .PP .I As executes |