]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - security/security.c
LSM: Ignore "security=" when "lsm=" is specified
authorKees Cook <keescook@chromium.org>
Tue, 12 Feb 2019 18:23:18 +0000 (10:23 -0800)
committerJames Morris <james.morris@microsoft.com>
Mon, 25 Feb 2019 23:22:48 +0000 (15:22 -0800)
commit89a9684ea158dd7eef1728be9f0aed9a7d41cf19
treefaeed122fb3f70e927d14d7a587a5c634a0cbaf9
parente88ed488af0a70cbc925d2cce60788378bbe26e3
LSM: Ignore "security=" when "lsm=" is specified

To avoid potential confusion, explicitly ignore "security=" when "lsm=" is
used on the command line, and report that it is happening.

Suggested-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
Documentation/admin-guide/kernel-parameters.txt
security/security.c