Skip to content
Snippets Groups Projects
Commit 67223387 authored by Max Bires's avatar Max Bires Committed by android-build-merger
Browse files

Merge "Exclude dev/null from auditing - was producing log spam." am:...

Merge "Exclude dev/null from auditing - was producing log spam." am: a38067c7 am: 0979abc0 am: 4aa99076
am: 705fdfe8

Change-Id: Iacf65cef710aafe9e083ae25b4587ae5e97c5369
parents daa7ef3d 705fdfe8
Branches
Tags
No related merge requests found
......@@ -198,7 +198,13 @@ allow init { fs_type -contextmount_type -sdcard_type -rootfs }:dir { open read
# init should not be able to read or open generic devices
# TODO: auditing to see if this can be deleted entirely
allow init { dev_type -kmem_device -port_device -device }:chr_file { read open };
auditallow init { dev_type -kmem_device -port_device -device }:chr_file { read open };
auditallow init {
dev_type
-kmem_device
-port_device
-device
-null_device
}:chr_file { read open };
# chown/chmod on devices.
allow init { dev_type -kmem_device -port_device }:chr_file setattr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment