This CL disables module loading by writing 1 to /proc/sys/kernel/modules_disabled when the property sys.boot_completed is set to 1 by ActivityManagerService (at the broadcast of PHASE_BOOT_COMPLETED). Bug: 36515654 Test: tested on sailfish and verified that module loading is disabled in userdebug and enabled in eng mode Change-Id: Id38d34a6395966ab21e440614337c0cfca791ad0 |
||
|---|---|---|
| .. | ||
| etc | ||
| Android.mk | ||
| asan.options | ||
| asan.options.off.template | ||
| init-debug.rc | ||
| init.environ.rc.in | ||
| init.rc | ||
| init.usb.configfs.rc | ||
| init.usb.rc | ||
| init.zygote32.rc | ||
| init.zygote32_64.rc | ||
| init.zygote64.rc | ||
| init.zygote64_32.rc | ||
| ueventd.rc | ||