Skip to content
Commit a5a858f6 authored by Casey Schaufler's avatar Casey Schaufler Committed by Paul Moore
Browse files

lsm: use 32-bit compatible data types in LSM syscalls



Change the size parameters in lsm_list_modules(), lsm_set_self_attr()
and lsm_get_self_attr() from size_t to u32. This avoids the need to
have different interfaces for 32 and 64 bit systems.

Cc: stable@vger.kernel.org
Fixes: a04a1198 ("LSM: syscalls for current process attributes")
Fixes: ad4aff9e ("LSM: Create lsm_list_modules system call")
Signed-off-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Reported-and-reviewed-by: default avatarDmitry V. Levin <ldv@strace.io>
[PM: subject and metadata tweaks, syscall.h fixes]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent b0546776
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment