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>
Showing
Please register or sign in to comment