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 | 3a462a72a83c68bbbb304c9299a8f2ca5904b50b (patch) | |
| tree | 1668c1fc7e07a406417b27a256f95adfb1fae189 /libutils/ProcessCallStack.cpp | |
| 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
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions
