Allow system apps to read log props.

This is needed to allow system apps to know whether security
logging is enabled, so that they can in this case log additional
audit events.

Test: logged a security event from locally modified KeyChain app.
Bug: 70886042
Change-Id: I9e18d59d72f40510f81d1840e4ac76a654cf6cbd
This commit is contained in:
Pavel Grafov 2018-01-18 17:22:28 +00:00
parent e3b05cf614
commit 118e4969d2

View file

@ -113,6 +113,7 @@ allow system_app {
control_logd(system_app)
read_runtime_log_tags(system_app)
get_prop(system_app, device_logging_prop)
# allow system apps to use UDP sockets provided by the system server but not
# modify them other than to connect