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. Enabled by default.
68
69       setsebool -P deny_execmem 1
70
71
72
73       If  you  want to allow regular users direct dri device access, you must
74       turn on the selinuxuser_direct_dri_enabled boolean. Enabled by default.
75
76       setsebool -P selinuxuser_direct_dri_enabled 1
77
78
79
80       If you want to support fusefs home directories, you must  turn  on  the
81       use_fusefs_home_dirs boolean. Disabled by default.
82
83       setsebool -P use_fusefs_home_dirs 1
84
85
86
87       If  you  want  to  support  NFS  home directories, you must turn on the
88       use_nfs_home_dirs boolean. Disabled by default.
89
90       setsebool -P use_nfs_home_dirs 1
91
92
93
94       If you want to support SAMBA home directories, you  must  turn  on  the
95       use_samba_home_dirs boolean. Disabled by default.
96
97       setsebool -P use_samba_home_dirs 1
98
99
100
101       If  you  want  to allows clients to write to the X server shared memory
102       segments, you must turn on the xserver_clients_write_xshm boolean. Dis‐
103       abled by default.
104
105       setsebool -P xserver_clients_write_xshm 1
106
107
108

MANAGED FILES

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

COMMANDS

152       semanage fcontext can also be used to manipulate default  file  context
153       mappings.
154
155       semanage  permissive  can  also  be used to manipulate whether or not a
156       process type is permissive.
157
158       semanage module can also be used to enable/disable/install/remove  pol‐
159       icy modules.
160
161       semanage boolean can also be used to manipulate the booleans
162
163
164       system-config-selinux is a GUI tool available to customize SELinux pol‐
165       icy settings.
166
167

AUTHOR

169       This manual page was auto-generated using sepolicy manpage .
170
171

SEE ALSO

173       selinux(8), sandbox_xserver(8), semanage(8),  restorecon(8),  chcon(1),
174       sepolicy(8), setsebool(8)
175
176
177
178sandbox_xserver                    23-02-03         sandbox_xserver_selinux(8)
Impressum