Skip to content
Snippets Groups Projects
Commit b224cf35 authored by Narayan Kamath's avatar Narayan Kamath Committed by android-build-merger
Browse files

Allow the zygote to stat all files it opens.

am: a60342b7

Change-Id: Ie8755ced795ca4c566d7cb2980f6506f4f2d512e
parents 9c67c77b a60342b7
Branches
Tags
No related merge requests found
......@@ -39,6 +39,12 @@ allow zygote dex2oat_exec:file rx_file_perms;
# Control cgroups.
allow zygote cgroup:dir create_dir_perms;
allow zygote self:capability sys_admin;
# Allow zygote to stat the files that it opens. The zygote must
# be able to inspect them so that it can reopen them on fork
# if necessary: b/30963384
allow zygote pmsg_device:chr_file { getattr };
allow zygote debugfs_trace_marker:file { getattr };
# Check validity of SELinux context before use.
selinux_check_context(zygote)
# Check SELinux permissions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment