summaryrefslogtreecommitdiffstats
path: root/rootdir/init-debug.rc
Commit message (Collapse)AuthorAgeFilesLines
* init-debug.rc: don't mount debugfsJeff Vander Stoep2017-03-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | 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
* init-debug.rc: mount debugfsMihai Serban2016-03-071-0/+3
| | | | | | | | Enable debugfs on non "user" builds. BUG=27520850 Change-Id: I2bcc72b686d0477b553c0605adfd4c023e72cbfb Signed-off-by: Mihai Serban <mihai.serban@intel.com>
* init-debug.rc: add runtime mmc max speed property actorsMark Salyzyn2016-02-041-0/+8
persist.mmc.max_read_speed - KB/s speed cap persist.mmc.max_write_speed - KB/s speed cap persist.mmc.cache_size - MB of high-speed on-device write cache device default directly to associated /sys/block/mmcblk0/ attributes, not delivered on "user" builds. Bug: 26976972 Change-Id: Ic82b9614489b6406ce830d127c85affc9095e256