X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=include%2Flinux%2Flsm_hooks.h;h=3a90febadbe20e6756819dcd04e235a05fb7d99e;hb=e06fdaf40a5c021dd4a2ec797e8b724f07360070;hp=7a86925ba8f30033ef2402d7a34b76c1498fe2bf;hpb=a90c6ac2b5651b1f907de512c2fa648c9fa6bb6e;p=linux-2.6-microblaze.git diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 7a86925ba8f3..3a90febadbe2 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -1912,7 +1912,7 @@ struct security_hook_heads { struct list_head audit_rule_match; struct list_head audit_rule_free; #endif /* CONFIG_AUDIT */ -}; +} __randomize_layout; /* * Security module hook list structure. @@ -1923,7 +1923,7 @@ struct security_hook_list { struct list_head *head; union security_list_options hook; char *lsm; -}; +} __randomize_layout; /* * Initializing a security_hook_list structure takes