LSM: Prepare for reorganizing "security=" logic
authorKees Cook <keescook@chromium.org>
Wed, 19 Sep 2018 20:11:41 +0000 (13:11 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:42 +0000 (13:18 -0800)
commit5ef4e41918b2dffffa445d8d3a45f3dc257920dc
tree90371b405247d9f12041780cec0be777d2b0610c
parenta8027fb0d188599ccdb2096f49f708bae04d86c4
LSM: Prepare for reorganizing "security=" logic

This moves the string handling for "security=" boot parameter into
a stored pointer instead of a string duplicate. This will allow
easier handling of the string when switching logic to use the coming
enable/disable infrastructure.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: John Johansen <john.johansen@canonical.com>
security/security.c