diff options
Diffstat (limited to 'etc/mpsyt.profile')
-rw-r--r-- | etc/mpsyt.profile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/etc/mpsyt.profile b/etc/mpsyt.profile index 0808c5a1a..f0309da9a 100644 --- a/etc/mpsyt.profile +++ b/etc/mpsyt.profile | |||
@@ -6,19 +6,16 @@ include mpsyt.local | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | # Allow python (blacklisted by disable-interpreters.inc) | 9 | noblacklist ${HOME}/.config/mps-youtube |
10 | noblacklist ${PATH}/python2* | ||
11 | noblacklist ${PATH}/python3* | ||
12 | noblacklist /usr/lib/python2* | ||
13 | noblacklist /usr/lib/python3* | ||
14 | noblacklist /usr/local/lib/python2* | ||
15 | noblacklist /usr/local/lib/python3* | ||
16 | |||
17 | noblacklist ${HOME}/.config/mpv | 10 | noblacklist ${HOME}/.config/mpv |
18 | noblacklist ${HOME}/.mplayer | 11 | noblacklist ${HOME}/.mplayer |
19 | noblacklist ${HOME}/.config/mps-youtube | ||
20 | noblacklist ${HOME}/.netrc | 12 | noblacklist ${HOME}/.netrc |
21 | noblacklist ${HOME}/mps | 13 | noblacklist ${HOME}/mps |
14 | |||
15 | # Allow python (blacklisted by disable-interpreters.inc) | ||
16 | include allow-python2.inc | ||
17 | include allow-python3.inc | ||
18 | |||
22 | noblacklist ${MUSIC} | 19 | noblacklist ${MUSIC} |
23 | noblacklist ${VIDEOS} | 20 | noblacklist ${VIDEOS} |
24 | 21 | ||
@@ -31,14 +28,17 @@ include disable-programs.inc | |||
31 | include disable-xdg.inc | 28 | include disable-xdg.inc |
32 | 29 | ||
33 | mkdir ${HOME}/.config/mps-youtube | 30 | mkdir ${HOME}/.config/mps-youtube |
31 | mkdir ${HOME}/.config/mpv | ||
32 | mkdir ${HOME}/.mplayer | ||
33 | mkdir ${HOME}/mps | ||
34 | whitelist ${HOME}/.config/mps-youtube | ||
34 | whitelist ${HOME}/.config/mpv | 35 | whitelist ${HOME}/.config/mpv |
35 | whitelist ${HOME}/.mplayer | 36 | whitelist ${HOME}/.mplayer |
36 | whitelist ${HOME}/.config/mps-youtube | ||
37 | whitelist ${HOME}/.netrc | 37 | whitelist ${HOME}/.netrc |
38 | whitelist ${HOME}/mps | 38 | whitelist ${HOME}/mps |
39 | whitelist ${DOWNLOADS} | ||
39 | whitelist ${MUSIC} | 40 | whitelist ${MUSIC} |
40 | whitelist ${VIDEOS} | 41 | whitelist ${VIDEOS} |
41 | whitelist ${DOWNLOADS} | ||
42 | include whitelist-common.inc | 42 | include whitelist-common.inc |
43 | include whitelist-var-common.inc | 43 | include whitelist-var-common.inc |
44 | 44 | ||
@@ -54,7 +54,7 @@ seccomp | |||
54 | shell none | 54 | shell none |
55 | tracelog | 55 | tracelog |
56 | 56 | ||
57 | private-bin mpsyt,mplayer,mpv,youtube-dl,python*,env,ffmpeg | 57 | private-bin env,ffmpeg,mplayer,mpsyt,mpv,python*,youtube-dl |
58 | private-dev | 58 | private-dev |
59 | private-tmp | 59 | private-tmp |
60 | 60 | ||