aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/Xephyr.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-m-z/Xephyr.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-m-z/Xephyr.profile')
-rw-r--r--etc/profile-m-z/Xephyr.profile42
1 files changed, 42 insertions, 0 deletions
diff --git a/etc/profile-m-z/Xephyr.profile b/etc/profile-m-z/Xephyr.profile
new file mode 100644
index 000000000..ab5fdf942
--- /dev/null
+++ b/etc/profile-m-z/Xephyr.profile
@@ -0,0 +1,42 @@
1# Firejail profile for Xephyr
2# This file is overwritten after every install/update
3# Persistent local customizations
4quiet
5include Xephyr.local
6# Persistent global definitions
7include globals.local
8
9#
10# This profile will sandbox Xephyr server itself when used with firejail --x11=xephyr.
11# To enable it, create a firejail-Xephyr symlink in /usr/local/bin:
12#
13# $ sudo ln -s /usr/bin/firejail /usr/local/bin/Xephyr
14#
15# or run "sudo firecfg"
16#
17
18whitelist /var/lib/xkb
19include whitelist-common.inc
20
21caps.drop all
22# Xephyr needs to be allowed access to the abstract Unix socket namespace.
23nodvd
24nogroups
25nonewprivs
26# In noroot mode, Xephyr cannot create a socket in the real /tmp/.X11-unix.
27# noroot
28nosound
29notv
30nou2f
31protocol unix
32seccomp
33shell none
34
35disable-mnt
36# using a private home directory
37private
38# private-bin sh,Xephyr,xkbcomp
39# private-bin bash,cat,ls,sh,strace,Xephyr,xkbcomp
40private-dev
41# private-etc alternatives,gai.conf,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,nsswitch.conf,resolv.conf
42#private-tmp