WSL2-Linux-Kernel/security/smack
James Morris 88e9d34c72 seq_file: constify seq_operations
Make all seq_operations structs const, to help mitigate against
revectoring user-triggerable function pointers.

This is derived from the grsecurity patch, although generated from scratch
because it's simpler than extracting the changes from there.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-23 07:39:29 -07:00
..
Kconfig Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h security: Make lsm_priv union in lsm_audit.h anonymous 2009-07-10 08:58:39 +10:00
smack_access.c security: Make lsm_priv union in lsm_audit.h anonymous 2009-07-10 08:58:39 +10:00
smack_lsm.c Move magic numbers into magic.h 2009-09-23 07:39:28 -07:00
smackfs.c seq_file: constify seq_operations 2009-09-23 07:39:29 -07:00