Files

20 lines
486 B
C
Raw Permalink Normal View History

// SPDX-License-Identifier: GPL-2.0
#include <linux/syscalls.h>
#include <linux/signal.h>
#include <linux/unistd.h>
#include <asm/syscalls.h>
#define sys_clone sys_clone_wrapper
2020-01-15 16:08:12 -08:00
#define sys_clone3 sys_clone3_wrapper
2024-04-23 16:12:55 +02:00
#define sys_mmap2 sys_mmap_pgoff
#define __SYSCALL(nr, call) [nr] = (call),
2024-04-23 16:12:55 +02:00
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
void *sys_call_table[NR_syscalls] = {
[0 ... NR_syscalls-1] = sys_ni_syscall,
2024-04-23 16:12:55 +02:00
#include <asm/syscall_table_32.h>
};