aboutsummaryrefslogtreecommitdiffstats
path: root/security/bpf/hooks.c
diff options
context:
space:
mode:
authorPaul Moore <[email protected]>2023-10-24 16:38:40 +0000
committerPaul Moore <[email protected]>2023-11-13 03:54:42 +0000
commitdc46db78b9747f8114030982ee5c2faf2faaeddd (patch)
treebfea48e1ca1a6c4229e4e156085951d59fa820aa /security/bpf/hooks.c
parentlsm: don't yet account for IMA in LSM_CONFIG_COUNT calculation (diff)
downloadkernel-dc46db78b9747f8114030982ee5c2faf2faaeddd.tar.gz
kernel-dc46db78b9747f8114030982ee5c2faf2faaeddd.zip
lsm: cleanup the size counters in security_getselfattr()
Zero out all of the size counters in the -E2BIG case (buffer too small) to help make the current code a bit more robust in the face of future code changes. Acked-by: Casey Schaufler <[email protected]> Reviewed-by: Mickaël Salaün <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/bpf/hooks.c')
0 files changed, 0 insertions, 0 deletions