Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sys.c File Reference
#include <linux/compiler.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/syscalls.h>
#include <asm/syscalls.h>
#include <asm/unistd.h>

Go to the source code of this file.

Macros

#define sys_execve   sys_execve_wrapper
 
#define sys_clone   sys_clone_wrapper
 
#define sys_rt_sigreturn   sys_rt_sigreturn_wrapper
 
#define sys_sigaltstack   sys_sigaltstack_wrapper
 
#define __SYSCALL(nr, sym)   [nr] = sym,
 

Functions

asmlinkage long sys_clone (unsigned long clone_flags, unsigned long newsp, int __user *parent_tidptr, unsigned long tls_val, int __user *child_tidptr, struct pt_regs *regs)
 
asmlinkage long sys_execve (const char __user *filenamei, const char __user *const __user *argv, const char __user *const __user *envp, struct pt_regs *regs)
 
int kernel_execve (const char *filename, const char *const argv[], const char *const envp[])
 
 EXPORT_SYMBOL (kernel_execve)
 
asmlinkage long sys_mmap (unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t off)
 
void *sys_call_table[__NR_syscalls__aligned (4096)
 

Macro Definition Documentation

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

Definition at line 129 of file sys.c.

#define sys_clone   sys_clone_wrapper

Definition at line 122 of file sys.c.

#define sys_execve   sys_execve_wrapper

Definition at line 121 of file sys.c.

#define sys_rt_sigreturn   sys_rt_sigreturn_wrapper

Definition at line 123 of file sys.c.

#define sys_sigaltstack   sys_sigaltstack_wrapper

Definition at line 124 of file sys.c.

Function Documentation

void* sys_call_table [__NR_syscalls] __aligned ( 4096  )
EXPORT_SYMBOL ( kernel_execve  )
int kernel_execve ( const char filename,
const char *const  argv[],
const char *const  envp[] 
)

Definition at line 65 of file sys.c.

asmlinkage long sys_clone ( unsigned long  clone_flags,
unsigned long  newsp,
int __user parent_tidptr,
unsigned long  tls_val,
int __user child_tidptr,
struct pt_regs regs 
)

Definition at line 32 of file sys.c.

asmlinkage long sys_execve ( const char __user filenamei,
const char __user *const __user argv,
const char __user *const __user envp,
struct pt_regs regs 
)

Definition at line 47 of file sys.c.

asmlinkage long sys_mmap ( unsigned long  addr,
unsigned long  len,
unsigned long  prot,
unsigned long  flags,
unsigned long  fd,
off_t  off 
)

Definition at line 108 of file sys.c.