aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/usage.c
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-05-13 20:39:21 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2021-05-14 08:56:02 -0300
commit5a612029b6c88000eba3b1195eedb7169553b7fa (patch)
tree6cb34c5e4cc9a87bd687af880e1dcd1d83ca5f4e /src/firejail/usage.c
parentCI: build with clang 11 (#4277) (diff)
downloadfirejail-5a612029b6c88000eba3b1195eedb7169553b7fa.tar.gz
firejail-5a612029b6c88000eba3b1195eedb7169553b7fa.tar.zst
firejail-5a612029b6c88000eba3b1195eedb7169553b7fa.zip
rename noautopulse to keep-config-pulse
Changes: * add the keep-config-pulse option * make noautopulse an alias for keep-config-pulse * deprecate the noautopulse option * misc: fix indentation of --keep-dev-shm on src/firejail/usage.c Even though noautopulse is not intended for hardening, it looks like it is, because it starts with "no", just like no3d, noroot, etc). In fact, it is the only "no" option that differs in such a way. And it has been accidentally misused as such before; see PR #4269 and commit e4beaeaa8 ("drop noautopulse from agetpkg"). So effectively rename it to keep-config-pulse in order to avoid confusion. This is similar to the keep-var-tmp and keep-dev-shm options, which are used to "leave a path alone", just like noautopulse. Note: The changes on this patch are based on the ones from commit 617ff40c9 ("add --noautopulse arg for complex pulse setups") / PR #1854. See #4269 for the discussion.
Diffstat (limited to 'src/firejail/usage.c')
-rw-r--r--src/firejail/usage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/usage.c b/src/firejail/usage.c
index 397150158..15e4bd3ab 100644
--- a/src/firejail/usage.c
+++ b/src/firejail/usage.c
@@ -114,7 +114,8 @@ static char *usage_str =
114 " --join-network=name|pid - join the network namespace.\n" 114 " --join-network=name|pid - join the network namespace.\n"
115#endif 115#endif
116 " --join-or-start=name|pid - join the sandbox or start a new one.\n" 116 " --join-or-start=name|pid - join the sandbox or start a new one.\n"
117 " --keep-dev-shm - /dev/shm directory is untouched (even with --private-dev).\n" 117 " --keep-config-pulse - disable automatic ~/.config/pulse init.\n"
118 " --keep-dev-shm - /dev/shm directory is untouched (even with --private-dev).\n"
118 " --keep-var-tmp - /var/tmp directory is untouched.\n" 119 " --keep-var-tmp - /var/tmp directory is untouched.\n"
119 " --list - list all sandboxes.\n" 120 " --list - list all sandboxes.\n"
120#ifdef HAVE_FILE_TRANSFER 121#ifdef HAVE_FILE_TRANSFER