]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit009a462333f5cc4d938045216234fd08f9a5d3a7
treede6847beef3a80352b3c1eb4fd50657199c80c1c
parent0d9a2c27784680ec44f99765e6df2f6e0c406b4f
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