lsm: Add/fix return values in lsm_hooks.h and fix formatting
authorRoberto Sassu <roberto.sassu@huawei.com>
Mon, 28 Nov 2022 14:42:40 +0000 (15:42 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 7 Dec 2022 00:16:58 +0000 (19:16 -0500)
commit8eb687bc806932fc65de4cf60c4ecf913182231d
treed19f5b32b73afc2f0072d39ced7dc6bf4fd81e85
parent361dd63ed5f1103ff21e22408a142a7d40804527
lsm: Add/fix return values in lsm_hooks.h and fix formatting

Ensure that for non-void LSM hooks there is a description of the return
values.

Also, replace spaces with tab for indentation, remove empty lines between
the hook description and the list of parameters, adjust semicolons and add
the period at the end of the parameter description.

Finally, move the description of gfp parameter of the
xfrm_policy_alloc_security hook together with the others.

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
[PM: /replaces./replaced./]
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/lsm_hooks.h