diff --git a/public/webview_zygote.te b/public/webview_zygote.te index cc7cd0bed2f098a7247575a9fafd64ea96e41ff5..0bed0830179dc9fa66e27cc6d03ba33134c10aa7 100644 --- a/public/webview_zygote.te +++ b/public/webview_zygote.te @@ -25,6 +25,11 @@ allow webview_zygote dalvikcache_data_file:dir r_dir_perms; allow webview_zygote dalvikcache_data_file:lnk_file r_file_perms; allow webview_zygote dalvikcache_data_file:file { r_file_perms execute }; +# Allow webview_zygote to stat the files that it opens. It must +# be able to inspect them so that it can reopen them on fork +# if necessary: b/30963384. +allow webview_zygote debugfs_trace_marker:file getattr; + # Allow webview_zygote to manage the pgroup of its children. allow webview_zygote system_server:process getpgid;