diff options
author | Lockdis <45907176+Lockdis@users.noreply.github.com> | 2019-01-24 12:19:50 +0100 |
---|---|---|
committer | Lockdis <45907176+Lockdis@users.noreply.github.com> | 2019-01-24 12:19:50 +0100 |
commit | 63cd84ed57fd006b3679ec3466ab5aff12c5c4b4 (patch) | |
tree | 49080da50e280ed5ce1d170a23420ecac8454c17 | |
parent | fix skypeforlinux (diff) | |
download | firejail-63cd84ed57fd006b3679ec3466ab5aff12c5c4b4.tar.gz firejail-63cd84ed57fd006b3679ec3466ab5aff12c5c4b4.tar.zst firejail-63cd84ed57fd006b3679ec3466ab5aff12c5c4b4.zip |
add nyx, fix g earth pro
-rw-r--r-- | etc/disable-common.inc | 1 | ||||
-rw-r--r-- | etc/nyx.profile | 58 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 2 |
3 files changed, 61 insertions, 0 deletions
diff --git a/etc/disable-common.inc b/etc/disable-common.inc index 6a599893e..89c029a61 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc | |||
@@ -302,6 +302,7 @@ blacklist ${HOME}/.msmtprc | |||
302 | blacklist ${HOME}/.mutt | 302 | blacklist ${HOME}/.mutt |
303 | blacklist ${HOME}/.muttrc | 303 | blacklist ${HOME}/.muttrc |
304 | blacklist ${HOME}/.netrc | 304 | blacklist ${HOME}/.netrc |
305 | blacklist ${HOME}/.nyx | ||
305 | blacklist ${HOME}/.pki | 306 | blacklist ${HOME}/.pki |
306 | blacklist ${HOME}/.smbcredentials | 307 | blacklist ${HOME}/.smbcredentials |
307 | blacklist ${HOME}/.ssh | 308 | blacklist ${HOME}/.ssh |
diff --git a/etc/nyx.profile b/etc/nyx.profile new file mode 100644 index 000000000..aa3275a00 --- /dev/null +++ b/etc/nyx.profile | |||
@@ -0,0 +1,58 @@ | |||
1 | # Firejail profile for nyx | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include nyx.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | noblacklist ${PATH}/python3* | ||
9 | noblacklist /usr/include/python3* | ||
10 | noblacklist /usr/lib/python3* | ||
11 | noblacklist /usr/local/lib/python3* | ||
12 | noblacklist /usr/share/python3* | ||
13 | |||
14 | noblacklist ${HOME}/.nyx | ||
15 | |||
16 | mkdir ${HOME}/.nyx | ||
17 | |||
18 | whitelist ${HOME}/.nyx | ||
19 | |||
20 | include disable-common.inc | ||
21 | include disable-devel.inc | ||
22 | include disable-interpreters.inc | ||
23 | include disable-passwdmgr.inc | ||
24 | include disable-programs.inc | ||
25 | include disable-xdg.inc | ||
26 | |||
27 | # apparmor | ||
28 | caps.drop all | ||
29 | # ipc-namespace | ||
30 | netfilter | ||
31 | no3d | ||
32 | nodbus | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | nosound | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | protocol unix,inet,inet6 | ||
42 | seccomp | ||
43 | shell none | ||
44 | # tracelog | ||
45 | |||
46 | disable-mnt | ||
47 | private-bin nyx,python | ||
48 | private-cache | ||
49 | private-dev | ||
50 | private-etc passwd,tor | ||
51 | # private-lib | ||
52 | private-opt none | ||
53 | private-srv none | ||
54 | private-tmp | ||
55 | |||
56 | # memory-deny-write-execute | ||
57 | noexec ${HOME} | ||
58 | noexec /tmp | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 21dcd8f20..551133328 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -200,6 +200,7 @@ google-chrome-beta | |||
200 | google-chrome-stable | 200 | google-chrome-stable |
201 | google-chrome-unstable | 201 | google-chrome-unstable |
202 | google-earth | 202 | google-earth |
203 | google-earth-pro | ||
203 | google-play-music-desktop-player | 204 | google-play-music-desktop-player |
204 | gpa | 205 | gpa |
205 | gpicview | 206 | gpicview |
@@ -317,6 +318,7 @@ neverball | |||
317 | nheko | 318 | nheko |
318 | nitroshare | 319 | nitroshare |
319 | nylas | 320 | nylas |
321 | nyx | ||
320 | obs | 322 | obs |
321 | ocenaudio | 323 | ocenaudio |
322 | odt2txt | 324 | odt2txt |