diff options
author | Paul Moore <paul@paul-moore.com> | 2023-10-24 12:38:40 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-11-12 22:54:42 -0500 |
commit | dc46db78b9747f8114030982ee5c2faf2faaeddd (patch) | |
tree | bfea48e1ca1a6c4229e4e156085951d59fa820aa /mm/workingset.c | |
parent | lsm: don't yet account for IMA in LSM_CONFIG_COUNT calculation (diff) | |
download | linux-dc46db78b9747f8114030982ee5c2faf2faaeddd.tar.gz linux-dc46db78b9747f8114030982ee5c2faf2faaeddd.tar.bz2 linux-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 <casey@schaufler-ca.com>
Reviewed-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'mm/workingset.c')
0 files changed, 0 insertions, 0 deletions