]> www.infradead.org Git - users/willy/linux.git/commit
LSM: Split LSM preparation from initialization
authorKees Cook <keescook@chromium.org>
Wed, 10 Oct 2018 22:45:22 +0000 (15:45 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:43 +0000 (13:18 -0800)
commitd8e9bbd4fa7f654bd877a312fc4104c6e5e5c6ca
treed85b1e9410ba9e37a64eb22949f114fc0e87d166
parentc91d8106b370593b4d3dcc0b06282bf39478ae13
LSM: Split LSM preparation from initialization

Since we already have to do a pass through the LSMs to figure out if
exclusive LSMs should be disabled after the first one is seen as enabled,
this splits the logic up a bit more cleanly. Now we do a full "prepare"
pass through the LSMs (which also allows for later use by the blob-sharing
code), before starting the LSM initialization pass.

Signed-off-by: Kees Cook <keescook@chromium.org>
security/security.c