Skip to content
Commit 5611f55e authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

signal/signalfd: Remove __put_user from signalfd_copyinfo



Put a signalfd_siginfo structure on the stack fully initializae
it and then copy it to userspace.

The code is a little less wordy, and this avoids a long series
of the somewhat costly __put_user calls.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 91810105
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment