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