]> git.baikalelectronics.ru Git - kernel.git/commit
Adding YAMA hooks also when YAMA is not stacked.
authorSalvatore Mesoraca <s.mesoraca16@gmail.com>
Mon, 3 Aug 2015 10:40:51 +0000 (12:40 +0200)
committerJames Morris <james.l.morris@oracle.com>
Mon, 3 Aug 2015 15:36:18 +0000 (01:36 +1000)
commit956f705e649e2bf0ba295bc6bd1b45cb412b3ebf
tree8cd7967bdd3f62d7f7827fe511574b6e093480af
parent5cac980cd1f596f7f7cf31bc217548b3f5fda8d7
Adding YAMA hooks also when YAMA is not stacked.

Without this patch YAMA will not work at all if it is chosen
as the primary LSM instead of being "stacked".

Signed-off-by: Salvatore Mesoraca <s.mesoraca16@gmail.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/yama/yama_lsm.c