Dmitry V. Levin f454322efb signal: replace sigset_to_compat() with put_compat_sigset()
There are 4 callers of sigset_to_compat() in the entire kernel.  One is
in sparc compat rt_sigaction(2), the rest are in kernel/signal.c itself.
All are followed by copy_to_user(), and all but the sparc one are under
"if it's big-endian..." ifdefs.

Let's transform sigset_to_compat() into put_compat_sigset() that also
calls copy_to_user().

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2017-09-19 17:55:54 -04:00
..
2017-09-09 14:48:21 -07:00
2017-09-12 13:30:06 -07:00
2017-09-15 12:47:21 -07:00
2017-09-13 11:52:18 -07:00
2017-09-15 15:43:55 -07:00
2017-09-12 13:30:06 -07:00
2017-09-12 13:30:06 -07:00