linux/arch/sparc/include/uapi/asm
Eric W. Biederman cc9f72e474 signal/sparc: Document a conflict with SI_USER with SIGFPE
Setting si_code to __SI_FAULT results in a userspace seeing
an si_code of 0.  This is the same si_code as SI_USER.  Posix
and common sense requires that SI_USER not be a signal specific
si_code.  As such this use of 0 for the si_code is a pretty
horribly broken ABI.

This was introduced in 2.3.41 so this mess has had a long time for
people to be able to start depending on it.

As this bug has existed for 17 years already I don't know if it is
worth fixing.  It is definitely worth documenting what is going
on so that no one decides to copy this bad decision.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2017-07-19 19:13:14 -05:00
..
apc.h
asi.h sparc64: Fix incorrect ASI_ST_BLKINIT_MRU_S value 2015-08-07 15:22:20 -07:00
auxvec.h
bitsperlong.h
byteorder.h
display7seg.h
envctrl.h
errno.h errno.h: remove "NFS" from descriptions in comments 2013-11-13 12:09:12 +09:00
fbio.h
fcntl.h Safer ABI for O_TMPFILE 2013-07-13 13:26:37 +04:00
ioctl.h
ioctls.h tty: add TIOCGPTPEER ioctl 2017-06-09 12:27:54 +02:00
ipcbuf.h
jsflash.h
Kbuild sparc: move generic-y of exported headers to uapi/asm/Kbuild 2017-07-11 21:33:52 +09:00
kvm_para.h
mman.h mm: mlock: add mlock flags to enable VM_LOCKONFAULT usage 2015-11-05 19:34:48 -08:00
msgbuf.h
openpromio.h
param.h
perfctr.h
poll.h
posix_types.h
psr.h
psrcompat.h
pstate.h treewide: Fix typo compatability -> compatibility 2015-08-07 14:01:39 +02:00
ptrace.h
resource.h
sembuf.h
setup.h
shmbuf.h
sigcontext.h UAPI: Make arch/sparc/include/uapi/asm/sigcontext.h non-empty 2012-10-17 12:32:35 +01:00
siginfo.h signal/sparc: Document a conflict with SI_USER with SIGFPE 2017-07-19 19:13:14 -05:00
signal.h sparc: switch to use of generic old sigaction 2013-02-03 22:43:35 -05:00
socket.h net: introduce SO_PEERGROUPS getsockopt 2017-06-21 11:38:41 -04:00
sockios.h
stat.h sparc: Convert naked unsigned uses to unsigned int 2016-03-20 21:28:58 -07:00
statfs.h
swab.h sparc64: Fix constraints on swab helpers. 2014-11-16 13:19:32 -08:00
termbits.h
termios.h
traps.h
uctx.h
unistd.h sparc: Update syscall tables. 2017-04-23 18:28:55 -07:00
utrap.h
watchdog.h