Merge "Don't grant domain device:dir rw_dir_perms"

This commit is contained in:
Nick Kralevich 2014-06-05 16:44:12 +00:00 committed by Gerrit Code Review
commit 0341e1abb1

View file

@ -337,10 +337,7 @@ define(`permissive_or_unconfined', ifelse(force_permissive_to_unconfined, `false
# daemon via sockets
define(`write_logd', `
userdebug_or_eng(`
# Debug output
type_transition $1 device:file logd_debug;
allow $1 device:dir rw_dir_perms;
allow $1 logd_debug:file create_file_perms;
allow $1 logd_debug:file w_file_perms;
')
unix_socket_send($1, logdw, logd)
')