diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firecfg/firecfg.config | 3 | ||||
-rw-r--r-- | src/firejail/fs.c | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 2ed70664b..251b23905 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -156,6 +156,7 @@ dig | |||
156 | digikam | 156 | digikam |
157 | dillo | 157 | dillo |
158 | dino | 158 | dino |
159 | dino-im | ||
159 | discord | 160 | discord |
160 | discord-canary | 161 | discord-canary |
161 | display | 162 | display |
@@ -441,6 +442,7 @@ min | |||
441 | mindless | 442 | mindless |
442 | minetest | 443 | minetest |
443 | mirrormagic | 444 | mirrormagic |
445 | mocp | ||
444 | mousepad | 446 | mousepad |
445 | mp3splt | 447 | mp3splt |
446 | mp3splt-gtk | 448 | mp3splt-gtk |
@@ -549,6 +551,7 @@ planmaker18 | |||
549 | planmaker18free | 551 | planmaker18free |
550 | playonlinux | 552 | playonlinux |
551 | pluma | 553 | pluma |
554 | plv | ||
552 | pngquant | 555 | pngquant |
553 | polari | 556 | polari |
554 | ppsspp | 557 | ppsspp |
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index b906f3047..2000ffc62 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -111,6 +111,13 @@ static void disable_file(OPERATION op, const char *filename) { | |||
111 | return; | 111 | return; |
112 | } | 112 | } |
113 | 113 | ||
114 | // check for firejail executable | ||
115 | // we migth have a file found in ${PATH} pointing to /usr/bin/firejail | ||
116 | // blacklisting it here will end up breaking situations like user clicks on a link in Thunderbird | ||
117 | // and expects Firefox to open in the same sandbox | ||
118 | if (strcmp(BINDIR "/firejail", fname) == 0) | ||
119 | return; | ||
120 | |||
114 | // modify the file | 121 | // modify the file |
115 | if (op == BLACKLIST_FILE || op == BLACKLIST_NOLOG) { | 122 | if (op == BLACKLIST_FILE || op == BLACKLIST_NOLOG) { |
116 | // some distros put all executables under /usr/bin and make /bin a symbolic link | 123 | // some distros put all executables under /usr/bin and make /bin a symbolic link |