Re: [PATCH] Moved module init-functions into the module.
From: Steve Kemp
Date: Thu Jun 22 2017 - 04:09:28 EST
On Thu Jun 22, 2017 at 16:02:30 +0800, Ethan Zhao wrote:
> Seems you moved the initialization of security module to
> late_initcall stage, that is not right.
Thanks for the feedback.
> For security modules, you should use security_initcall() macro to define
> the init functions.
Literally just a change like this?
-late_initcall(yama_add_hooks);
+security_initcall(yama_add_hooks);
I'll submit v2 with that shortly, thanks.
Steve
--