lkml.org 
[lkml]   [2017]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
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
--

\
 
 \ /
  Last update: 2017-06-22 20:01    [W:0.019 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site