security/loadpin: Update the changing interface in the source code.
authorJiele zhao <unclexiaole@gmail.com>
Mon, 8 Mar 2021 02:03:58 +0000 (02:03 +0000)
committerJonathan Corbet <corbet@lwn.net>
Mon, 15 Mar 2021 19:32:32 +0000 (13:32 -0600)
commit0860b72d535f869e26252df66d4f634e1655f84a
tree45855aee2bc9619960e2b1d8c7cedfa81a573bc9
parente3c2b1edd5904e326295937aaa34d891f15b7c5e
security/loadpin: Update the changing interface in the source code.

Loadpin cmdline interface "enabled" has been renamed to "enforce"
for a long time, but the User Description Document was not updated.
(Meaning unchanged)

And kernel_read_file* were moved from linux/fs.h to its own
linux/kernel_read_file.h include file. So update that change here.

Signed-off-by: Jiele zhao <unclexiaole@gmail.com>
Link: https://lore.kernel.org/r/20210308020358.102836-1-unclexiaole@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/LSM/LoadPin.rst