mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 15:26:21 +09:00
9febc9153f
commit bd71c453db91ecb464405411f2821d040f2a0d44 upstream. Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 lines
387 B
C
19 lines
387 B
C
// 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
|
|
#define sys_clone3 sys_clone3_wrapper
|
|
|
|
#undef __SYSCALL
|
|
#define __SYSCALL(nr, call) [nr] = (call),
|
|
|
|
void *sys_call_table[NR_syscalls] = {
|
|
[0 ... NR_syscalls-1] = sys_ni_syscall,
|
|
#include <asm/unistd.h>
|
|
};
|