aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Fred-Barclay <Fred-Barclay@users.noreply.github.com>2019-02-16 10:34:54 -0600
committerLibravatar Fred-Barclay <Fred-Barclay@users.noreply.github.com>2019-02-16 10:34:54 -0600
commit6ea7c5bc4fc6e44c475ea59fb76b79fa150407c2 (patch)
tree69c136de5dd79c05c9704c8be381bd89c5418f5d
parentMerge pull request #2402 from glitsj16/snap (diff)
parentUpdate nyx.profile, crow.profile (diff)
downloadfirejail-6ea7c5bc4fc6e44c475ea59fb76b79fa150407c2.tar.gz
firejail-6ea7c5bc4fc6e44c475ea59fb76b79fa150407c2.tar.zst
firejail-6ea7c5bc4fc6e44c475ea59fb76b79fa150407c2.zip
Merge branch 'master' of https://github.com/Lockdis/firejail into lockdis_ipc_fixes
-rw-r--r--etc/crow.profile47
-rw-r--r--etc/disable-common.inc1
-rw-r--r--etc/nyx.profile52
-rw-r--r--src/firecfg/firecfg.config3
4 files changed, 103 insertions, 0 deletions
diff --git a/etc/crow.profile b/etc/crow.profile
new file mode 100644
index 000000000..a8a00f596
--- /dev/null
+++ b/etc/crow.profile
@@ -0,0 +1,47 @@
1# Firejail profile for crow
2# Description: A translator that allows to translate and say selected text using Google, Yandex and Bing translate API
3# This file is overwritten after every install/update
4# Persistent local customizations
5include crow.local
6# Persistent global definitions
7include globals.local
8
9mkdir ${HOME}/.config/crow
10mkdir ${HOME}/.cache/gstreamer-1.0
11whitelist ${HOME}/.config/crow
12whitelist ${HOME}/.cache/gstreamer-1.0
13
14include disable-common.inc
15include disable-devel.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19include disable-xdg.inc
20
21include whitelist-common.inc
22
23caps.drop all
24ipc-namespace
25netfilter
26no3d
27nodvd
28nogroups
29nonewprivs
30noroot
31notv
32nou2f
33novideo
34protocol unix,inet,inet6,netlink
35seccomp
36shell none
37
38disable-mnt
39private-bin crow
40private-dev
41private-etc ca-certificates,ssl,machine-id,dconf,nsswitch.conf,resolv.conf,fonts,asound.conf,pulse,pki,crypto-policies
42private-opt none
43private-tmp
44private-srv none
45
46noexec ${HOME}
47noexec /tmp
diff --git a/etc/disable-common.inc b/etc/disable-common.inc
index f98f247d5..80ea918df 100644
--- a/etc/disable-common.inc
+++ b/etc/disable-common.inc
@@ -305,6 +305,7 @@ blacklist ${HOME}/.msmtprc
305blacklist ${HOME}/.mutt 305blacklist ${HOME}/.mutt
306blacklist ${HOME}/.muttrc 306blacklist ${HOME}/.muttrc
307blacklist ${HOME}/.netrc 307blacklist ${HOME}/.netrc
308blacklist ${HOME}/.nyx
308blacklist ${HOME}/.pki 309blacklist ${HOME}/.pki
309blacklist ${HOME}/.local/share/pki 310blacklist ${HOME}/.local/share/pki
310blacklist ${HOME}/.smbcredentials 311blacklist ${HOME}/.smbcredentials
diff --git a/etc/nyx.profile b/etc/nyx.profile
new file mode 100644
index 000000000..d5e1e1f84
--- /dev/null
+++ b/etc/nyx.profile
@@ -0,0 +1,52 @@
1# Firejail profile for nyx
2# Description: Command-line status monitor for tor
3# This file is overwritten after every install/update
4# Persistent local customizations
5include nyx.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${PATH}/python2*
10noblacklist ${PATH}/python3*
11noblacklist /usr/lib/python2*
12noblacklist /usr/lib/python3*
13
14noblacklist ${HOME}/.nyx
15mkdir ${HOME}/.nyx
16whitelist ${HOME}/.nyx
17
18include disable-common.inc
19include disable-devel.inc
20include disable-interpreters.inc
21include disable-passwdmgr.inc
22include disable-programs.inc
23include disable-xdg.inc
24
25caps.drop all
26ipc-namespace
27netfilter
28no3d
29nodbus
30nodvd
31nogroups
32nonewprivs
33noroot
34nosound
35notv
36nou2f
37novideo
38protocol unix,inet,inet6
39seccomp
40shell none
41
42disable-mnt
43private-bin nyx,python*
44private-cache
45private-dev
46private-etc passwd,tor,fonts
47private-opt none
48private-srv none
49private-tmp
50
51noexec ${HOME}
52noexec /tmp
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index f4d5b71d4..041ff1256 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -94,6 +94,7 @@ code
94conkeror 94conkeror
95conky 95conky
96corebird 96corebird
97crow
97cvlc 98cvlc
98cyberfox 99cyberfox
99darktable 100darktable
@@ -200,6 +201,7 @@ google-chrome-beta
200google-chrome-stable 201google-chrome-stable
201google-chrome-unstable 202google-chrome-unstable
202google-earth 203google-earth
204google-earth-pro
203google-play-music-desktop-player 205google-play-music-desktop-player
204gpa 206gpa
205gpicview 207gpicview
@@ -318,6 +320,7 @@ neverball
318nheko 320nheko
319nitroshare 321nitroshare
320nylas 322nylas
323nyx
321obs 324obs
322ocenaudio 325ocenaudio
323odt2txt 326odt2txt