2017-11-01 15:07:57 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2013-01-18 15:12:18 +05:30
|
|
|
|
|
|
|
|
#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
|
2013-01-18 15:12:18 +05:30
|
|
|
|
|
|
|
|
#define __SYSCALL(nr, call) [nr] = (call),
|
2024-04-23 16:12:55 +02:00
|
|
|
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
|
2013-01-18 15:12:18 +05:30
|
|
|
|
|
|
|
|
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>
|
2013-01-18 15:12:18 +05:30
|
|
|
};
|