Commit a15b4cc
committed
Allow virtqemud setattr dri devices
Steps to reproduce:
1. Create a vm.
2. Enable 3D acceleration under `Video Virtio`.
3. Enable OpenGL and set Listen type to "None" under `Display Spice`.
4. Start the vm.
The commit addresses the following AVC denials:
type=AVC msg=audit(1760415907.810:959): avc: denied { open } for pid=8333 comm="rpc-virtqemud" path="/dev/dri/renderD128" dev="tmpfs" ino=10 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file permissive=1
type=AVC msg=audit(1760415907.810:960): avc: denied { setattr } for pid=8333 comm="rpc-virtqemud" name="renderD128" dev="tmpfs" ino=10 scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:dri_device_t:s0 tclass=chr_file permissive=1
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=24036891 parent 732c595 commit a15b4cc
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2266 | 2266 | | |
2267 | 2267 | | |
2268 | 2268 | | |
2269 | | - | |
| 2269 | + | |
| 2270 | + | |
2270 | 2271 | | |
2271 | 2272 | | |
2272 | 2273 | | |
| |||
0 commit comments