diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/allow-python2.inc | 1 | ||||
-rw-r--r-- | etc/inc/allow-python3.inc | 1 | ||||
-rw-r--r-- | etc/inc/disable-interpreters.inc | 2 | ||||
-rw-r--r-- | etc/profile-a-l/email-common.profile | 10 | ||||
-rw-r--r-- | etc/profile-m-z/mpv.profile | 2 |
5 files changed, 13 insertions, 3 deletions
diff --git a/etc/inc/allow-python2.inc b/etc/inc/allow-python2.inc index b0525e2e1..0d4ab8c35 100644 --- a/etc/inc/allow-python2.inc +++ b/etc/inc/allow-python2.inc | |||
@@ -2,6 +2,7 @@ | |||
2 | # Persistent customizations should go in a .local file. | 2 | # Persistent customizations should go in a .local file. |
3 | include allow-python2.local | 3 | include allow-python2.local |
4 | 4 | ||
5 | noblacklist ${HOME}/.local/lib/python2* | ||
5 | noblacklist ${PATH}/python2* | 6 | noblacklist ${PATH}/python2* |
6 | noblacklist /usr/include/python2* | 7 | noblacklist /usr/include/python2* |
7 | noblacklist /usr/lib/python2* | 8 | noblacklist /usr/lib/python2* |
diff --git a/etc/inc/allow-python3.inc b/etc/inc/allow-python3.inc index d968886b0..0693fb7e7 100644 --- a/etc/inc/allow-python3.inc +++ b/etc/inc/allow-python3.inc | |||
@@ -2,6 +2,7 @@ | |||
2 | # Persistent customizations should go in a .local file. | 2 | # Persistent customizations should go in a .local file. |
3 | include allow-python3.local | 3 | include allow-python3.local |
4 | 4 | ||
5 | noblacklist ${HOME}/.local/lib/python3* | ||
5 | noblacklist ${PATH}/python3* | 6 | noblacklist ${PATH}/python3* |
6 | noblacklist /usr/include/python3* | 7 | noblacklist /usr/include/python3* |
7 | noblacklist /usr/lib/python3* | 8 | noblacklist /usr/lib/python3* |
diff --git a/etc/inc/disable-interpreters.inc b/etc/inc/disable-interpreters.inc index ca43e5ed9..4e3590fed 100644 --- a/etc/inc/disable-interpreters.inc +++ b/etc/inc/disable-interpreters.inc | |||
@@ -61,6 +61,7 @@ blacklist /usr/lib64/ruby | |||
61 | 61 | ||
62 | # Programs using python: deluge, firefox addons, filezilla, cherrytree, xchat, hexchat, libreoffice, scribus | 62 | # Programs using python: deluge, firefox addons, filezilla, cherrytree, xchat, hexchat, libreoffice, scribus |
63 | # Python 2 | 63 | # Python 2 |
64 | blacklist ${HOME}/.local/lib/python2* | ||
64 | blacklist ${PATH}/python2* | 65 | blacklist ${PATH}/python2* |
65 | blacklist /usr/include/python2* | 66 | blacklist /usr/include/python2* |
66 | blacklist /usr/lib/python2* | 67 | blacklist /usr/lib/python2* |
@@ -70,6 +71,7 @@ blacklist /usr/share/python2* | |||
70 | # You will want to add noblacklist for python3 stuff in the firefox and/or chromium profiles if you use the Gnome connector (see Issue #2026) | 71 | # You will want to add noblacklist for python3 stuff in the firefox and/or chromium profiles if you use the Gnome connector (see Issue #2026) |
71 | 72 | ||
72 | # Python 3 | 73 | # Python 3 |
74 | blacklist ${HOME}/.local/lib/python3* | ||
73 | blacklist ${PATH}/python3* | 75 | blacklist ${PATH}/python3* |
74 | blacklist /usr/include/python3* | 76 | blacklist /usr/include/python3* |
75 | blacklist /usr/lib/python3* | 77 | blacklist /usr/lib/python3* |
diff --git a/etc/profile-a-l/email-common.profile b/etc/profile-a-l/email-common.profile index 7d5c859e9..2f595f274 100644 --- a/etc/profile-a-l/email-common.profile +++ b/etc/profile-a-l/email-common.profile | |||
@@ -20,6 +20,9 @@ noblacklist /var/spool/mail | |||
20 | 20 | ||
21 | noblacklist ${DOCUMENTS} | 21 | noblacklist ${DOCUMENTS} |
22 | 22 | ||
23 | # Allow perl (blacklisted by disable-interpreters.inc) | ||
24 | include allow-perl.inc | ||
25 | |||
23 | include disable-common.inc | 26 | include disable-common.inc |
24 | include disable-devel.inc | 27 | include disable-devel.inc |
25 | include disable-exec.inc | 28 | include disable-exec.inc |
@@ -30,15 +33,18 @@ include disable-xdg.inc | |||
30 | mkdir ${HOME}/.gnupg | 33 | mkdir ${HOME}/.gnupg |
31 | mkfile ${HOME}/.config/mimeapps.list | 34 | mkfile ${HOME}/.config/mimeapps.list |
32 | mkfile ${HOME}/.signature | 35 | mkfile ${HOME}/.signature |
36 | whitelist ${HOME}/.bogofilter | ||
37 | whitelist ${HOME}/.bsfilter | ||
33 | whitelist ${HOME}/.config/mimeapps.list | 38 | whitelist ${HOME}/.config/mimeapps.list |
34 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
35 | whitelist ${HOME}/.gnupg | 39 | whitelist ${HOME}/.gnupg |
40 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
36 | whitelist ${HOME}/.signature | 41 | whitelist ${HOME}/.signature |
37 | whitelist ${DOCUMENTS} | 42 | whitelist ${DOCUMENTS} |
38 | whitelist ${DOWNLOADS} | 43 | whitelist ${DOWNLOADS} |
39 | # when storing mail outside the default ${HOME}/Mail path, 'whitelist' the custom path in your email-common.local | 44 | # when storing mail outside the default ${HOME}/Mail path, 'whitelist' the custom path in your email-common.local |
40 | whitelist ${HOME}/Mail | 45 | whitelist ${HOME}/Mail |
41 | whitelist ${RUNUSER}/gnupg | 46 | whitelist ${RUNUSER}/gnupg |
47 | whitelist /usr/share/bogofilter | ||
42 | whitelist /usr/share/gnupg | 48 | whitelist /usr/share/gnupg |
43 | whitelist /usr/share/gnupg2 | 49 | whitelist /usr/share/gnupg2 |
44 | whitelist /var/mail | 50 | whitelist /var/mail |
@@ -70,7 +76,7 @@ tracelog | |||
70 | # disable-mnt | 76 | # disable-mnt |
71 | private-cache | 77 | private-cache |
72 | private-dev | 78 | private-dev |
73 | private-etc @tls-ca,@x11,gnupg,hosts.conf,mailname,timezone | 79 | private-etc @tls-ca,@x11,bogofilter,bogofilter.cf,gnupg,hosts.conf,mailname,timezone |
74 | private-tmp | 80 | private-tmp |
75 | # encrypting and signing email | 81 | # encrypting and signing email |
76 | writable-run-user | 82 | writable-run-user |
diff --git a/etc/profile-m-z/mpv.profile b/etc/profile-m-z/mpv.profile index 9dcc9dec3..85f414562 100644 --- a/etc/profile-m-z/mpv.profile +++ b/etc/profile-m-z/mpv.profile | |||
@@ -75,7 +75,7 @@ nonewprivs | |||
75 | noroot | 75 | noroot |
76 | nou2f | 76 | nou2f |
77 | protocol unix,inet,inet6,netlink | 77 | protocol unix,inet,inet6,netlink |
78 | seccomp | 78 | seccomp !set_mempolicy |
79 | seccomp.block-secondary | 79 | seccomp.block-secondary |
80 | tracelog | 80 | tracelog |
81 | 81 | ||