diff --git a/public/domain.te b/public/domain.te index e84f39778b1afbe54ad05a0b6403eae419ee2eac..cccc651597a2359e6225bce171c7f38eec710bb8 100644 --- a/public/domain.te +++ b/public/domain.te @@ -363,6 +363,14 @@ neverallow { -system_server -ueventd } hw_random_device:chr_file *; +# b/78174219 b/64114943 +neverallow { + domain + -init + -shell # stat of /dev, getattr only + -vendor_init + -ueventd +} keychord_device:chr_file *; # Ensure that all entrypoint executables are in exec_type or postinstall_file. neverallow * { file_type -exec_type -postinstall_file }:file entrypoint;