linux_dsm_epyc7002/arch/parisc/include/uapi/asm
Helge Deller d0cf62fb63 parisc: Fixes and cleanups in kernel uapi header files
This patch fixes some bugs and partly cleans up the parisc uapi header
files to what glibc defined:
- compat_semid64_ds was wrong and did not take the endianess into
  account
- ipc64_perm exported userspace types which broke building userspace
  packages on debian (e.g. trinity)
- ipc64_perm needs to use a 32bit mode_t on 64bit kernel
- msqid64_ds and semid64_ds needs unsigned longs for various struct members
- shmid64_ds exported size_t instead of __kernel_size_t

And finally add some compile-time checks for the sizes of those structs
to avoid future breakage.

Runtime-tested with the Linux Test Project (LTP) testsuite.

Cc: <stable@vger.kernel.org> # 3.18+
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
2015-11-08 20:27:01 +01:00
..
bitsperlong.h parisc: Avoid using CONFIG_64BIT in userspace exported headers 2014-11-10 22:25:29 +01:00
byteorder.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
errno.h parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc 2014-02-02 20:57:42 +01:00
fcntl.h Safer ABI for O_TMPFILE 2013-07-13 13:26:37 +04:00
ioctl.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
ioctls.h parisc/uapi: Add definition of TIOC[SG]RS485 2014-09-09 22:36:40 -07:00
ipcbuf.h parisc: Fixes and cleanups in kernel uapi header files 2015-11-08 20:27:01 +01:00
Kbuild parisc: Use generic uapi/asm/resource.h file 2014-05-01 19:29:26 +02:00
mman.h mm: support more pagesizes for MAP_HUGETLB/SHM_HUGETLB 2012-12-11 17:22:25 -08:00
msgbuf.h parisc: Fixes and cleanups in kernel uapi header files 2015-11-08 20:27:01 +01:00
pdc.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
posix_types.h parisc: Fixes and cleanups in kernel uapi header files 2015-11-08 20:27:01 +01:00
ptrace.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
sembuf.h parisc: Fixes and cleanups in kernel uapi header files 2015-11-08 20:27:01 +01:00
setup.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
shmbuf.h parisc: Fixes and cleanups in kernel uapi header files 2015-11-08 20:27:01 +01:00
sigcontext.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
siginfo.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
signal.h parisc: Avoid using CONFIG_64BIT in userspace exported headers 2014-11-10 22:25:29 +01:00
socket.h net: sock: allow eBPF programs to be attached to sockets 2014-12-05 21:47:32 -08:00
sockios.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
stat.h parisc: Drop hpux_stat64 struct from stat.h header file 2015-11-08 20:26:24 +01:00
statfs.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
swab.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
termbits.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
termios.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
types.h UAPI: (Scripted) Disintegrate arch/parisc/include/asm 2012-10-16 21:28:05 +01:00
unistd.h parisc: hpux - Remove HPUX syscall numbers 2015-02-16 22:35:07 +01:00