aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-06-25 15:09:44 +0200
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-06-25 15:09:44 +0200
commiteb34c2d931698529ff6de2b3b90d7b1703f3b13a (patch)
treeb3e12067ad232da69642be1a0530fbacc6a53fd3 /etc/profile-a-l
parentnew profiles (diff)
downloadfirejail-eb34c2d931698529ff6de2b3b90d7b1703f3b13a.tar.gz
firejail-eb34c2d931698529ff6de2b3b90d7b1703f3b13a.tar.zst
firejail-eb34c2d931698529ff6de2b3b90d7b1703f3b13a.zip
harden gradio.profile
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r--etc/profile-a-l/gradio.profile15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/profile-a-l/gradio.profile b/etc/profile-a-l/gradio.profile
index 82e2504b9..a16e65efb 100644
--- a/etc/profile-a-l/gradio.profile
+++ b/etc/profile-a-l/gradio.profile
@@ -14,12 +14,15 @@ include disable-exec.inc
14include disable-interpreters.inc 14include disable-interpreters.inc
15include disable-passwdmgr.inc 15include disable-passwdmgr.inc
16include disable-programs.inc 16include disable-programs.inc
17include disable-xdg.inc
17 18
18mkdir ${HOME}/.cache/gradio 19mkdir ${HOME}/.cache/gradio
19mkdir ${HOME}/.local/share/gradio 20mkdir ${HOME}/.local/share/gradio
20whitelist ${HOME}/.cache/gradio 21whitelist ${HOME}/.cache/gradio
21whitelist ${HOME}/.local/share/gradio 22whitelist ${HOME}/.local/share/gradio
22include whitelist-common.inc 23include whitelist-common.inc
24include whitelist-runuser-common.inc
25include whitelist-usr-share-common.inc
23include whitelist-var-common.inc 26include whitelist-var-common.inc
24 27
25caps.drop all 28caps.drop all
@@ -30,11 +33,23 @@ nogroups
30nonewprivs 33nonewprivs
31noroot 34noroot
32notv 35notv
36nou2f
33novideo 37novideo
34protocol unix,inet,inet6 38protocol unix,inet,inet6
35seccomp 39seccomp
40seccomp.block-secondary
36shell none 41shell none
42tracelog
37 43
44disable-mnt
45private-bin gradio
46private-cache
47private-dev
38private-etc alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-3.0,host.conf,hostname,hosts,machine-id,pki,pulse,resolv.conf,ssl,xdg 48private-etc alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-3.0,host.conf,hostname,hosts,machine-id,pki,pulse,resolv.conf,ssl,xdg
39private-tmp 49private-tmp
40 50
51dbus-user filter
52dbus-user.own de.haeckerfelix.gradio
53dbus-user.own org.mpris.MediaPlayer2.gradio
54dbus-user.talk ca.desrt.dconf
55dbus-system none