diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-04-24 20:39:16 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-04-26 19:51:12 -0500 |
commit | 5611f55ee4df70d947bf239c587e742efdab028b (patch) | |
tree | 8d1210f0eed27ea304e1ec1e88b900a4061848fc /lib/bug.c | |
parent | 9181010565903a2e4952a073ff29e0990b760f2e (diff) | |
download | linux-5611f55ee4df70d947bf239c587e742efdab028b.tar.bz2 |
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>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions