cregit-Linux how code gets into the kernel

Release 4.10 arch/x86/entry/syscall_32.c

Directory: arch/x86/entry
/* System call table for i386. */

#include <linux/linkage.h>
#include <linux/sys.h>
#include <linux/cache.h>
#include <asm/asm-offsets.h>
#include <asm/syscall.h>


#define __SYSCALL_I386(nr, sym, qual) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) ;
#include <asm/syscalls_32.h>

#undef __SYSCALL_I386


#define __SYSCALL_I386(nr, sym, qual) [nr] = sym,

extern asmlinkage long sys_ni_syscall(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);


__visible const sys_call_ptr_t ia32_sys_call_table[__NR_syscall_compat_max+1] = {
	/*
         * Smells like a compiler bug -- it doesn't work
         * when the & below is removed.
         */
	[0 ... __NR_syscall_compat_max] = &sys_ni_syscall,
#include <asm/syscalls_32.h>
};

Overall Contributors

PersonTokensPropCommitsCommitProp
h. peter anvinh. peter anvin6367.02%222.22%
andy lutomirskiandy lutomirski2728.72%444.44%
ingo molnaringo molnar22.13%111.11%
andi kleenandi kleen11.06%111.11%
brian gerstbrian gerst11.06%111.11%
Total94100.00%9100.00%
Directory: arch/x86/entry
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.