am 29326eda: Drop domain write access to sysfs for the emulator.

* commit '29326eda65b121fe0edbbae43bc463af17aaed9b':
  Drop domain write access to sysfs for the emulator.
This commit is contained in:
Stephen Smalley 2013-09-13 13:01:03 -07:00 committed by Android Git Automerger
commit e9761cb8cb

View file

@ -103,9 +103,8 @@ allow domain ion_device:chr_file rw_file_perms;
# For /sys/qemu_trace files in the emulator.
bool in_qemu false;
if (in_qemu) {
allow domain sysfs:file rw_file_perms;
}
allow domain sysfs_writable:file rw_file_perms;
}
# Read access to pseudo filesystems.
r_dir_file(domain, proc)