commit | 6ed19d1675ab7a9b45d1b82c90aac2be8f408a2e | [log] [tgz] |
---|---|---|
author | Jaesoo Lee <jaesoo@google.com> | Mon Apr 10 19:42:19 2017 +0900 |
committer | Jaesoo Lee <jaesoo@google.com> | Tue Apr 11 10:22:47 2017 +0900 |
tree | 1668c1fc7e07a406417b27a256f95adfb1fae189 | |
parent | caf7750f3f3d658512f5221ad72d1d3d19e0a55c [diff] |
disable module loading after BOOT_COMPLETED broadcast 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