diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-02-20 04:03:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 04:03:00 +0000 |
commit | f636d1f775e6e7c825496d66b03cd28872987e68 (patch) | |
tree | 56d402a0ab68cd53501b8b571ee37e4259c590ab | |
parent | Merge pull request #2426 from glitsj16/font-manager (diff) | |
parent | Add subdownloader config to disable-programs.inc (diff) | |
download | firejail-f636d1f775e6e7c825496d66b03cd28872987e68.tar.gz firejail-f636d1f775e6e7c825496d66b03cd28872987e68.tar.zst firejail-f636d1f775e6e7c825496d66b03cd28872987e68.zip |
Merge pull request #2427 from glitsj16/subdownloader
Add subdownloader profile
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/subdownloader.profile | 46 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 48 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 6bcb5e46c..0c7a8b020 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -93,6 +93,7 @@ blacklist ${HOME}/.config/Rocket.Chat | |||
93 | blacklist ${HOME}/.config/Signal | 93 | blacklist ${HOME}/.config/Signal |
94 | blacklist ${HOME}/.config/Slack | 94 | blacklist ${HOME}/.config/Slack |
95 | blacklist ${HOME}/.config/Standard Notes | 95 | blacklist ${HOME}/.config/Standard Notes |
96 | blacklist ${HOME}/.config/SubDownloader | ||
96 | blacklist ${HOME}/.config/Thunar | 97 | blacklist ${HOME}/.config/Thunar |
97 | blacklist ${HOME}/.config/VirtualBox | 98 | blacklist ${HOME}/.config/VirtualBox |
98 | blacklist ${HOME}/.config/Wire | 99 | blacklist ${HOME}/.config/Wire |
diff --git a/etc/subdownloader.profile b/etc/subdownloader.profile new file mode 100644 index 000000000..009cf65df --- /dev/null +++ b/etc/subdownloader.profile | |||
@@ -0,0 +1,46 @@ | |||
1 | # Firejail profile for subdownloader | ||
2 | # Description: Automatic download/upload of subtitles using fast hashing | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include subdownloader.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/SubDownloader | ||
10 | noblacklist ${VIDEOS} | ||
11 | |||
12 | # Allow python (blacklisted by disable-interpreters.inc) | ||
13 | noblacklist ${PATH}/python2* | ||
14 | noblacklist ${PATH}/python3* | ||
15 | noblacklist /usr/lib/python2* | ||
16 | noblacklist /usr/lib/python3* | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-interpreters.inc | ||
21 | include disable-passwdmgr.inc | ||
22 | include disable-programs.inc | ||
23 | include disable-xdg.inc | ||
24 | |||
25 | apparmor | ||
26 | caps.drop all | ||
27 | netfilter | ||
28 | nodbus | ||
29 | nodvd | ||
30 | nogroups | ||
31 | nonewprivs | ||
32 | noroot | ||
33 | notv | ||
34 | nou2f | ||
35 | protocol unix,inet,inet6 | ||
36 | seccomp | ||
37 | shell none | ||
38 | |||
39 | private-cache | ||
40 | private-dev | ||
41 | private-etc alternatives,fonts | ||
42 | private-tmp | ||
43 | |||
44 | # memory-deny-write-execute - Breaks on Arch | ||
45 | noexec ${HOME} | ||
46 | noexec /tmp | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index bb035445f..cddb4bb12 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -415,6 +415,7 @@ steam | |||
415 | steam-native | 415 | steam-native |
416 | stellarium | 416 | stellarium |
417 | strings | 417 | strings |
418 | subdownloader | ||
418 | supertux2 | 419 | supertux2 |
419 | supertuxkart | 420 | supertuxkart |
420 | surf | 421 | surf |