diff options
author | Paul Moore <[email protected]> | 2023-10-24 12:42:38 -0400 |
---|---|---|
committer | Paul Moore <[email protected]> | 2023-11-12 22:54:42 -0500 |
commit | fdcf699b60712ecd6e41d9fc09137279257a4bf8 (patch) | |
tree | 2b9076ef67f4fd3542e16f6fa701c47453644bea /scripts/generate_rust_analyzer.py | |
parent | dc46db78b9747f8114030982ee5c2faf2faaeddd (diff) |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions