-
- Downloads
Don't grant domain device:dir rw_dir_perms
write_logd() is allowed for domain, which means that all domains are permitted read/write access to /dev. That's overly permissive and causes substantial differences between user and userdebug/eng devices. Remove domain device:dir rw_dir_perms access. It's not needed. Allow all domains to write/append to logd_debug. logd is responsible for creating this file if need be. Remove logd_debug file create permissions. This also eliminates the need for the type_transition rules. Bug: 15419803 Change-Id: I7dc3c4df8d413c649c24ae7bc15546d64226ce3b
Please register or sign in to comment