y2038: hide timeval/timespec/itimerval/itimerspec types
authorArnd Bergmann <arnd@arndb.de>
Fri, 21 Feb 2020 04:03:57 +0000 (20:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Feb 2020 19:22:15 +0000 (11:22 -0800)
commitc766d1472c70d25ad475cf56042af1652e792b23
treede6847beef3a80352b3c1eb4fd50657199c80c1c
parent412c53a680a97cb1ae2c0ab60230e193bee86387
y2038: hide timeval/timespec/itimerval/itimerspec types

There are no in-kernel users remaining, but there may still be users that
include linux/time.h instead of sys/time.h from user space, so leave the
types available to user space while hiding them from kernel space.

Only the __kernel_old_* versions of these types remain now.

Link: http://lkml.kernel.org/r/20200110154232.4104492-4-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/uapi/asm-generic/posix_types.h
include/uapi/linux/time.h