aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-12-09 23:14:33 +0000
committerLibravatar GitHub <noreply@github.com>2020-12-09 23:14:33 +0000
commita8ad436d7e6f4464bdcc7464aa7df6cb4d0177af (patch)
tree2102d820f73b6dc37408d57f396b97e8b5f5c86c /etc
parentfixes (diff)
downloadfirejail-a8ad436d7e6f4464bdcc7464aa7df6cb4d0177af.tar.gz
firejail-a8ad436d7e6f4464bdcc7464aa7df6cb4d0177af.tar.zst
firejail-a8ad436d7e6f4464bdcc7464aa7df6cb4d0177af.zip
harden sysprof (#3802)
Diffstat (limited to 'etc')
-rw-r--r--etc/profile-m-z/sysprof.profile33
1 files changed, 25 insertions, 8 deletions
diff --git a/etc/profile-m-z/sysprof.profile b/etc/profile-m-z/sysprof.profile
index ad3346285..9e9d2a448 100644
--- a/etc/profile-m-z/sysprof.profile
+++ b/etc/profile-m-z/sysprof.profile
@@ -6,6 +6,7 @@ include sysprof.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${DOCUMENTS}
9include disable-common.inc 10include disable-common.inc
10include disable-devel.inc 11include disable-devel.inc
11include disable-exec.inc 12include disable-exec.inc
@@ -14,6 +15,19 @@ include disable-passwdmgr.inc
14include disable-programs.inc 15include disable-programs.inc
15include disable-xdg.inc 16include disable-xdg.inc
16 17
18# help menu functionality (yelp) - comment or add this block prepended with 'ignore'
19# to your sysprof.local if you don't need the help functionality
20noblacklist ${HOME}/.config/yelp
21mkdir ${HOME}/.config/yelp
22whitelist ${HOME}/.config/yelp
23whitelist /usr/share/help/C/sysprof
24whitelist /usr/share/yelp
25whitelist /usr/share/yelp-tools
26whitelist /usr/share/yelp-xsl
27
28whitelist ${DOCUMENTS}
29include whitelist-common.inc
30include whitelist-runuser-common.inc
17include whitelist-usr-share-common.inc 31include whitelist-usr-share-common.inc
18include whitelist-var-common.inc 32include whitelist-var-common.inc
19 33
@@ -26,27 +40,30 @@ no3d
26nodvd 40nodvd
27nogroups 41nogroups
28nonewprivs 42nonewprivs
29# Ubuntu 16.04 version needs root privileges - uncomment or put in sysprof.local if you don't use that 43# Ubuntu 16.04 version needs root privileges - comment or put 'ignore noroot' in sysprof.local if you run Xenial
30#noroot 44noroot
31nosound 45nosound
32notv 46notv
33nou2f 47nou2f
34novideo 48novideo
35protocol unix,netlink 49protocol unix,netlink
50seccomp
36shell none 51shell none
37tracelog 52tracelog
38 53
39disable-mnt 54disable-mnt
40#private-bin sysprof - breaks GUI help menu 55#private-bin sysprof - breaks help menu
41private-cache 56private-cache
42private-dev 57private-dev
43private-etc alternatives,fonts,ld.so.cache,machine-id,ssl 58private-etc alternatives,fonts,ld.so.cache,machine-id,ssl
44# private-lib breaks GUI help menu 59# private-lib breaks help menu
45#private-lib gdk-pixbuf-2.*,gio,gtk3,gvfs/libgvfscommon.so,libgconf-2.so.*,librsvg-2.so.*,libsysprof-2.so,libsysprof-ui-2.so 60#private-lib gdk-pixbuf-2.*,gio,gtk3,gvfs/libgvfscommon.so,libgconf-2.so.*,librsvg-2.so.*,libsysprof-2.so,libsysprof-ui-2.so
46private-tmp 61private-tmp
47 62
48# makes settings immutable 63dbus-user filter
49# dbus-user none 64dbus-user.own org.gnome.Shell
50# dbus-system none 65dbus-user.own org.gnome.Yelp
66dbus-user.own org.gnome.Sysprof3
67dbus-user.talk ca.desrt.dconf
51 68
52# memory-deny-write-execute - Breaks GUI on Arch 69# memory-deny-write-execute - breaks on Arch