Loading...
1// SPDX-License-Identifier: GPL-2.0
2
3#include <linux/syscalls.h>
4#include <linux/signal.h>
5#include <linux/unistd.h>
6
7#include <asm/syscalls.h>
8
9#define sys_clone sys_clone_wrapper
10#define sys_clone3 sys_clone3_wrapper
11#define sys_mmap2 sys_mmap_pgoff
12
13#define __SYSCALL(nr, call) [nr] = (call),
14#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
15
16void *sys_call_table[NR_syscalls] = {
17 [0 ... NR_syscalls-1] = sys_ni_syscall,
18#include <asm/syscall_table_32.h>
19};
1
2#include <linux/syscalls.h>
3#include <linux/signal.h>
4#include <linux/unistd.h>
5
6#include <asm/syscalls.h>
7
8#define sys_clone sys_clone_wrapper
9
10#undef __SYSCALL
11#define __SYSCALL(nr, call) [nr] = (call),
12
13void *sys_call_table[NR_syscalls] = {
14 [0 ... NR_syscalls-1] = sys_ni_syscall,
15#include <asm/unistd.h>
16};