diff options
author | 2020-01-19 10:25:50 +0100 | |
---|---|---|
committer | 2020-01-19 10:25:50 +0100 | |
commit | 512ed2882e3f04b15f6b78aac806e77e93c9da64 (patch) | |
tree | c903bd91df1befc329bfb9da2ba41a97ef1e8d4e /etc/rtv.profile | |
parent | Merge pull request #3168 from glitsj16/fix-asprinf (diff) | |
download | firejail-512ed2882e3f04b15f6b78aac806e77e93c9da64.tar.gz firejail-512ed2882e3f04b15f6b78aac806e77e93c9da64.tar.zst firejail-512ed2882e3f04b15f6b78aac806e77e93c9da64.zip |
create rtv.profile
Diffstat (limited to 'etc/rtv.profile')
-rw-r--r-- | etc/rtv.profile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/etc/rtv.profile b/etc/rtv.profile new file mode 100644 index 000000000..af4b7e94b --- /dev/null +++ b/etc/rtv.profile | |||
@@ -0,0 +1,56 @@ | |||
1 | # Firejail profile for rtv | ||
2 | # Description: Browse Reddit from your terminal | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include rtv.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | blacklist /tmp/.X11-unix | ||
10 | blacklist ${RUNUSER}/wayland-* | ||
11 | |||
12 | noblacklist ${HOME}/.config/rtv | ||
13 | noblacklist ${HOME}/.local/share/rtv | ||
14 | |||
15 | # Allow python (blacklisted by disable-interpreters.inc) | ||
16 | include allow-python2.inc | ||
17 | include allow-python3.inc | ||
18 | |||
19 | include disable-common.inc | ||
20 | include disable-devel.inc | ||
21 | include disable-exec.inc | ||
22 | include disable-interpreters.inc | ||
23 | include disable-passwdmgr.inc | ||
24 | include disable-programs.inc | ||
25 | include disable-xdg.inc | ||
26 | |||
27 | mkdir ${HOME}/.config/rtv | ||
28 | mkdir ${HOME}/.local/share/rtv | ||
29 | whitelist ${HOME}/.config/rtv | ||
30 | whitelist ${HOME}/.local/share/rtv | ||
31 | include whitelist-var-common.inc | ||
32 | |||
33 | apparmor | ||
34 | caps.drop all | ||
35 | machine-id | ||
36 | netfilter | ||
37 | no3d | ||
38 | nodbus | ||
39 | nodvd | ||
40 | nogroups | ||
41 | nonewprivs | ||
42 | noroot | ||
43 | nosound | ||
44 | notv | ||
45 | nou2f | ||
46 | novideo | ||
47 | protocol unix,inet,inet6 | ||
48 | seccomp | ||
49 | shell none | ||
50 | tracelog | ||
51 | |||
52 | disable-mnt | ||
53 | private-bin python*,rtv,sh,xdg-settings | ||
54 | private-cache | ||
55 | private-dev | ||
56 | private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mime.types,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl,terminfo,xdg | ||