linux_dsm_epyc7002/arch/sparc/include/uapi/asm
Arnd Bergmann a623a7a1a5 y2038: fix socket.h header inclusion
Referencing the __kernel_long_t type caused some user space applications
to stop compiling when they had not already included linux/posix_types.h,
e.g.

s/multicast.c -o ext/sockets/multicast.lo
In file included from /builddir/build/BUILD/php-7.3.3/main/php.h:468,
                 from /builddir/build/BUILD/php-7.3.3/ext/sockets/sockets.c:27:
/builddir/build/BUILD/php-7.3.3/ext/sockets/sockets.c: In function 'zm_startup_sockets':
/builddir/build/BUILD/php-7.3.3/ext/sockets/sockets.c:776:40: error: '__kernel_long_t' undeclared (first use in this function)
  776 |  REGISTER_LONG_CONSTANT("SO_SNDTIMEO", SO_SNDTIMEO, CONST_CS | CONST_PERSISTENT);

It is safe to include that header here, since it only contains kernel
internal types that do not conflict with other user space types.

It's still possible that some related build failures remain, but those
are likely to be for code that is not already y2038 safe.

Reported-by: Laura Abbott <labbott@redhat.com>
Fixes: a9beb86ae6 ("sock: Add SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-11 11:06:00 -07:00
..
apc.h
asi.h
auxvec.h
bitsperlong.h
byteorder.h
display7seg.h
envctrl.h
errno.h
fbio.h
fcntl.h
ioctl.h
ioctls.h
ipcbuf.h
Kbuild arch: remove redundant UAPI generic-y defines 2019-01-06 10:22:15 +09:00
kvm_para.h
mman.h
msgbuf.h
openpromio.h
oradax.h
param.h
perfctr.h
poll.h
posix_types.h arch: sparc: Override struct __kernel_old_timeval 2019-02-03 11:17:30 -08:00
psr.h
psrcompat.h
pstate.h
ptrace.h
resource.h
sembuf.h
setup.h
shmbuf.h
sigcontext.h
siginfo.h
signal.h
socket.h y2038: fix socket.h header inclusion 2019-03-11 11:06:00 -07:00
sockios.h
stat.h
statfs.h
swab.h
termbits.h
termios.h
traps.h
uctx.h
unistd.h sparc: generate uapi header and system call table files 2018-11-18 18:52:22 -08:00
utrap.h
watchdog.h