diff --git a/adbd.te b/adbd.te index cc2920b34838c42270d214f6aa46267aaf5582cb..d3f9905df979d68187b8affa27f5d0a2e45d4c95 100644 --- a/adbd.te +++ b/adbd.te @@ -2,6 +2,7 @@ # it lives in the rootfs and has no unique file type. type adbd, domain, mlstrustedsubject; allow adbd adb_device:chr_file rw_file_perms; +allow adbd qemu_device:chr_file rw_file_perms; allow adbd self:capability { net_raw setgid setuid dac_override sys_boot sys_admin }; allow adbd rootfs:file entrypoint; allow adbd init:process sigchld; diff --git a/file_contexts b/file_contexts index 1f9781c96280e2e035066de06c080894d76178d3..c610df37ce1f2f4646e9f667caa2dd38c39004a6 100644 --- a/file_contexts +++ b/file_contexts @@ -23,6 +23,7 @@ /dev/console u:object_r:console_device:s0 /dev/cpuctl(/.*)? u:object_r:cpuctl_device:s0 /dev/device-mapper u:object_r:dm_device:s0 +/dev/eac u:object_r:audio_device:s0 /dev/full u:object_r:full_device:s0 /dev/graphics(/.*)? u:object_r:graphics_device:s0 /dev/input(/.*) u:object_r:input_device:s0