diff options
author | 2019-08-21 04:27:55 -0700 | |
---|---|---|
committer | 2019-08-21 15:11:03 -0700 | |
commit | bd470dccbc5d5ab41fde0246dbddd565134aa03b (patch) | |
tree | e2e59cf3f1235da02571599ad118004d4a193f22 /etc | |
parent | Apply suggestions from code review (diff) | |
download | firejail-bd470dccbc5d5ab41fde0246dbddd565134aa03b.tar.gz firejail-bd470dccbc5d5ab41fde0246dbddd565134aa03b.tar.zst firejail-bd470dccbc5d5ab41fde0246dbddd565134aa03b.zip |
Applied further suggestions from code review
Diffstat (limited to 'etc')
-rw-r--r-- | etc/i2prouter.profile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/etc/i2prouter.profile b/etc/i2prouter.profile index 765b23a6a..1a44d8069 100644 --- a/etc/i2prouter.profile +++ b/etc/i2prouter.profile | |||
@@ -11,7 +11,7 @@ include globals.local | |||
11 | # This profile will not currently work with any Arch User Repository i2p packages, | 11 | # This profile will not currently work with any Arch User Repository i2p packages, |
12 | # use the distro-independent official java installer instead | 12 | # use the distro-independent official java installer instead |
13 | 13 | ||
14 | # Only needed if i2prouter binary is not in home directory, ubuntu official ppa package does this | 14 | # Only needed if i2prouter binary is in home directory, java installer does this |
15 | ignore noexec ${HOME} | 15 | ignore noexec ${HOME} |
16 | 16 | ||
17 | noblacklist ${HOME}/.config/i2p | 17 | noblacklist ${HOME}/.config/i2p |
@@ -23,6 +23,7 @@ noblacklist /usr/sbin | |||
23 | 23 | ||
24 | # Allow java (blacklisted by disable-devel.inc) | 24 | # Allow java (blacklisted by disable-devel.inc) |
25 | include allow-java.inc | 25 | include allow-java.inc |
26 | |||
26 | include disable-common.inc | 27 | include disable-common.inc |
27 | include disable-devel.inc | 28 | include disable-devel.inc |
28 | include disable-exec.inc | 29 | include disable-exec.inc |
@@ -31,13 +32,19 @@ include disable-passwdmgr.inc | |||
31 | include disable-programs.inc | 32 | include disable-programs.inc |
32 | include disable-xdg.inc | 33 | include disable-xdg.inc |
33 | 34 | ||
34 | whitelist ${HOME}/.config/I2P | 35 | mkdir ${HOME}/.config/i2p |
36 | mkdir ${HOME}/.i2p | ||
37 | mkdir ${HOME}/.local/share/i2p | ||
38 | mkdir ${HOME}/i2p | ||
39 | whitelist ${HOME}/.config/i2p | ||
35 | whitelist ${HOME}/.i2p | 40 | whitelist ${HOME}/.i2p |
36 | whitelist ${HOME}/.local/share/I2P | 41 | whitelist ${HOME}/.local/share/i2p |
37 | whitelist ${HOME}/i2p | 42 | whitelist ${HOME}/i2p |
38 | # Only needed if wrapper is placed in /usr/sbin/, ubuntu official ppa package does this | 43 | # Only needed if wrapper is placed in /usr/sbin/, ubuntu official ppa package does this |
39 | whitelist /usr/sbin/wrapper* | 44 | whitelist /usr/sbin/wrapper* |
40 | 45 | ||
46 | include whitelist-common.inc | ||
47 | |||
41 | # May break I2P if wrapper is placed in the home directory | 48 | # May break I2P if wrapper is placed in the home directory |
42 | # If using ubuntu official ppa, this should be fine to uncomment, as it puts wrapper in /usr/sbin/ | 49 | # If using ubuntu official ppa, this should be fine to uncomment, as it puts wrapper in /usr/sbin/ |
43 | #apparmor | 50 | #apparmor |