diff options
Diffstat (limited to 'include/asm-i386/unistd.h')
-rw-r--r-- | include/asm-i386/unistd.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index bd9987087adc..3ca7ab963d7d 100644 --- a/include/asm-i386/unistd.h +++ b/include/asm-i386/unistd.h | |||
@@ -451,45 +451,6 @@ __syscall_return(type,__res); \ | |||
451 | #define __ARCH_WANT_SYS_RT_SIGACTION | 451 | #define __ARCH_WANT_SYS_RT_SIGACTION |
452 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | 452 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND |
453 | 453 | ||
454 | #ifdef __KERNEL_SYSCALLS__ | ||
455 | |||
456 | #include <linux/compiler.h> | ||
457 | #include <linux/types.h> | ||
458 | #include <linux/linkage.h> | ||
459 | #include <asm/ptrace.h> | ||
460 | |||
461 | /* | ||
462 | * we need this inline - forking from kernel space will result | ||
463 | * in NO COPY ON WRITE (!!!), until an execve is executed. This | ||
464 | * is no problem, but for the stack. This is handled by not letting | ||
465 | * main() use the stack at all after fork(). Thus, no function | ||
466 | * calls - which means inline code for fork too, as otherwise we | ||
467 | * would use the stack upon exit from 'fork()'. | ||
468 | * | ||
469 | * Actually only pause and fork are needed inline, so that there | ||
470 | * won't be any messing with the stack from main(), but we define | ||
471 | * some others too. | ||
472 | */ | ||
473 | static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) | ||
474 | |||
475 | asmlinkage int sys_modify_ldt(int func, void __user *ptr, unsigned long bytecount); | ||
476 | asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, | ||
477 | unsigned long prot, unsigned long flags, | ||
478 | unsigned long fd, unsigned long pgoff); | ||
479 | asmlinkage int sys_execve(struct pt_regs regs); | ||
480 | asmlinkage int sys_clone(struct pt_regs regs); | ||
481 | asmlinkage int sys_fork(struct pt_regs regs); | ||
482 | asmlinkage int sys_vfork(struct pt_regs regs); | ||
483 | asmlinkage int sys_pipe(unsigned long __user *fildes); | ||
484 | asmlinkage long sys_iopl(unsigned long unused); | ||
485 | struct sigaction; | ||
486 | asmlinkage long sys_rt_sigaction(int sig, | ||
487 | const struct sigaction __user *act, | ||
488 | struct sigaction __user *oact, | ||
489 | size_t sigsetsize); | ||
490 | |||
491 | #endif /* __KERNEL_SYSCALLS__ */ | ||
492 | |||
493 | /* | 454 | /* |
494 | * "Conditional" syscalls | 455 | * "Conditional" syscalls |
495 | * | 456 | * |