aboutsummaryrefslogtreecommitdiff
path: root/security/smack
diff options
context:
space:
mode:
authorGravatar Eric W. Biederman <ebiederm@xmission.com> 2018-04-18 17:30:19 -0500
committerGravatar Eric W. Biederman <ebiederm@xmission.com> 2018-10-03 16:47:15 +0200
commit4cd2e0e70af6897ca2247fa1ffb1553ca16b4903 (patch)
tree55e54fb3ca4ea687448ffaddd34e8cb4366466d7 /security/smack
parentsignal: Remove the need for __ARCH_SI_PREABLE_SIZE and SI_PAD_SIZE (diff)
downloadlinux-4cd2e0e70af6897ca2247fa1ffb1553ca16b4903.tar.gz
linux-4cd2e0e70af6897ca2247fa1ffb1553ca16b4903.tar.bz2
linux-4cd2e0e70af6897ca2247fa1ffb1553ca16b4903.zip
signal: Introduce copy_siginfo_from_user and use it's return value
In preparation for using a smaller version of siginfo in the kernel introduce copy_siginfo_from_user and use it when siginfo is copied from userspace. Make the pattern for using copy_siginfo_from_user and copy_siginfo_from_user32 to capture the return value and return that value on error. This is a necessary prerequisite for using a smaller siginfo in the kernel than the kernel exports to userspace. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions