Merge "init: set SetKptrRestrict before early-init"
This commit is contained in:
commit
88bba95989
1 changed files with 1 additions and 1 deletions
|
|
@ -764,6 +764,7 @@ int SecondStageMain(int argc, char** argv) {
|
|||
|
||||
am.QueueBuiltinAction(SetupCgroupsAction, "SetupCgroups");
|
||||
|
||||
am.QueueBuiltinAction(SetKptrRestrictAction, "SetKptrRestrict");
|
||||
am.QueueEventTrigger("early-init");
|
||||
|
||||
// Queue an action that waits for coldboot done so we know ueventd has set up all of /dev...
|
||||
|
|
@ -771,7 +772,6 @@ int SecondStageMain(int argc, char** argv) {
|
|||
// ... so that we can start queuing up actions that require stuff from /dev.
|
||||
am.QueueBuiltinAction(MixHwrngIntoLinuxRngAction, "MixHwrngIntoLinuxRng");
|
||||
am.QueueBuiltinAction(SetMmapRndBitsAction, "SetMmapRndBits");
|
||||
am.QueueBuiltinAction(SetKptrRestrictAction, "SetKptrRestrict");
|
||||
Keychords keychords;
|
||||
am.QueueBuiltinAction(
|
||||
[&epoll, &keychords](const BuiltinArguments& args) -> Result<void> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue