commit | 3a462a72a83c68bbbb304c9299a8f2ca5904b50b | [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 | 613cf846f167bfaaa8801926e3ec9c779033d8e9 [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