aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Lockdis <45907176+Lockdis@users.noreply.github.com>2019-01-24 18:59:08 +0100
committerLibravatar Lockdis <45907176+Lockdis@users.noreply.github.com>2019-01-24 18:59:08 +0100
commit8c8a62f238feba0151f780d8a788b1f01aa33b42 (patch)
tree53a9aebe33fe1404ab392f9d5628ad99b29e8e5b
parentadd crow (diff)
downloadfirejail-8c8a62f238feba0151f780d8a788b1f01aa33b42.tar.gz
firejail-8c8a62f238feba0151f780d8a788b1f01aa33b42.tar.zst
firejail-8c8a62f238feba0151f780d8a788b1f01aa33b42.zip
Update nyx.profile, crow.profile
-rw-r--r--etc/crow.profile14
-rw-r--r--etc/nyx.profile18
2 files changed, 8 insertions, 24 deletions
diff --git a/etc/crow.profile b/etc/crow.profile
index 14145ffea..a8a00f596 100644
--- a/etc/crow.profile
+++ b/etc/crow.profile
@@ -1,16 +1,13 @@
1# Firejail profile for crow 1# Firejail profile for crow
2# Description: A translator that allows to translate and say selected text using Google, Yandex and Bing translate API
2# This file is overwritten after every install/update 3# This file is overwritten after every install/update
3# Persistent local customizations 4# Persistent local customizations
4include crow.local 5include crow.local
5# Persistent global definitions 6# Persistent global definitions
6include globals.local 7include globals.local
7 8
8noblacklist ${HOME}/.config/crow
9noblacklist ${HOME}/.cache/gstreamer-1.0
10
11mkdir ${HOME}/.config/crow 9mkdir ${HOME}/.config/crow
12mkdir ${HOME}/.cache/gstreamer-1.0 10mkdir ${HOME}/.cache/gstreamer-1.0
13
14whitelist ${HOME}/.config/crow 11whitelist ${HOME}/.config/crow
15whitelist ${HOME}/.cache/gstreamer-1.0 12whitelist ${HOME}/.cache/gstreamer-1.0
16 13
@@ -23,35 +20,28 @@ include disable-xdg.inc
23 20
24include whitelist-common.inc 21include whitelist-common.inc
25 22
26# apparmor
27caps.drop all 23caps.drop all
28# ipc-namespace 24ipc-namespace
29netfilter 25netfilter
30no3d 26no3d
31nodbus
32nodvd 27nodvd
33nogroups 28nogroups
34nonewprivs 29nonewprivs
35noroot 30noroot
36# nosound
37notv 31notv
38nou2f 32nou2f
39novideo 33novideo
40protocol unix,inet,inet6,netlink 34protocol unix,inet,inet6,netlink
41seccomp 35seccomp
42shell none 36shell none
43# tracelog
44 37
45disable-mnt 38disable-mnt
46private-bin crow 39private-bin crow
47# private-cache
48private-dev 40private-dev
49private-etc ca-certificates,ssl,machine-id,dconf,nsswitch.conf,resolv.conf,fonts,asound.conf,pulse,pki,crypto-policies 41private-etc ca-certificates,ssl,machine-id,dconf,nsswitch.conf,resolv.conf,fonts,asound.conf,pulse,pki,crypto-policies
50# private-lib
51private-opt none 42private-opt none
52private-tmp 43private-tmp
53private-srv none 44private-srv none
54 45
55# memory-deny-write-execute
56noexec ${HOME} 46noexec ${HOME}
57noexec /tmp 47noexec /tmp
diff --git a/etc/nyx.profile b/etc/nyx.profile
index aa3275a00..d5e1e1f84 100644
--- a/etc/nyx.profile
+++ b/etc/nyx.profile
@@ -1,20 +1,18 @@
1# Firejail profile for nyx 1# Firejail profile for nyx
2# Description: Command-line status monitor for tor
2# This file is overwritten after every install/update 3# This file is overwritten after every install/update
3# Persistent local customizations 4# Persistent local customizations
4include nyx.local 5include nyx.local
5# Persistent global definitions 6# Persistent global definitions
6include globals.local 7include globals.local
7 8
9noblacklist ${PATH}/python2*
8noblacklist ${PATH}/python3* 10noblacklist ${PATH}/python3*
9noblacklist /usr/include/python3* 11noblacklist /usr/lib/python2*
10noblacklist /usr/lib/python3* 12noblacklist /usr/lib/python3*
11noblacklist /usr/local/lib/python3*
12noblacklist /usr/share/python3*
13 13
14noblacklist ${HOME}/.nyx 14noblacklist ${HOME}/.nyx
15
16mkdir ${HOME}/.nyx 15mkdir ${HOME}/.nyx
17
18whitelist ${HOME}/.nyx 16whitelist ${HOME}/.nyx
19 17
20include disable-common.inc 18include disable-common.inc
@@ -24,9 +22,8 @@ include disable-passwdmgr.inc
24include disable-programs.inc 22include disable-programs.inc
25include disable-xdg.inc 23include disable-xdg.inc
26 24
27# apparmor
28caps.drop all 25caps.drop all
29# ipc-namespace 26ipc-namespace
30netfilter 27netfilter
31no3d 28no3d
32nodbus 29nodbus
@@ -41,18 +38,15 @@ novideo
41protocol unix,inet,inet6 38protocol unix,inet,inet6
42seccomp 39seccomp
43shell none 40shell none
44# tracelog
45 41
46disable-mnt 42disable-mnt
47private-bin nyx,python 43private-bin nyx,python*
48private-cache 44private-cache
49private-dev 45private-dev
50private-etc passwd,tor 46private-etc passwd,tor,fonts
51# private-lib
52private-opt none 47private-opt none
53private-srv none 48private-srv none
54private-tmp 49private-tmp
55 50
56# memory-deny-write-execute
57noexec ${HOME} 51noexec ${HOME}
58noexec /tmp 52noexec /tmp