aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-06-03 07:02:31 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2022-06-03 07:02:31 -0400
commit6d0ff0c7db8d710ceae142a5cfd689bf100d57dc (patch)
tree8d7973ec02e518e2702e16e74981c8ad655a285a
parentMerge pull request #5172 from kmk3/ds-add-ids-paths (diff)
downloadfirejail-6d0ff0c7db8d710ceae142a5cfd689bf100d57dc.tar.gz
firejail-6d0ff0c7db8d710ceae142a5cfd689bf100d57dc.tar.zst
firejail-6d0ff0c7db8d710ceae142a5cfd689bf100d57dc.zip
enforce nonewprivs for --noprofile option
-rw-r--r--RELNOTES2
-rw-r--r--src/firejail/main.c2
-rw-r--r--src/man/firejail.txt2
3 files changed, 5 insertions, 1 deletions
diff --git a/RELNOTES b/RELNOTES
index 9df00d976..015c55201 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -1,8 +1,10 @@
1firejail (0.9.69) baseline; urgency=low 1firejail (0.9.69) baseline; urgency=low
2 * work in progress 2 * work in progress
3 * modif: --noprofile enforces nonewprivs
3 * feature: enable shell tab completion (#4936) 4 * feature: enable shell tab completion (#4936)
4 * feature: disable user profiles at compile time (#4990) 5 * feature: disable user profiles at compile time (#4990)
5 * rework: whitelist restructuring (#4985) 6 * rework: whitelist restructuring (#4985)
7 * rework: firemon, speed up lots of fixes
6 * bugfix: --private-cwd not expanding macros, broken hyperrogue (#4910) 8 * bugfix: --private-cwd not expanding macros, broken hyperrogue (#4910)
7 * bugfix: nogroups + wrc prints confusing messages (#4930 #4933) 9 * bugfix: nogroups + wrc prints confusing messages (#4930 #4933)
8 * bugfix: openSUSE Leap - whitelist-run-common.inc (#4954) 10 * bugfix: openSUSE Leap - whitelist-run-common.inc (#4954)
diff --git a/src/firejail/main.c b/src/firejail/main.c
index cbf9df79f..f3b656e2e 100644
--- a/src/firejail/main.c
+++ b/src/firejail/main.c
@@ -1875,6 +1875,8 @@ int main(int argc, char **argv, char **envp) {
1875 arg_noprofile = 1; 1875 arg_noprofile = 1;
1876 // force keep-config-pulse in order to keep ~/.config/pulse as is 1876 // force keep-config-pulse in order to keep ~/.config/pulse as is
1877 arg_keep_config_pulse = 1; 1877 arg_keep_config_pulse = 1;
1878 // force nonewprivs
1879 arg_nonewprivs = 1;
1878 } 1880 }
1879 else if (strncmp(argv[i], "--ignore=", 9) == 0) { 1881 else if (strncmp(argv[i], "--ignore=", 9) == 0) {
1880 if (custom_profile) { 1882 if (custom_profile) {
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 420a96ab5..f78b75346 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -1696,7 +1696,7 @@ Disable printers.
1696 1696
1697.TP 1697.TP
1698\fB\-\-noprofile 1698\fB\-\-noprofile
1699Do not use a security profile. 1699Do not use a security profile. nonewprivs is enforced for this option.
1700.br 1700.br
1701 1701
1702.br 1702.br