aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/assembler.h
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2017-04-04 23:50:45 +0000
committerKees Cook <[email protected]>2017-06-22 23:21:40 +0000
commitfd466e068e5adef5922b76f24374c96ba01faaa2 (patch)
tree33cb7aa384ed9a0c0f9a9eed44f83e858bd52605 /arch/arm/include/asm/assembler.h
parentgcc-plugins: Add the randstruct plugin (diff)
downloadkernel-fd466e068e5adef5922b76f24374c96ba01faaa2.tar.gz
kernel-fd466e068e5adef5922b76f24374c96ba01faaa2.zip
randstruct: Whitelist struct security_hook_heads cast
The LSM initialization routines walk security_hook_heads as an array of struct list_head instead of via names to avoid a ton of needless source. Whitelist this to avoid the false positive warning from the plugin: security/security.c: In function ‘security_init’: security/security.c:59:20: note: found mismatched op0 struct pointer types: ‘struct list_head’ and ‘struct security_hook_heads’ struct list_head *list = (struct list_head *) &security_hook_heads; ^ Cc: Tetsuo Handa <[email protected]> Cc: James Morris <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions