diff options
author | Jaesoo Lee <jaesoo@google.com> | 2017-04-10 19:42:19 +0900 |
---|---|---|
committer | Jaesoo Lee <jaesoo@google.com> | 2017-04-11 10:22:47 +0900 |
commit | 6ed19d1675ab7a9b45d1b82c90aac2be8f408a2e (patch) | |
tree | 1668c1fc7e07a406417b27a256f95adfb1fae189 /libutils/ProcessCallStack.cpp | |
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
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions