Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sys.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/sem.h>
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/stat.h>
#include <linux/syscalls.h>
#include <linux/mman.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/ipc.h>
#include <linux/uaccess.h>
#include <asm/syscalls.h>
#include <asm/cacheflush.h>
#include <asm/unistd.h>

Go to the source code of this file.

Macros

#define __SYSCALL(nr, call)   [nr] = (call),
 

Functions

asmlinkage long __sys_clone (unsigned long clone_flags, unsigned long newsp, void __user *parent_tid, void __user *child_tid, struct pt_regs *regs)
 
 SYSCALL_DEFINE6 (mmap2, unsigned long, addr, unsigned long, len, unsigned long, prot, unsigned long, flags, unsigned long, fd, unsigned long, off_4k)
 

Variables

voidsys_call_table [__NR_syscalls]
 

Macro Definition Documentation

#define __SYSCALL (   nr,
  call 
)    [nr] = (call),

Definition at line 56 of file sys.c.

Function Documentation

asmlinkage long __sys_clone ( unsigned long  clone_flags,
unsigned long  newsp,
void __user parent_tid,
void __user child_tid,
struct pt_regs regs 
)

Definition at line 34 of file sys.c.

SYSCALL_DEFINE6 ( mmap2  ,
unsigned  long,
addr  ,
unsigned  long,
len  ,
unsigned  long,
prot  ,
unsigned  long,
flags  ,
unsigned  long,
fd  ,
unsigned  long,
off_4k   
)

Definition at line 46 of file sys.c.

Variable Documentation

void* sys_call_table[__NR_syscalls]
Initial value:
= {
}

Definition at line 59 of file sys.c.