~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/x86/um/sys_call_table_32.c

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * System call table for UML/i386, copied from arch/x86/kernel/syscall_*.c
  4  * with some changes for UML.
  5  */
  6 
  7 #include <linux/linkage.h>
  8 #include <linux/sys.h>
  9 #include <linux/cache.h>
 10 #include <asm/syscall.h>
 11 
 12 extern asmlinkage long sys_ni_syscall(unsigned long, unsigned long,
 13                                       unsigned long, unsigned long,
 14                                       unsigned long, unsigned long);
 15 
 16 /*
 17  * Below you can see, in terms of #define's, the differences between the x86-64
 18  * and the UML syscall table.
 19  */
 20 
 21 /* Not going to be implemented by UML, since we have no hardware. */
 22 #define sys_iopl sys_ni_syscall
 23 #define sys_ioperm sys_ni_syscall
 24 
 25 #define sys_vm86old sys_ni_syscall
 26 #define sys_vm86 sys_ni_syscall
 27 
 28 #define __SYSCALL_WITH_COMPAT(nr, native, compat)       __SYSCALL(nr, native)
 29 #define __SYSCALL_NORETURN __SYSCALL
 30 
 31 #define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
 32 #include <asm/syscalls_32.h>
 33 #undef  __SYSCALL
 34 
 35 #define __SYSCALL(nr, sym) sym,
 36 const sys_call_ptr_t sys_call_table[] ____cacheline_aligned = {
 37 #include <asm/syscalls_32.h>
 38 };
 39 
 40 int syscall_table_size = sizeof(sys_call_table);
 41 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php