1virt_qemu_ga_unconfinSeEdL_isneulxinPuoxl(i8c)y virt_qemu_vgiar_tu_nqceomnuf_ignae_dunconfined_selinux(8)
2
3
4
6 virt_qemu_ga_unconfined_selinux - Security Enhanced Linux Policy for
7 the virt_qemu_ga_unconfined processes
8
10 Security-Enhanced Linux secures the virt_qemu_ga_unconfined processes
11 via flexible mandatory access control.
12
13 The virt_qemu_ga_unconfined processes execute with the
14 virt_qemu_ga_unconfined_t SELinux type. You can check if you have these
15 processes running by executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep virt_qemu_ga_unconfined_t
20
21
22
24 The virt_qemu_ga_unconfined_t SELinux type can be entered via the
25 virt_qemu_ga_unconfined_exec_t file type.
26
27 The default entrypoint paths for the virt_qemu_ga_unconfined_t domain
28 are the following:
29
30 /etc/qemu-ga/fsfreeze-hook.d(/.*)?, /var/run/qemu-ga/fsfreeze-
31 hook.d(/.*)?, /usr/libexec/qemu-ga/fsfreeze-hook.d(/.*)?
32
34 SELinux defines process types (domains) for each process running on the
35 system
36
37 You can see the context of a process using the -Z option to ps
38
39 Policy governs the access confined processes have to files. SELinux
40 virt_qemu_ga_unconfined policy is very flexible allowing users to setup
41 their virt_qemu_ga_unconfined processes in as secure a method as possi‐
42 ble.
43
44 The following process types are defined for virt_qemu_ga_unconfined:
45
46 virt_qemu_ga_unconfined_t
47
48 Note: semanage permissive -a virt_qemu_ga_unconfined_t can be used to
49 make the process type virt_qemu_ga_unconfined_t permissive. SELinux
50 does not deny access to permissive process types, but the AVC (SELinux
51 denials) messages are still generated.
52
53
55 SELinux policy is customizable based on least access required.
56 virt_qemu_ga_unconfined policy is extremely flexible and has several
57 booleans that allow you to manipulate the policy and run
58 virt_qemu_ga_unconfined with the tightest access possible.
59
60
61
62 If you want to deny user domains applications to map a memory region as
63 both executable and writable, this is dangerous and the executable
64 should be reported in bugzilla, you must turn on the deny_execmem bool‐
65 ean. Enabled by default.
66
67 setsebool -P deny_execmem 1
68
69
70
71 If you want to allow all domains to execute in fips_mode, you must turn
72 on the fips_mode boolean. Enabled by default.
73
74 setsebool -P fips_mode 1
75
76
77
78 If you want to control the ability to mmap a low area of the address
79 space, as configured by /proc/sys/vm/mmap_min_addr, you must turn on
80 the mmap_low_allowed boolean. Disabled by default.
81
82 setsebool -P mmap_low_allowed 1
83
84
85
86 If you want to disable kernel module loading, you must turn on the
87 secure_mode_insmod boolean. Enabled by default.
88
89 setsebool -P secure_mode_insmod 1
90
91
92
93 If you want to allow unconfined executables to make their heap memory
94 executable. Doing this is a really bad idea. Probably indicates a
95 badly coded executable, but could indicate an attack. This executable
96 should be reported in bugzilla, you must turn on the selin‐
97 uxuser_execheap boolean. Disabled by default.
98
99 setsebool -P selinuxuser_execheap 1
100
101
102
103 If you want to allow unconfined executables to make their stack exe‐
104 cutable. This should never, ever be necessary. Probably indicates a
105 badly coded executable, but could indicate an attack. This executable
106 should be reported in bugzilla, you must turn on the selinuxuser_exec‐
107 stack boolean. Enabled by default.
108
109 setsebool -P selinuxuser_execstack 1
110
111
112
114 The SELinux process type virt_qemu_ga_unconfined_t can manage files
115 labeled with the following file types. The paths listed are the
116 default paths for these file types. Note the processes UID still need
117 to have DAC permissions.
118
119 file_type
120
121 all files on the system
122
123
125 SELinux requires files to have an extended attribute to define the file
126 type.
127
128 You can see the context of a file using the -Z option to ls
129
130 Policy governs the access confined processes have to these files.
131 SELinux virt_qemu_ga_unconfined policy is very flexible allowing users
132 to setup their virt_qemu_ga_unconfined processes in as secure a method
133 as possible.
134
135 The following file types are defined for virt_qemu_ga_unconfined:
136
137
138
139 virt_qemu_ga_unconfined_exec_t
140
141 - Set files with the virt_qemu_ga_unconfined_exec_t type, if you want
142 to transition an executable to the virt_qemu_ga_unconfined_t domain.
143
144
145 Paths:
146 /etc/qemu-ga/fsfreeze-hook.d(/.*)?, /var/run/qemu-ga/fsfreeze-
147 hook.d(/.*)?, /usr/libexec/qemu-ga/fsfreeze-hook.d(/.*)?
148
149
150 Note: File context can be temporarily modified with the chcon command.
151 If you want to permanently change the file context you need to use the
152 semanage fcontext command. This will modify the SELinux labeling data‐
153 base. You will need to use restorecon to apply the labels.
154
155
157 semanage fcontext can also be used to manipulate default file context
158 mappings.
159
160 semanage permissive can also be used to manipulate whether or not a
161 process type is permissive.
162
163 semanage module can also be used to enable/disable/install/remove pol‐
164 icy modules.
165
166 semanage boolean can also be used to manipulate the booleans
167
168
169 system-config-selinux is a GUI tool available to customize SELinux pol‐
170 icy settings.
171
172
174 This manual page was auto-generated using sepolicy manpage .
175
176
178 selinux(8), virt_qemu_ga_unconfined(8), semanage(8), restorecon(8),
179 chcon(1), sepolicy(8), setsebool(8)
180
181
182
183virt_qemu_ga_unconfined 19-10-08 virt_qemu_ga_unconfined_selinux(8)