aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-04 22:30:06 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-04 22:30:06 -0400
commit062e21d65096640be11f63c69e950f0b97c7498e (patch)
tree25c5c91d4902bccbe29f6c474d78df4c4219df4d /etc
parentfix alphabetical ordering of caps.keep in slack.profile (diff)
downloadfirejail-062e21d65096640be11f63c69e950f0b97c7498e.tar.gz
firejail-062e21d65096640be11f63c69e950f0b97c7498e.tar.zst
firejail-062e21d65096640be11f63c69e950f0b97c7498e.zip
profile fixes
Diffstat (limited to 'etc')
-rw-r--r--etc/dig.profile3
-rw-r--r--etc/nslookup.profile5
-rw-r--r--etc/unknown-horizons.profile4
-rw-r--r--etc/whitelist-usr-share-common.inc1
4 files changed, 11 insertions, 2 deletions
diff --git a/etc/dig.profile b/etc/dig.profile
index 270a95c05..f283db962 100644
--- a/etc/dig.profile
+++ b/etc/dig.profile
@@ -25,6 +25,7 @@ include disable-xdg.inc
25#mkfile ${HOME}/.digrc -- see #903 25#mkfile ${HOME}/.digrc -- see #903
26whitelist ${HOME}/.digrc 26whitelist ${HOME}/.digrc
27include whitelist-common.inc 27include whitelist-common.inc
28include whitelist-runuser-common.inc
28include whitelist-usr-share-common.inc 29include whitelist-usr-share-common.inc
29include whitelist-var-common.inc 30include whitelist-var-common.inc
30 31
@@ -32,6 +33,7 @@ apparmor
32caps.drop all 33caps.drop all
33ipc-namespace 34ipc-namespace
34machine-id 35machine-id
36memory-deny-write-execute
35netfilter 37netfilter
36no3d 38no3d
37nodbus 39nodbus
@@ -49,7 +51,6 @@ shell none
49tracelog 51tracelog
50 52
51disable-mnt 53disable-mnt
52private
53private-bin bash,dig,sh 54private-bin bash,dig,sh
54private-dev 55private-dev
55# Uncomment the next line (or put 'private-lib' in your dig.local) on non Debian/Ubuntu OS (see issue #3038) 56# Uncomment the next line (or put 'private-lib' in your dig.local) on non Debian/Ubuntu OS (see issue #3038)
diff --git a/etc/nslookup.profile b/etc/nslookup.profile
index 4aa1cfcbf..9ed6ef1e9 100644
--- a/etc/nslookup.profile
+++ b/etc/nslookup.profile
@@ -21,6 +21,9 @@ include disable-passwdmgr.inc
21include disable-programs.inc 21include disable-programs.inc
22include disable-xdg.inc 22include disable-xdg.inc
23 23
24whitelist ${HOME}/.nslookuprc
25include whitelist-common.inc
26include whitelist-runuser-common.inc
24include whitelist-usr-share-common.inc 27include whitelist-usr-share-common.inc
25include whitelist-var-common.inc 28include whitelist-var-common.inc
26 29
@@ -28,6 +31,7 @@ apparmor
28caps.drop all 31caps.drop all
29ipc-namespace 32ipc-namespace
30machine-id 33machine-id
34memory-deny-write-execute
31netfilter 35netfilter
32no3d 36no3d
33nodbus 37nodbus
@@ -45,7 +49,6 @@ shell none
45tracelog 49tracelog
46 50
47disable-mnt 51disable-mnt
48private
49private-bin bash,nslookup,sh 52private-bin bash,nslookup,sh
50private-dev 53private-dev
51private-tmp 54private-tmp
diff --git a/etc/unknown-horizons.profile b/etc/unknown-horizons.profile
index 1e623f9ce..489de67bb 100644
--- a/etc/unknown-horizons.profile
+++ b/etc/unknown-horizons.profile
@@ -16,10 +16,14 @@ include disable-programs.inc
16mkdir ${HOME}/.unknown-horizons 16mkdir ${HOME}/.unknown-horizons
17whitelist ${HOME}/.unknown-horizons 17whitelist ${HOME}/.unknown-horizons
18include whitelist-common.inc 18include whitelist-common.inc
19include whitelist-runuser-common.inc
20whitelist /usr/share/unknown-horizons
21include whitelist-usr-share-common.inc
19include whitelist-var-common.inc 22include whitelist-var-common.inc
20 23
21apparmor 24apparmor
22caps.drop all 25caps.drop all
26# memory-deny-write-execute - doesn't work
23nodvd 27nodvd
24nogroups 28nogroups
25nonewprivs 29nonewprivs
diff --git a/etc/whitelist-usr-share-common.inc b/etc/whitelist-usr-share-common.inc
index 8a0f6774a..193b00a2a 100644
--- a/etc/whitelist-usr-share-common.inc
+++ b/etc/whitelist-usr-share-common.inc
@@ -50,6 +50,7 @@ whitelist /usr/share/qt4
50whitelist /usr/share/qt5 50whitelist /usr/share/qt5
51whitelist /usr/share/sounds 51whitelist /usr/share/sounds
52whitelist /usr/share/tcl8.6 52whitelist /usr/share/tcl8.6
53whitelist /usr/share/tcltk
53whitelist /usr/share/terminfo 54whitelist /usr/share/terminfo
54whitelist /usr/share/texlive 55whitelist /usr/share/texlive
55whitelist /usr/share/texmf 56whitelist /usr/share/texmf