1
0
Fork 0
alistair23-linux/arch/microblaze/kernel
Arnd Bergmann 48166e6ea4 y2038: add 64-bit time_t syscalls to all 32-bit architectures
This adds 21 new system calls on each ABI that has 32-bit time_t
today. All of these have the exact same semantics as their existing
counterparts, and the new ones all have macro names that end in 'time64'
for clarification.

This gets us to the point of being able to safely use a C library
that has 64-bit time_t in user space. There are still a couple of
loose ends to tie up in various areas of the code, but this is the
big one, and should be entirely uncontroversial at this point.

In particular, there are four system calls (getitimer, setitimer,
waitid, and getrusage) that don't have a 64-bit counterpart yet,
but these can all be safely implemented in the C library by wrapping
around the existing system calls because the 32-bit time_t they
pass only counts elapsed time, not time since the epoch. They
will be dealt with later.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
2019-02-07 00:13:28 +01:00
..
cpu microblaze: get cpu node with of_get_cpu_node 2018-09-28 15:30:26 -05:00
syscalls y2038: add 64-bit time_t syscalls to all 32-bit architectures 2019-02-07 00:13:28 +01:00
.gitignore microblaze: Add .gitignore entries for auto-generated files 2013-02-12 11:24:44 +01:00
Makefile microblaze: consolidate GPIO reset handling 2018-06-21 13:57:39 +02:00
asm-offsets.c microblaze: Remove "cache" optimized copy_page function 2010-05-06 11:21:58 +02:00
dma.c dma-mapping: consolidate the dma mmap implementations 2018-09-20 09:01:16 +02:00
entry-nommu.S microblaze: fix handling of multiple pending signals 2013-02-03 18:16:02 -05:00
entry.S microblaze: Fix MSR flags when returning from exception 2017-06-22 15:37:00 +02:00
exceptions.c signal/microblaze: Use force_sig_fault where appropriate 2018-04-25 10:41:02 -05:00
ftrace.c microblaze: function_graph: Simplify with function_graph_enter() 2018-11-27 20:30:18 -05:00
head.S microblaze: delete wrong comment about machine_early_init 2018-07-30 08:33:04 +02:00
hw_exception_handler.S microblaze: Fix compilation error for BS=0 2014-01-27 11:26:33 +01:00
irq.c irqchip/xilinx: Rename get_irq to xintc_get_irq 2016-11-29 09:14:49 +00:00
kgdb.c kgdb/treewide: constify struct kgdb_arch arch_kgdb_ops 2018-12-30 08:33:06 +00:00
mcount.S microblaze: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:08 -04:00
microblaze_ksyms.c microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
misc.S microblaze: remove redundant early_printk support 2018-04-23 12:43:45 +02:00
module.c microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
process.c arch: remove unused macro/function thread_saved_pc() 2017-06-28 16:13:57 -07:00
prom.c microblaze: remove redundant early_printk support 2018-04-23 12:43:45 +02:00
ptrace.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
reset.c microblaze: consolidate GPIO reset handling 2018-06-21 13:57:39 +02:00
setup.c microblaze: remove redundant early_printk support 2018-04-23 12:43:45 +02:00
signal.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
stacktrace.c microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
sys_microblaze.c mm: add ksys_mmap_pgoff() helper; remove in-kernel calls to sys_mmap_pgoff() 2018-04-02 20:16:11 +02:00
syscall_table.S microblaze: generate uapi header and system call table files 2018-11-16 08:24:34 +01:00
timer.c microblaze: Remove architecture heart beat code 2018-06-12 12:46:35 +02:00
traps.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
unwind.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
vmlinux.lds.S vmlinux.lds.h: Move LSM_TABLE into INIT_DATA 2018-10-10 20:40:21 -07:00