diff options
author | 2019-02-26 18:02:23 +0100 | |
---|---|---|
committer | 2019-02-26 18:02:23 +0100 | |
commit | 2341381cda5989f033b5e10622f2e523e5d395f5 (patch) | |
tree | 1613bb78de4bfea3386415b5402d1809c958f304 /etc | |
parent | Sort items alphabetically in man firejail (#2479) (diff) | |
download | firejail-2341381cda5989f033b5e10622f2e523e5d395f5.tar.gz firejail-2341381cda5989f033b5e10622f2e523e5d395f5.tar.zst firejail-2341381cda5989f033b5e10622f2e523e5d395f5.zip |
gnome-mpv -> celluloid
Diffstat (limited to 'etc')
-rw-r--r-- | etc/celluloid.profile | 51 | ||||
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/gnome-mpv.profile | 46 |
3 files changed, 55 insertions, 43 deletions
diff --git a/etc/celluloid.profile b/etc/celluloid.profile new file mode 100644 index 000000000..c4f49aed0 --- /dev/null +++ b/etc/celluloid.profile | |||
@@ -0,0 +1,51 @@ | |||
1 | # Firejail profile for celluloid | ||
2 | # Description: Simple GTK+ frontend for mpv | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include celluloid.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/gnome-mpv | ||
10 | noblacklist ${HOME}/.config/celluloid | ||
11 | noblacklist ${MUSIC} | ||
12 | noblacklist ${VIDEOS} | ||
13 | |||
14 | # Allow python (blacklisted by disable-interpreters.inc) | ||
15 | noblacklist ${PATH}/python2* | ||
16 | noblacklist ${PATH}/python3* | ||
17 | noblacklist /usr/lib/python2* | ||
18 | noblacklist /usr/lib/python3* | ||
19 | noblacklist /usr/local/lib/python2* | ||
20 | noblacklist /usr/local/lib/python3* | ||
21 | |||
22 | include disable-common.inc | ||
23 | include disable-devel.inc | ||
24 | include disable-interpreters.inc | ||
25 | include disable-passwdmgr.inc | ||
26 | include disable-programs.inc | ||
27 | include disable-xdg.inc | ||
28 | |||
29 | include whitelist-var-common.inc | ||
30 | |||
31 | apparmor | ||
32 | caps.drop all | ||
33 | netfilter | ||
34 | nodbus | ||
35 | nogroups | ||
36 | nonewprivs | ||
37 | noroot | ||
38 | nou2f | ||
39 | protocol unix,inet,inet6 | ||
40 | seccomp | ||
41 | shell none | ||
42 | tracelog | ||
43 | |||
44 | private-bin celluloid,gnome-mpv,youtube-dl,python*,env | ||
45 | private-cache | ||
46 | private-etc alternatives | ||
47 | private-dev | ||
48 | private-tmp | ||
49 | |||
50 | noexec ${HOME} | ||
51 | noexec /tmp | ||
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 0c7a8b020..6bac74bd6 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -117,6 +117,7 @@ blacklist ${HOME}/.config/brave | |||
117 | blacklist ${HOME}/.config/caja | 117 | blacklist ${HOME}/.config/caja |
118 | blacklist ${HOME}/.config/calibre | 118 | blacklist ${HOME}/.config/calibre |
119 | blacklist ${HOME}/.config/catfish | 119 | blacklist ${HOME}/.config/catfish |
120 | blacklist ${HOME}/.config/celluloid | ||
120 | blacklist ${HOME}/.config/cherrytree | 121 | blacklist ${HOME}/.config/cherrytree |
121 | blacklist ${HOME}/.config/chromium | 122 | blacklist ${HOME}/.config/chromium |
122 | blacklist ${HOME}/.config/chromium-dev | 123 | blacklist ${HOME}/.config/chromium-dev |
diff --git a/etc/gnome-mpv.profile b/etc/gnome-mpv.profile index 9bac59caf..f5d652732 100644 --- a/etc/gnome-mpv.profile +++ b/etc/gnome-mpv.profile | |||
@@ -1,45 +1,5 @@ | |||
1 | # Firejail profile for gnome-mpv | 1 | # Firejail profile alias for celluloid (formerly GNOME MPV) |
2 | # Description: Simple GTK+ frontend for mpv | ||
3 | # This file is overwritten after every install/update | 2 | # This file is overwritten after every install/update |
4 | # Persistent local customizations | ||
5 | include gnome-mpv.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | 3 | ||
9 | noblacklist ${HOME}/.config/gnome-mpv | 4 | # Redirect |
10 | noblacklist ${MUSIC} | 5 | include celluloid.profile |
11 | noblacklist ${VIDEOS} | ||
12 | |||
13 | # Allow python (blacklisted by disable-interpreters.inc) | ||
14 | noblacklist ${PATH}/python2* | ||
15 | noblacklist ${PATH}/python3* | ||
16 | noblacklist /usr/lib/python2* | ||
17 | noblacklist /usr/lib/python3* | ||
18 | noblacklist /usr/local/lib/python2* | ||
19 | noblacklist /usr/local/lib/python3* | ||
20 | |||
21 | include disable-common.inc | ||
22 | include disable-devel.inc | ||
23 | include disable-interpreters.inc | ||
24 | include disable-passwdmgr.inc | ||
25 | include disable-programs.inc | ||
26 | include disable-xdg.inc | ||
27 | |||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | caps.drop all | ||
31 | nodbus | ||
32 | nogroups | ||
33 | nonewprivs | ||
34 | noroot | ||
35 | nou2f | ||
36 | protocol unix,inet,inet6 | ||
37 | seccomp | ||
38 | shell none | ||
39 | |||
40 | private-bin gnome-mpv,youtube-dl,python*,env | ||
41 | private-dev | ||
42 | private-tmp | ||
43 | |||
44 | noexec ${HOME} | ||
45 | noexec /tmp | ||