aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-12-10 00:29:27 +0000
committerLibravatar GitHub <noreply@github.com>2020-12-10 00:29:27 +0000
commitb9e6cd5272aac2837f68247bf531f770ff4e954f (patch)
treebf40cd612afafddb806576d951849a53be5182aa /etc
parentUpdate yelp.profile (#3803) (diff)
downloadfirejail-b9e6cd5272aac2837f68247bf531f770ff4e954f.tar.gz
firejail-b9e6cd5272aac2837f68247bf531f770ff4e954f.tar.zst
firejail-b9e6cd5272aac2837f68247bf531f770ff4e954f.zip
minor hardenings and comments
Diffstat (limited to 'etc')
-rw-r--r--etc/profile-m-z/yelp.profile13
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/profile-m-z/yelp.profile b/etc/profile-m-z/yelp.profile
index c06634d4c..7727f30e3 100644
--- a/etc/profile-m-z/yelp.profile
+++ b/etc/profile-m-z/yelp.profile
@@ -8,7 +8,6 @@ include globals.local
8 8
9noblacklist ${HOME}/.config/yelp 9noblacklist ${HOME}/.config/yelp
10 10
11noblacklist ${DOCUMENTS}
12include disable-common.inc 11include disable-common.inc
13include disable-devel.inc 12include disable-devel.inc
14include disable-exec.inc 13include disable-exec.inc
@@ -20,7 +19,6 @@ include disable-xdg.inc
20 19
21mkdir ${HOME}/.config/yelp 20mkdir ${HOME}/.config/yelp
22whitelist ${HOME}/.config/yelp 21whitelist ${HOME}/.config/yelp
23whitelist ${DOCUMENTS}
24whitelist /usr/share/doc 22whitelist /usr/share/doc
25whitelist /usr/share/groff 23whitelist /usr/share/groff
26whitelist /usr/share/help 24whitelist /usr/share/help
@@ -35,11 +33,13 @@ include whitelist-var-common.inc
35 33
36apparmor 34apparmor
37caps.drop all 35caps.drop all
36machine-id
38net none 37net none
39nodvd 38nodvd
40nogroups 39nogroups
41nonewprivs 40nonewprivs
42noroot 41noroot
42nosound
43notv 43notv
44nou2f 44nou2f
45novideo 45novideo
@@ -61,9 +61,14 @@ dbus-user.own org.gnome.Yelp
61dbus-user.talk ca.desrt.dconf 61dbus-user.talk ca.desrt.dconf
62dbus-system none 62dbus-system none
63 63
64# read-only ${HOME} breaks some unnecesarry features: 64# read-only ${HOME} breaks some features:
65# 1. yelp --editor-mode 65# 1. yelp --editor-mode
66# 2. saving the window geometry 66# 2. saving the window geometry
67# comment the line below or put 'ignore read-only ${HOME}' into your yelp.local if you need it 67# comment the line below or put 'ignore read-only ${HOME}' into your yelp.local if you need these features
68read-only ${HOME} 68read-only ${HOME}
69read-write ${HOME}/.cache 69read-write ${HOME}/.cache
70# 3. printing to PDF in ${DOCUMENTS}
71# additionally uncomment the lines below or put 'noblacklist ${DOCUMENTS}' and
72# 'whitelist ${DOCUMENTS}' into your yelp.local if you need printing to PDF support
73#noblacklist ${DOCUMENTS}
74#whitelist ${DOCUMENTS}