aboutsummaryrefslogtreecommitdiffstats
path: root/etc/Xvfb.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/Xvfb.profile')
-rw-r--r--etc/Xvfb.profile39
1 files changed, 39 insertions, 0 deletions
diff --git a/etc/Xvfb.profile b/etc/Xvfb.profile
new file mode 100644
index 000000000..9c919f432
--- /dev/null
+++ b/etc/Xvfb.profile
@@ -0,0 +1,39 @@
1# This file is overwritten during software install.
2# Persistent customizations should go in a .local file.
3include /etc/firejail/xvfb.local
4
5#
6# This profile will sandbox Xvfb server itself when used with firejail --x11=xvfb.
7# The target program is sandboxed with its own profile. By default the this functionality
8# is disabled. To enable it, create a firejail-Xvfb symlink in /usr/local/bin:
9#
10# $ sudo ln -s /usr/bin/firejail /usr/local/bin/Xvfb
11#
12# We have this functionality disabled by default because it creates problems on
13# some Linux distributions.
14#
15
16
17# using a private home directory
18private
19
20caps.drop all
21# Xvfb needs to be allowed access to the abstract Unix socket namespace.
22#net none
23nogroups
24nonewprivs
25# In noroot mode, Xvfb cannot create a socket in the real /tmp/.X11-unix.
26#noroot
27nosound
28shell none
29seccomp
30protocol unix
31
32private-dev
33private-tmp
34private-etc ld.so.conf,ld.so.cache,resolv.conf,host.conf,nsswitch.conf,gai.conf,hosts,hostname
35#private-bin Xvfb,sh,xkbcomp,strace,bash,cat,ls
36#private-bin Xvfb,sh,xkbcomp
37
38blacklist /media
39whitelist /var/lib/xkb