diff --git a/public/update_engine.te b/public/update_engine.te index 3a33407197ad786c48751db30d0738472ccd4d0e..31ba14f741e89dcedc6a704a5b145b405ecfa36d 100644 --- a/public/update_engine.te +++ b/public/update_engine.te @@ -6,6 +6,11 @@ type update_engine_data_file, file_type, data_file_type; net_domain(update_engine); +# Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid to tag network +# sockets. +allow update_engine qtaguid_proc:file rw_file_perms; +allow update_engine qtaguid_device:chr_file r_file_perms; + # Following permissions are needed for update_engine. allow update_engine self:process { setsched }; allow update_engine self:capability { fowner sys_admin };