1games_srv_selinux(8) SELinux Policy games_srv games_srv_selinux(8)
2
3
4
6 games_srv_selinux - Security Enhanced Linux Policy for the games_srv
7 processes
8
10 Security-Enhanced Linux secures the games_srv processes via flexible
11 mandatory access control.
12
13 The games_srv processes execute with the games_srv_t SELinux type. You
14 can check if you have these processes running by executing the ps com‐
15 mand with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep games_srv_t
20
21
22
24 The games_srv_t SELinux type can be entered via the games_exec_t file
25 type.
26
27 The default entrypoint paths for the games_srv_t domain are the follow‐
28 ing:
29
30 /usr/games/.*, /usr/lib/games(/.*)?, /usr/bin/civclient.*,
31 /usr/bin/civserver.*, /usr/bin/sol, /usr/bin/kolf, /usr/bin/kpat,
32 /usr/bin/micq, /usr/bin/gnect, /usr/bin/gtali, /usr/bin/iagno,
33 /usr/bin/ksame, /usr/bin/ktron, /usr/bin/kwin4, /usr/bin/lskat,
34 /usr/bin/gataxx, /usr/bin/glines, /usr/bin/klines, /usr/bin/kmines,
35 /usr/bin/kpoker, /usr/bin/ksnake, /usr/bin/gnomine, /usr/bin/gnotski,
36 /usr/bin/katomic, /usr/bin/kbounce, /usr/bin/kshisen, /usr/bin/ksirtet,
37 /usr/bin/atlantik, /usr/bin/gnibbles, /usr/bin/gnobots2, /usr/bin/keno‐
38 laba, /usr/bin/klickety, /usr/bin/konquest, /usr/bin/kreversi,
39 /usr/bin/ksokoban, /usr/bin/mahjongg, /usr/bin/blackjack, /usr/bin/gno‐
40 travex, /usr/bin/kblackbox, /usr/bin/kfouleggs, /usr/bin/kmahjongg,
41 /usr/bin/kwin4proc, /usr/bin/lskatproc, /usr/bin/Maelstrom,
42 /usr/bin/kasteroids, /usr/bin/ksmiletris, /usr/bin/kspaceduel,
43 /usr/bin/ktuberling, /usr/bin/same-gnome, /usr/bin/kbackgammon,
44 /usr/bin/kbattleship, /usr/bin/kgoldrunner, /usr/bin/gnome-stones,
45 /usr/bin/kjumpingcube
46
48 SELinux defines process types (domains) for each process running on the
49 system
50
51 You can see the context of a process using the -Z option to ps
52
53 Policy governs the access confined processes have to files. SELinux
54 games_srv policy is very flexible allowing users to setup their
55 games_srv processes in as secure a method as possible.
56
57 The following process types are defined for games_srv:
58
59 games_srv_t
60
61 Note: semanage permissive -a games_srv_t can be used to make the
62 process type games_srv_t permissive. SELinux does not deny access to
63 permissive process types, but the AVC (SELinux denials) messages are
64 still generated.
65
66
68 SELinux policy is customizable based on least access required.
69 games_srv policy is extremely flexible and has several booleans that
70 allow you to manipulate the policy and run games_srv with the tightest
71 access possible.
72
73
74
75 If you want to allow all daemons the ability to read/write terminals,
76 you must turn on the daemons_use_tty boolean. Disabled by default.
77
78 setsebool -P daemons_use_tty 1
79
80
81
82 If you want to deny any process from ptracing or debugging any other
83 processes, you must turn on the deny_ptrace boolean. Enabled by
84 default.
85
86 setsebool -P deny_ptrace 1
87
88
89
90 If you want to allow any process to mmap any file on system with
91 attribute file_type, you must turn on the domain_can_mmap_files bool‐
92 ean. Enabled by default.
93
94 setsebool -P domain_can_mmap_files 1
95
96
97
98 If you want to allow all domains write to kmsg_device, while kernel is
99 executed with systemd.log_target=kmsg parameter, you must turn on the
100 domain_can_write_kmsg boolean. Disabled by default.
101
102 setsebool -P domain_can_write_kmsg 1
103
104
105
106 If you want to allow all domains to use other domains file descriptors,
107 you must turn on the domain_fd_use boolean. Enabled by default.
108
109 setsebool -P domain_fd_use 1
110
111
112
113 If you want to allow all domains to have the kernel load modules, you
114 must turn on the domain_kernel_load_modules boolean. Disabled by
115 default.
116
117 setsebool -P domain_kernel_load_modules 1
118
119
120
121 If you want to allow all domains to execute in fips_mode, you must turn
122 on the fips_mode boolean. Enabled by default.
123
124 setsebool -P fips_mode 1
125
126
127
128 If you want to enable reading of urandom for all domains, you must turn
129 on the global_ssp boolean. Disabled by default.
130
131 setsebool -P global_ssp 1
132
133
134
136 The SELinux process type games_srv_t can manage files labeled with the
137 following file types. The paths listed are the default paths for these
138 file types. Note the processes UID still need to have DAC permissions.
139
140 games_data_t
141
142 /var/games(/.*)?
143 /var/lib/games(/.*)?
144
145 games_srv_var_run_t
146
147
148
150 semanage fcontext can also be used to manipulate default file context
151 mappings.
152
153 semanage permissive can also be used to manipulate whether or not a
154 process type is permissive.
155
156 semanage module can also be used to enable/disable/install/remove pol‐
157 icy modules.
158
159 semanage boolean can also be used to manipulate the booleans
160
161
162 system-config-selinux is a GUI tool available to customize SELinux pol‐
163 icy settings.
164
165
167 This manual page was auto-generated using sepolicy manpage .
168
169
171 selinux(8), games_srv(8), semanage(8), restorecon(8), chcon(1), sepol‐
172 icy(8) , setsebool(8)
173
174
175
176games_srv 19-04-25 games_srv_selinux(8)