aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-10-25 12:26:17 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-10-25 12:26:17 -0400
commitb588020b4540480fdd3aaa11da8bd472b2dfdb60 (patch)
treef756c69ad1ca949e32037071640b9ae9e15c2538
parentMerge pull request #871 from Fred-Barclay/alphabetise (diff)
downloadfirejail-b588020b4540480fdd3aaa11da8bd472b2dfdb60.tar.gz
firejail-b588020b4540480fdd3aaa11da8bd472b2dfdb60.tar.zst
firejail-b588020b4540480fdd3aaa11da8bd472b2dfdb60.zip
fixes
-rw-r--r--README2
-rw-r--r--etc/disable-common.inc27
2 files changed, 24 insertions, 5 deletions
diff --git a/README b/README
index f4fd52666..6ed82907f 100644
--- a/README
+++ b/README
@@ -47,6 +47,7 @@ Aleksey Manevich (https://github.com/manevich)
47 - added --join-or-start command 47 - added --join-or-start command
48 - CVE-2016-7545 48 - CVE-2016-7545
49Fred-Barclay (https://github.com/Fred-Barclay) 49Fred-Barclay (https://github.com/Fred-Barclay)
50 - lots of profile fixes
50 - added Vivaldi, Atril profiles 51 - added Vivaldi, Atril profiles
51 - added PaleMoon profile 52 - added PaleMoon profile
52 - split Icedove and Thunderbird profiles 53 - split Icedove and Thunderbird profiles
@@ -83,6 +84,7 @@ valoq (https://github.com/valoq)
83 - cherrytree profile fixes 84 - cherrytree profile fixes
84 - added support for /srv in --whitelist feature 85 - added support for /srv in --whitelist feature
85 - Eye of GNOME and Evolution profiles 86 - Eye of GNOME and Evolution profiles
87 - blacklist suid binaries in disable-common.inc
86Rafael Cavalcanti (https://github.com/rccavalcanti) 88Rafael Cavalcanti (https://github.com/rccavalcanti)
87 - chromium profile fixes for Arch Linux 89 - chromium profile fixes for Arch Linux
88Deelvesh Bunjun (https://github.com/DeelveshBunjun) 90Deelvesh Bunjun (https://github.com/DeelveshBunjun)
diff --git a/etc/disable-common.inc b/etc/disable-common.inc
index 29de8cca9..3c0b2160c 100644
--- a/etc/disable-common.inc
+++ b/etc/disable-common.inc
@@ -137,6 +137,11 @@ blacklist /etc/gshadow+
137blacklist /etc/ssh 137blacklist /etc/ssh
138blacklist /var/backup 138blacklist /var/backup
139 139
140# system directories
141blacklist /sbin
142blacklist /usr/sbin
143blacklist /usr/local/sbin
144
140# system management 145# system management
141blacklist ${PATH}/umount 146blacklist ${PATH}/umount
142blacklist ${PATH}/mount 147blacklist ${PATH}/mount
@@ -149,11 +154,23 @@ blacklist ${PATH}/xev
149blacklist ${PATH}/strace 154blacklist ${PATH}/strace
150blacklist ${PATH}/nc 155blacklist ${PATH}/nc
151blacklist ${PATH}/ncat 156blacklist ${PATH}/ncat
152 157blacklist ${PATH}/gpasswd
153# system directories 158blacklist ${PATH}/newgidmap
154blacklist /sbin 159blacklist ${PATH}/newgrp
155blacklist /usr/sbin 160blacklist ${PATH}/newuidmap
156blacklist /usr/local/sbin 161blacklist ${PATH}/pkexec
162blacklist ${PATH}/sg
163blacklist ${PATH}/rsh
164blacklist ${PATH}/rlogin
165blacklist ${PATH}/rcp
166blacklist ${PATH}/crontab
167blacklist ${PATH}/ksu
168blacklist ${PATH}/chsh
169blacklist ${PATH}/chfn
170blacklist ${PATH}/chage
171blacklist ${PATH}/expiry
172blacklist ${PATH}/ping
173blacklist ${PATH}/unix_chkpwd
157 174
158# prevent lxterminal connecting to an existing lxterminal session 175# prevent lxterminal connecting to an existing lxterminal session
159blacklist /tmp/.lxterminal-socket* 176blacklist /tmp/.lxterminal-socket*