aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2018-03-28 22:24:20 -0400
committerLibravatar Tad <tad@spotco.us>2018-03-28 22:24:20 -0400
commit4c35ba3d383e1b749a61f245425cdf29812c1e0e (patch)
tree5b6140f693ef56244cd1b82b1437a10b7dadea2b /etc
parentvarious blacklist additions (diff)
downloadfirejail-4c35ba3d383e1b749a61f245425cdf29812c1e0e.tar.gz
firejail-4c35ba3d383e1b749a61f245425cdf29812c1e0e.tar.zst
firejail-4c35ba3d383e1b749a61f245425cdf29812c1e0e.zip
Add a profile for ncdu, enable private-etc in Steam again, and fixup gnome-recipes
Diffstat (limited to 'etc')
-rw-r--r--etc/gnome-recipes.profile2
-rw-r--r--etc/ncdu.profile29
-rw-r--r--etc/steam.profile8
3 files changed, 35 insertions, 4 deletions
diff --git a/etc/gnome-recipes.profile b/etc/gnome-recipes.profile
index 2392440a6..2f7657c0c 100644
--- a/etc/gnome-recipes.profile
+++ b/etc/gnome-recipes.profile
@@ -35,7 +35,7 @@ shell none
35disable-mnt 35disable-mnt
36private-bin gnome-recipes,tar 36private-bin gnome-recipes,tar
37private-dev 37private-dev
38private-etc ca-certificates,fonts,ssl 38private-etc ca-certificates,fonts,ssl,crypto-policies,pki
39# private-lib works for me with Gnome Shell 3.26.2, Mutter WM (Arch Linux) 39# private-lib works for me with Gnome Shell 3.26.2, Mutter WM (Arch Linux)
40# not widely tested though, leaving it to devs discretion to enable it later 40# not widely tested though, leaving it to devs discretion to enable it later
41#private-lib gdk-pixbuf-2.0,gio,gvfs/libgvfscommon.so,libgconf-2.so.4,libgnutls.so.30,libjpeg.so.8,libp11-kit.so.0,libproxy.so.1,librsvg-2.so.2 41#private-lib gdk-pixbuf-2.0,gio,gvfs/libgvfscommon.so,libgconf-2.so.4,libgnutls.so.30,libjpeg.so.8,libp11-kit.so.0,libproxy.so.1,librsvg-2.so.2
diff --git a/etc/ncdu.profile b/etc/ncdu.profile
new file mode 100644
index 000000000..ab79a325e
--- /dev/null
+++ b/etc/ncdu.profile
@@ -0,0 +1,29 @@
1# Firejail profile for ncdu
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/ncdu.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8caps.drop all
9ipc-namespace
10nodbus
11net none
12no3d
13nodvd
14nogroups
15nonewprivs
16noroot
17nosound
18notv
19novideo
20protocol unix
21seccomp
22shell none
23
24private-dev
25# private-tmp
26
27memory-deny-write-execute
28noexec ${HOME}
29noexec /tmp
diff --git a/etc/steam.profile b/etc/steam.profile
index 4965d3a54..e6449aa97 100644
--- a/etc/steam.profile
+++ b/etc/steam.profile
@@ -32,7 +32,9 @@ include /etc/firejail/disable-programs.inc
32include /etc/firejail/whitelist-var-common.inc 32include /etc/firejail/whitelist-var-common.inc
33 33
34caps.drop all 34caps.drop all
35#ipc-namespace
35netfilter 36netfilter
37#nodbus
36nodvd 38nodvd
37nogroups 39nogroups
38nonewprivs 40nonewprivs
@@ -44,10 +46,10 @@ protocol unix,inet,inet6,netlink
44seccomp 46seccomp
45shell none 47shell none
46# tracelog disabled as it breaks integrated browser 48# tracelog disabled as it breaks integrated browser
47# tracelog 49#tracelog
48 50
49# private-dev should be commented for controllers 51# private-dev should be commented for controllers
50private-dev 52private-dev
51# private-etc breaks some games 53# private-etc breaks a small selection of games on some systems, comment to support those
52#private-etc asound.conf,ca-certificates,dbus-1,drirc,fonts,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,ld.so.conf,ld.so.conf.d,localtime,lsb-release,machine-id,mime.types,passwd,pulse,resolv.conf,ssl,pki,services,crypto-policies 54private-etc asound.conf,ca-certificates,dbus-1,drirc,fonts,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,ld.so.conf,ld.so.conf.d,localtime,lsb-release,machine-id,mime.types,passwd,pulse,resolv.conf,ssl,pki,services,crypto-policies,alternatives
53private-tmp 55private-tmp