Skip to content
Snippets Groups Projects
Commit 351f74c8 authored by Stephen Smalley's avatar Stephen Smalley Committed by Android Git Automerger
Browse files

am e7921bc3: am 190c704d: Allow healthd to read/write /dev/__null_.

* commit 'e7921bc3':
  Allow healthd to read/write /dev/__null_.
parents cdfedeec e7921bc3
Branches
Tags
No related merge requests found
...@@ -6,6 +6,9 @@ type healthd_exec, exec_type, file_type; ...@@ -6,6 +6,9 @@ type healthd_exec, exec_type, file_type;
init_daemon_domain(healthd) init_daemon_domain(healthd)
allow healthd rootfs:file { read entrypoint }; allow healthd rootfs:file { read entrypoint };
write_klog(healthd) write_klog(healthd)
# /dev/__null__ created by init prior to policy load,
# open fd inherited by healthd.
allow healthd tmpfs:chr_file { read write };
allow healthd self:capability { net_admin mknod }; allow healthd self:capability { net_admin mknod };
allow healthd self:capability2 block_suspend; allow healthd self:capability2 block_suspend;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment