diff options
| author | Jaesoo Lee <jaesoo@google.com> | 2017-04-10 19:42:19 +0900 |
|---|---|---|
| committer | Jaesoo Lee <jaesoo@google.com> | 2017-04-12 10:08:26 +0900 |
| commit | dcf4d19dd9ace8b04b8659bd3e3c4803d315b3a5 (patch) | |
| tree | 8b04b40dba3f81306b717ce9392d973870af3b7e /trusty/coverage/coverage.cpp | |
| parent | a309bc491d0af2e17b2b87568028c68769bc886c (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
Merged-In: Id38d34a6395966ab21e440614337c0cfca791ad0
(cherry picked from commit 6ed19d1675ab7a9b45d1b82c90aac2be8f408a2e)
Change-Id: I2faa459b450b3a64f854c832c6b91cbf682bbffa
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
