[PATCH 1/1] NAX LSM: Add initial support support
    Igor Zhbanov 
    izh1979 at gmail.com
       
    Fri Aug 13 20:10:47 UTC 2021
    
    
  
Hi Simon,
ср, 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
variables definition
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.
Thank you.
    
    
More information about the Linux-security-module-archive
mailing list