[PATCH 1/1] NAX LSM: Add initial support support
izh1979 at gmail.com
Fri Aug 13 20:10:47 UTC 2021
ср, 28 июл. 2021 г. в 13:19, THOBY Simon <Simon.THOBY at viveris.fr>:
> The kernel style guide mandates that all variables are only defined at the beggining of the
> function, and not at the beggining of any block like C89.
I've checked the kernel coding style and couldn't find anything about
place. Could you, please, point me to the requirement?
Scoping variables declaration makes the code better and more secure.
Besides, I've checked the kernel sources and see many examples of that.
More information about the Linux-security-module-archive