Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c69f6ed0 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by android-build-merger
Browse files

Merge "Remove world writable sysfs files" into oc-mr1-dev-plus-aosp

am: fbac2f14

Change-Id: I98356e5276fc313ea2ce5a96caf4a7318ca366ab
parents b994745e fbac2f14
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
# For /sys/qemu_trace files in the emulator.
allow domain sysfs_writable:dir search;
allow domain sysfs_writable:file rw_file_perms;
allow domain qemu_device:chr_file rw_file_perms;

get_prop(domain, qemu_prop)
+0 −1
Original line number Diff line number Diff line
type sysfs_writable, fs_type, sysfs_type, mlstrustedobject;
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@
/dev/qemu_.*                 u:object_r:qemu_device:s0
/dev/ttyGF[0-9]*             u:object_r:serial_device:s0
/dev/ttyS2                   u:object_r:console_device:s0
/sys/qemu_trace(/.*)?        u:object_r:sysfs_writable:s0
/vendor/bin/init\.ranchu-core\.sh u:object_r:goldfish_setup_exec:s0
/vendor/bin/init\.ranchu-net\.sh u:object_r:goldfish_setup_exec:s0
/vendor/bin/qemu-props       u:object_r:qemu_props_exec:s0