aboutsummaryrefslogtreecommitdiffstats
path: root/etc/Xvfb.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/Xvfb.profile')
-rw-r--r--etc/Xvfb.profile30
1 files changed, 15 insertions, 15 deletions
diff --git a/etc/Xvfb.profile b/etc/Xvfb.profile
index 8eba82db1..ce17a9732 100644
--- a/etc/Xvfb.profile
+++ b/etc/Xvfb.profile
@@ -1,10 +1,10 @@
1# Persistent global definitions go here 1# Firejail profile for Xvfb
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/Xvfb.local
5# Persistent global definitions
2include /etc/firejail/globals.local 6include /etc/firejail/globals.local
3 7
4# This file is overwritten during software install.
5# Persistent customizations should go in a .local file.
6include /etc/firejail/xvfb.local
7
8# 8#
9# This profile will sandbox Xvfb server itself when used with firejail --x11=xvfb. 9# This profile will sandbox Xvfb server itself when used with firejail --x11=xvfb.
10# The target program is sandboxed with its own profile. By default the this functionality 10# The target program is sandboxed with its own profile. By default the this functionality
@@ -16,9 +16,10 @@ include /etc/firejail/xvfb.local
16# some Linux distributions. Also, older versions of Xpra use Xvfb. 16# some Linux distributions. Also, older versions of Xpra use Xvfb.
17# 17#
18 18
19blacklist /media
19 20
20# using a private home directory 21whitelist /var/lib/xkb
21private 22include /etc/firejail/whitelist-common.inc
22 23
23caps.drop all 24caps.drop all
24# Xvfb needs to be allowed access to the abstract Unix socket namespace. 25# Xvfb needs to be allowed access to the abstract Unix socket namespace.
@@ -27,15 +28,14 @@ nonewprivs
27# In noroot mode, Xvfb cannot create a socket in the real /tmp/.X11-unix. 28# In noroot mode, Xvfb cannot create a socket in the real /tmp/.X11-unix.
28#noroot 29#noroot
29nosound 30nosound
30shell none
31seccomp
32protocol unix 31protocol unix
32seccomp
33shell none
33 34
35# using a private home directory
36private
37# private-bin Xvfb,sh,xkbcomp
38# private-bin Xvfb,sh,xkbcomp,strace,bash,cat,ls
34private-dev 39private-dev
35private-tmp
36private-etc ld.so.conf,ld.so.cache,resolv.conf,host.conf,nsswitch.conf,gai.conf,hosts,hostname 40private-etc ld.so.conf,ld.so.cache,resolv.conf,host.conf,nsswitch.conf,gai.conf,hosts,hostname
37#private-bin Xvfb,sh,xkbcomp,strace,bash,cat,ls 41private-tmp
38#private-bin Xvfb,sh,xkbcomp
39
40blacklist /media
41whitelist /var/lib/xkb