Drop domain write access to sysfs for the emulator.
3.4 goldfish kernel supports sysfs labeling so we no longer need this.
Change-Id: I77514a8f3102ac8be957c57d95e7de7d5901f69d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
diff --git a/domain.te b/domain.te
index 7c9e7a6..3db35d7 100644
--- a/domain.te
+++ b/domain.te
@@ -103,9 +103,8 @@
# 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)