1sandbox_xserver_selinux(8S)ELinux Policy sandbox_xservesrandbox_xserver_selinux(8)
2
3
4

NAME

6       sandbox_xserver_selinux  - Security Enhanced Linux Policy for the sand‐
7       box_xserver processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the sandbox_xserver processes via flex‐
11       ible mandatory access control.
12
13       The   sandbox_xserver  processes  execute  with  the  sandbox_xserver_t
14       SELinux type. You can check if you have these processes running by exe‐
15       cuting the ps command with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep sandbox_xserver_t
20
21
22

ENTRYPOINTS

24       The   sandbox_xserver_t   SELinux   type   can   be   entered  via  the
25       xserver_exec_t file type.
26
27       The default entrypoint paths for the sandbox_xserver_t domain  are  the
28       following:
29
30       /usr/bin/nvidia.*,    /usr/bin/Xair,    /usr/bin/Xorg,   /usr/bin/Xvnc,
31       /usr/bin/Xephyr, /usr/bin/x11vnc, /usr/X11R6/bin/X,  /usr/bin/Xwayland,
32       /usr/X11R6/bin/Xorg,    /usr/X11R6/bin/Xipaq,    /usr/libexec/Xorg.bin,
33       /usr/X11R6/bin/XFree86,  /usr/libexec/Xorg.wrap,  /usr/X11R6/bin/Xwrap‐
34       per, /usr/libexec/gsd-backlight-helper
35

PROCESS TYPES

37       SELinux defines process types (domains) for each process running on the
38       system
39
40       You can see the context of a process using the -Z option to ps
41
42       Policy governs the access confined processes have  to  files.   SELinux
43       sandbox_xserver  policy  is very flexible allowing users to setup their
44       sandbox_xserver processes in as secure a method as possible.
45
46       The following process types are defined for sandbox_xserver:
47
48       sandbox_xserver_t
49
50       Note: semanage permissive -a sandbox_xserver_t can be used to make  the
51       process type sandbox_xserver_t permissive. SELinux does not deny access
52       to permissive process types, but the AVC (SELinux denials) messages are
53       still generated.
54
55

BOOLEANS

57       SELinux  policy  is customizable based on least access required.  sand‐
58       box_xserver policy is extremely flexible and has several booleans  that
59       allow  you  to  manipulate  the policy and run sandbox_xserver with the
60       tightest access possible.
61
62
63
64       If you want to deny user domains applications to map a memory region as
65       both  executable  and  writable,  this  is dangerous and the executable
66       should be reported in bugzilla, you must turn on the deny_execmem bool‐
67       ean. Disabled by default.
68
69       setsebool -P deny_execmem 1
70
71
72
73       If  you  want  to  allow  system  to run with NIS, you must turn on the
74       nis_enabled boolean. Disabled by default.
75
76       setsebool -P nis_enabled 1
77
78
79
80       If you want to allow regular users direct dri device access,  you  must
81       turn on the selinuxuser_direct_dri_enabled boolean. Enabled by default.
82
83       setsebool -P selinuxuser_direct_dri_enabled 1
84
85
86
87       If  you  want  to support fusefs home directories, you must turn on the
88       use_fusefs_home_dirs boolean. Disabled by default.
89
90       setsebool -P use_fusefs_home_dirs 1
91
92
93
94       If you want to support NFS home  directories,  you  must  turn  on  the
95       use_nfs_home_dirs boolean. Disabled by default.
96
97       setsebool -P use_nfs_home_dirs 1
98
99
100
101       If  you  want  to  support SAMBA home directories, you must turn on the
102       use_samba_home_dirs boolean. Disabled by default.
103
104       setsebool -P use_samba_home_dirs 1
105
106
107
108       If you want to allows clients to write to the X  server  shared  memory
109       segments, you must turn on the xserver_clients_write_xshm boolean. Dis‐
110       abled by default.
111
112       setsebool -P xserver_clients_write_xshm 1
113
114
115

MANAGED FILES

117       The SELinux process type sandbox_xserver_t  can  manage  files  labeled
118       with  the following file types.  The paths listed are the default paths
119       for these file types.  Note the processes UID still need  to  have  DAC
120       permissions.
121
122       krb5_host_rcache_t
123
124            /var/tmp/krb5_0.rcache2
125            /var/cache/krb5rcache(/.*)?
126            /var/tmp/nfs_0
127            /var/tmp/DNS_25
128            /var/tmp/host_0
129            /var/tmp/imap_0
130            /var/tmp/HTTP_23
131            /var/tmp/HTTP_48
132            /var/tmp/ldap_55
133            /var/tmp/ldap_487
134            /var/tmp/ldapmap1_0
135
136       sandbox_file_t
137
138
139       sandbox_xserver_tmpfs_t
140
141
142       security_t
143
144            /selinux
145
146       user_fonts_cache_t
147
148            /root/.fontconfig(/.*)?
149            /root/.fonts/auto(/.*)?
150            /root/.fonts.cache-.*
151            /root/.cache/fontconfig(/.*)?
152            /home/[^/]+/.fontconfig(/.*)?
153            /home/[^/]+/.fonts/auto(/.*)?
154            /home/[^/]+/.fonts.cache-.*
155            /home/[^/]+/.cache/fontconfig(/.*)?
156
157

COMMANDS

159       semanage  fcontext  can also be used to manipulate default file context
160       mappings.
161
162       semanage permissive can also be used to manipulate  whether  or  not  a
163       process type is permissive.
164
165       semanage  module can also be used to enable/disable/install/remove pol‐
166       icy modules.
167
168       semanage boolean can also be used to manipulate the booleans
169
170
171       system-config-selinux is a GUI tool available to customize SELinux pol‐
172       icy settings.
173
174

AUTHOR

176       This manual page was auto-generated using sepolicy manpage .
177
178

SEE ALSO

180       selinux(8),  sandbox_xserver(8),  semanage(8), restorecon(8), chcon(1),
181       sepolicy(8), setsebool(8)
182
183
184
185sandbox_xserver                    23-12-15         sandbox_xserver_selinux(8)
Impressum