LSM: fix documentation for the path_chmod hook
authorDenis Efremov <efremov@ispras.ru>
Tue, 26 Feb 2019 20:49:07 +0000 (23:49 +0300)
committerJames Morris <james.morris@microsoft.com>
Tue, 26 Mar 2019 23:43:23 +0000 (16:43 -0700)
commit6b6b6476a32f763843c9a3c91dff4d91faa1267e
tree2c8e655be4a214560dfdb79d0b1d6a05fdcea422
parent2f991d7ae86a81eba7e564a0f054d9e5dbfbfe34
LSM: fix documentation for the path_chmod hook

The path_chmod hook was changed in the commit
"switch security_path_chmod() to struct path *" (cdcf116d44e7).
The argument @mnt was removed from the hook, @dentry was changed
to @path. This patch updates the documentation accordingly.

Signed-off-by: Denis Efremov <efremov@ispras.ru>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
include/linux/lsm_hooks.h