diff options
author | 2023-10-24 12:42:38 -0400 | |
---|---|---|
committer | 2023-11-12 22:54:42 -0500 | |
commit | fdcf699b60712ecd6e41d9fc09137279257a4bf8 (patch) | |
tree | 2b9076ef67f4fd3542e16f6fa701c47453644bea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lsm: cleanup the size counters in security_getselfattr() (diff) | |
download | wireguard-linux-fdcf699b60712ecd6e41d9fc09137279257a4bf8.tar.xz wireguard-linux-fdcf699b60712ecd6e41d9fc09137279257a4bf8.zip |
lsm: correct error codes in security_getselfattr()
We should return -EINVAL if the user specifies LSM_FLAG_SINGLE without
supplying a valid lsm_ctx struct buffer.
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions