commit | 5611f55ee4df70d947bf239c587e742efdab028b | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Tue Apr 24 20:39:16 2018 -0500 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Thu Apr 26 19:51:12 2018 -0500 |
tree | 8d1210f0eed27ea304e1ec1e88b900a4061848fc | |
parent | 9181010565903a2e4952a073ff29e0990b760f2e [diff] |
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: "Eric W. Biederman" <ebiederm@xmission.com>