linux/arch/tile
Eric W. Biederman 212a36a17e signal: Unify and correct copy_siginfo_from_user32
The function copy_siginfo_from_user32 is used for two things, in ptrace
since the dawn of siginfo for arbirarily modifying a signal that
user space sees, and in sigqueueinfo to send a signal with arbirary
siginfo data.

Create a single copy of copy_siginfo_from_user32 that all architectures
share, and teach it to handle all of the cases in the siginfo union.

In the generic version of copy_siginfo_from_user32 ensure that all
of the fields in siginfo are initialized so that the siginfo structure
can be safely copied to userspace if necessary.

When copying the embedded sigval union copy the si_int member.  That
ensures the 32bit values passes through the kernel unchanged.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-01-15 17:55:59 -06:00
..
configs tile: defconfig: Cleanup from old Kconfig options 2017-07-20 10:29:50 -04:00
gxio Merge branch 'linus' into locking/core, to resolve conflicts 2017-11-07 10:32:44 +01:00
include signal/tile: Move the tile specific si_codes to asm-generic/siginfo.h 2018-01-15 17:42:35 -06:00
kernel signal: Unify and correct copy_siginfo_from_user32 2018-01-15 17:55:59 -06:00
kvm License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lib License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mm mm: remove cold parameter from free_hot_cold_page* 2017-11-15 18:21:06 -08:00
Kbuild
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile tile: pass machine size to sparse 2017-10-31 16:54:03 -04:00