summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/file.profile2
-rw-r--r--etc/git.profile2
-rw-r--r--etc/gzip.profile2
-rw-r--r--etc/strings.profile2
-rw-r--r--etc/tar.profile2
-rw-r--r--etc/unrar.profile2
-rw-r--r--etc/unzip.profile2
-rw-r--r--etc/uudeview.profile2
-rw-r--r--etc/xzdec.profile2
-rw-r--r--src/firejail/run_symlink.c2
10 files changed, 9 insertions, 11 deletions
diff --git a/etc/file.profile b/etc/file.profile
index f709e7f0c..d145fe12a 100644
--- a/etc/file.profile
+++ b/etc/file.profile
@@ -1,4 +1,5 @@
1# file profile 1# file profile
2quiet
2include /etc/firejail/disable-common.inc 3include /etc/firejail/disable-common.inc
3include /etc/firejail/disable-programs.inc 4include /etc/firejail/disable-programs.inc
4include /etc/firejail/disable-passwdmgr.inc 5include /etc/firejail/disable-passwdmgr.inc
@@ -16,7 +17,6 @@ protocol unix
16seccomp 17seccomp
17shell none 18shell none
18tracelog 19tracelog
19quiet
20x11 none 20x11 none
21 21
22blacklist /tmp/.X11-unix 22blacklist /tmp/.X11-unix
diff --git a/etc/git.profile b/etc/git.profile
index edb59ce13..d60e58c03 100644
--- a/etc/git.profile
+++ b/etc/git.profile
@@ -1,4 +1,5 @@
1# git profile 1# git profile
2quiet
2noblacklist ~/.gitconfig 3noblacklist ~/.gitconfig
3noblacklist ~/.ssh 4noblacklist ~/.ssh
4noblacklist ~/.gnupg 5noblacklist ~/.gnupg
@@ -19,7 +20,6 @@ nonewprivs
19noroot 20noroot
20nosound 21nosound
21protocol unix,inet,inet6 22protocol unix,inet,inet6
22quiet
23seccomp 23seccomp
24shell none 24shell none
25 25
diff --git a/etc/gzip.profile b/etc/gzip.profile
index d51b9a951..feb27c150 100644
--- a/etc/gzip.profile
+++ b/etc/gzip.profile
@@ -1,4 +1,5 @@
1# gzip profile 1# gzip profile
2quiet
2ignore noroot 3ignore noroot
3include /etc/firejail/default.profile 4include /etc/firejail/default.profile
4 5
@@ -7,7 +8,6 @@ blacklist /tmp/.X11-unix
7net none 8net none
8no3d 9no3d
9nosound 10nosound
10quiet
11shell none 11shell none
12tracelog 12tracelog
13 13
diff --git a/etc/strings.profile b/etc/strings.profile
index 7c464bf88..2b7724b11 100644
--- a/etc/strings.profile
+++ b/etc/strings.profile
@@ -1,10 +1,10 @@
1# strings profile 1# strings profile
2quiet
2ignore noroot 3ignore noroot
3include /etc/firejail/default.profile 4include /etc/firejail/default.profile
4 5
5net none 6net none
6nosound 7nosound
7quiet
8shell none 8shell none
9tracelog 9tracelog
10 10
diff --git a/etc/tar.profile b/etc/tar.profile
index 91fdaf48d..3addb02fb 100644
--- a/etc/tar.profile
+++ b/etc/tar.profile
@@ -1,4 +1,5 @@
1# tar profile 1# tar profile
2quiet
2ignore noroot 3ignore noroot
3include /etc/firejail/default.profile 4include /etc/firejail/default.profile
4 5
@@ -8,7 +9,6 @@ hostname tar
8net none 9net none
9no3d 10no3d
10nosound 11nosound
11quiet
12shell none 12shell none
13tracelog 13tracelog
14 14
diff --git a/etc/unrar.profile b/etc/unrar.profile
index 0700cafe9..bde6f4e22 100644
--- a/etc/unrar.profile
+++ b/etc/unrar.profile
@@ -1,4 +1,5 @@
1# unrar profile 1# unrar profile
2quiet
2ignore noroot 3ignore noroot
3include /etc/firejail/default.profile 4include /etc/firejail/default.profile
4 5
@@ -8,7 +9,6 @@ hostname unrar
8net none 9net none
9no3d 10no3d
10nosound 11nosound
11quiet
12shell none 12shell none
13tracelog 13tracelog
14 14
diff --git a/etc/unzip.profile b/etc/unzip.profile
index a43785795..8c10d11a0 100644
--- a/etc/unzip.profile
+++ b/etc/unzip.profile
@@ -1,4 +1,5 @@
1# unzip profile 1# unzip profile
2quiet
2ignore noroot 3ignore noroot
3include /etc/firejail/default.profile 4include /etc/firejail/default.profile
4blacklist /tmp/.X11-unix 5blacklist /tmp/.X11-unix
@@ -7,7 +8,6 @@ hostname unzip
7net none 8net none
8no3d 9no3d
9nosound 10nosound
10quiet
11shell none 11shell none
12tracelog 12tracelog
13 13
diff --git a/etc/uudeview.profile b/etc/uudeview.profile
index 5ba0896ab..d5b750a13 100644
--- a/etc/uudeview.profile
+++ b/etc/uudeview.profile
@@ -1,4 +1,5 @@
1# uudeview profile 1# uudeview profile
2quiet
2ignore noroot 3ignore noroot
3include /etc/firejail/default.profile 4include /etc/firejail/default.profile
4 5
@@ -7,7 +8,6 @@ blacklist /etc
7hostname uudeview 8hostname uudeview
8net none 9net none
9nosound 10nosound
10quiet
11shell none 11shell none
12tracelog 12tracelog
13 13
diff --git a/etc/xzdec.profile b/etc/xzdec.profile
index 04f98cef6..6164e3200 100644
--- a/etc/xzdec.profile
+++ b/etc/xzdec.profile
@@ -1,4 +1,5 @@
1# xzdec profile 1# xzdec profile
2quiet
2ignore noroot 3ignore noroot
3include /etc/firejail/default.profile 4include /etc/firejail/default.profile
4 5
@@ -7,7 +8,6 @@ blacklist /tmp/.X11-unix
7net none 8net none
8no3d 9no3d
9nosound 10nosound
10quiet
11shell none 11shell none
12tracelog 12tracelog
13 13
diff --git a/src/firejail/run_symlink.c b/src/firejail/run_symlink.c
index a4dce405d..753c50208 100644
--- a/src/firejail/run_symlink.c
+++ b/src/firejail/run_symlink.c
@@ -90,8 +90,6 @@ void run_symlink(int argc, char **argv) {
90 if (asprintf(&firejail, "%s/bin/firejail", PREFIX) == -1) 90 if (asprintf(&firejail, "%s/bin/firejail", PREFIX) == -1)
91 errExit("asprintf"); 91 errExit("asprintf");
92 92
93 printf("Redirecting symlink to %s\n", program);
94
95 // drop privileges 93 // drop privileges
96 if (setgid(getgid()) < 0) 94 if (setgid(getgid()) < 0)
97 errExit("setgid/getgid"); 95 errExit("setgid/getgid");