platform_system_core/rootdir
Jeff Vander Stoep 082807f3b4 init-debug.rc: don't mount debugfs
Motivation:
1. Reduce skew between userdebug and user builds.
2. Make the decision to mount debugfs on debug builds on a
   per-device basis.
3. Prepare to not mount it at all to reduce the attack surface
   of the kernel, reduce boot time, and free up memory.
4. Remove the selinux denial on devices that mount twice, i.e.
   unconditionally in the device specific .rc file and in the
   init-debug.rc file.
   avc: denied { mounton } for path="/sys/kernel/debug" dev="debugfs"
   ino=1 scontext=u:r:init:s0 tcontext=u:object_r:debugfs:s0
   tclass=dir permissive=0

If desired, debugfs may be mounted in device specific rc files
instead.

Bug: 31856701
Bug: 35197529
Test: Build and boot Marlin. Selinux denial no longer observed.
Change-Id: Ie0d954f77f7cf70ed2b94f67a57a6c9eba45ba8e
2017-03-14 21:56:24 -07:00
..
etc Add camera2 NDK library to public library lists 2016-03-18 12:33:19 -07:00
Android.mk ASAN: Separate SANITIZE_LITE from asan.options 2017-03-10 10:48:00 -08:00
asan.options Asan.options: Use abort_on_error 2016-08-16 15:45:56 -07:00
asan.options.off.template Rootdir: Add more asan.options support 2016-06-23 14:45:35 -07:00
init-debug.rc init-debug.rc: don't mount debugfs 2017-03-14 21:56:24 -07:00
init.environ.rc.in Add global GCOV_PREFIX option. 2017-02-27 15:00:18 -08:00
init.rc Merge "init.rc: enable ledtrig-transient support for vibrator" 2017-03-11 01:23:18 +00:00
init.usb.configfs.rc init: usb: fix audio_source function typo 2017-01-17 14:27:34 -08:00
init.usb.rc Remove redundant action triggers on persist.sys.usb.config 2016-08-01 21:56:23 +00:00
init.zygote32.rc Restart wificond when zygote died 2017-01-07 19:45:42 -08:00
init.zygote32_64.rc Reapply 1339871138: Only apply schedTune boost to top-app tasks 2017-02-13 17:34:51 +00:00
init.zygote64.rc Restart wificond when zygote died 2017-01-07 19:45:42 -08:00
init.zygote64_32.rc Reapply 1339871138: Only apply schedTune boost to top-app tasks 2017-02-13 17:34:51 +00:00
ueventd.rc Revert "Only allow system to write to existing input nodes." 2017-02-21 17:12:59 +00:00