Merge "update_engine: Allow to tag sockets."

This commit is contained in:
Alex Deymo 2017-02-24 18:02:49 +00:00 committed by Gerrit Code Review
commit 8d48aa7988

View file

@ -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 };