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/xfce4-notes.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/xfce4-notes.profile')
-rw-r--r-- | etc/xfce4-notes.profile | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/etc/xfce4-notes.profile b/etc/xfce4-notes.profile index 737bb0a23..544225920 100644 --- a/etc/xfce4-notes.profile +++ b/etc/xfce4-notes.profile | |||
@@ -8,23 +8,26 @@ include /etc/firejail/xfce4-notes.local | |||
8 | noblacklist ${HOME}/.config/xfce4/xfce4-notes.rc | 8 | noblacklist ${HOME}/.config/xfce4/xfce4-notes.rc |
9 | noblacklist ${HOME}/.config/xfce4/xfce4-notes.gtkrc | 9 | noblacklist ${HOME}/.config/xfce4/xfce4-notes.gtkrc |
10 | noblacklist ${HOME}/.local/share/notes | 10 | noblacklist ${HOME}/.local/share/notes |
11 | |||
11 | include /etc/firejail/disable-common.inc | 12 | include /etc/firejail/disable-common.inc |
12 | include /etc/firejail/disable-programs.inc | 13 | include /etc/firejail/disable-devel.inc |
13 | include /etc/firejail/disable-passwdmgr.inc | 14 | include /etc/firejail/disable-passwdmgr.inc |
15 | include /etc/firejail/disable-programs.inc | ||
14 | 16 | ||
15 | caps.drop all | 17 | caps.drop all |
16 | netfilter | 18 | no3d |
19 | nogroups | ||
17 | nonewprivs | 20 | nonewprivs |
18 | noroot | 21 | noroot |
19 | protocol unix,inet,inet6 | 22 | nosound |
23 | novideo | ||
24 | protocol unix | ||
20 | seccomp | 25 | seccomp |
21 | |||
22 | # | ||
23 | # depending on your usage, you can enable some of the commands below: | ||
24 | # | ||
25 | nogroups | ||
26 | shell none | 26 | shell none |
27 | # private-bin program | 27 | |
28 | # private-etc none | ||
29 | private-dev | 28 | private-dev |
30 | # private-tmp | 29 | private-tmp |
30 | disable-mnt | ||
31 | |||
32 | noexec ${HOME} | ||
33 | noexec /tmp | ||