cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sys.c (387B)


      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
     12#undef __SYSCALL
     13#define __SYSCALL(nr, call) [nr] = (call),
     14
     15void *sys_call_table[NR_syscalls] = {
     16	[0 ... NR_syscalls-1] = sys_ni_syscall,
     17#include <asm/unistd.h>
     18};