Merge "priv_app: Remove permissions for config_gz"

This commit is contained in:
Treehugger Robot 2020-01-27 22:44:13 +00:00 committed by Gerrit Code Review
commit 9baf6d6609

View File

@ -89,13 +89,6 @@ r_dir_file(priv_app, sysfs_zram)
r_dir_file(priv_app, rootfs)
# Allow GMS core to open kernel config for OTA matching through libvintf
allow priv_app config_gz:file { open read getattr };
# b/142672293: No other priv-app should need this allow rule now that GMS core runs in its own domain.
userdebug_or_eng(`
auditallow priv_app config_gz:file { open read getattr };
')
# access the mac address
allowxperm priv_app self:udp_socket ioctl SIOCGIFHWADDR;