diff options
| author | Paul Moore <[email protected]> | 2023-10-24 16:42:38 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2023-11-13 03:54:42 +0000 |
| commit | fdcf699b60712ecd6e41d9fc09137279257a4bf8 (patch) | |
| tree | 2b9076ef67f4fd3542e16f6fa701c47453644bea /security/bpf/hooks.c | |
| parent | lsm: cleanup the size counters in security_getselfattr() (diff) | |
| download | kernel-fdcf699b60712ecd6e41d9fc09137279257a4bf8.tar.gz kernel-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 <[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
