diff options
author | Tad <tad@spotco.us> | 2017-07-05 09:40:54 -0400 |
---|---|---|
committer | Tad <tad@spotco.us> | 2017-08-02 00:13:42 -0400 |
commit | 0dba38435ef92ccc01cc9ff23b69df55489ec983 (patch) | |
tree | dfd1d8db02f579183fa77acdbde9aa315596220f /etc/xpdf.profile | |
parent | x11/xpra support (diff) | |
download | firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.tar.gz firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.tar.zst firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.zip |
Harden profiles
- Added 'disable-devel.conf' to many profiles
- Added 'disable-mnt' to many profiles
- Added 'noexec' to many profiles
- Removed 'netfilter' and 'net none' from profiles with 'protocol unix'
- Cleaned up profiles using defaults
Diffstat (limited to 'etc/xpdf.profile')
-rw-r--r-- | etc/xpdf.profile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/etc/xpdf.profile b/etc/xpdf.profile index 5b3018ce8..1f2344e21 100644 --- a/etc/xpdf.profile +++ b/etc/xpdf.profile | |||
@@ -9,17 +9,25 @@ include /etc/firejail/xpdf.local | |||
9 | # xpdf application profile | 9 | # xpdf application profile |
10 | ################################ | 10 | ################################ |
11 | noblacklist ${HOME}/.xpdfrc | 11 | noblacklist ${HOME}/.xpdfrc |
12 | |||
12 | include /etc/firejail/disable-common.inc | 13 | include /etc/firejail/disable-common.inc |
13 | include /etc/firejail/disable-programs.inc | 14 | include /etc/firejail/disable-devel.inc |
14 | include /etc/firejail/disable-passwdmgr.inc | 15 | include /etc/firejail/disable-passwdmgr.inc |
16 | include /etc/firejail/disable-programs.inc | ||
15 | 17 | ||
16 | caps.drop all | 18 | caps.drop all |
17 | net none | 19 | no3d |
20 | nogroups | ||
18 | nonewprivs | 21 | nonewprivs |
19 | noroot | 22 | noroot |
23 | nosound | ||
24 | novideo | ||
20 | protocol unix | 25 | protocol unix |
21 | shell none | ||
22 | seccomp | 26 | seccomp |
27 | shell none | ||
23 | 28 | ||
24 | private-dev | 29 | private-dev |
25 | private-tmp | 30 | private-tmp |
31 | |||
32 | noexec ${HOME} | ||
33 | noexec /tmp | ||