entry.h 2.1 KB
Newer Older
1 2 3 4 5 6 7
#ifndef _ENTRY_H
#define _ENTRY_H

#include <linux/types.h>
#include <linux/signal.h>
#include <asm/ptrace.h>

8 9 10
void do_protection_exception(struct pt_regs *, long, unsigned long);
void do_dat_exception(struct pt_regs *, long, unsigned long);
void do_asce_exception(struct pt_regs *, long, unsigned long);
11 12 13

extern int sysctl_userprocess_debug;

M
Martin Schwidefsky 已提交
14
void do_per_trap(struct pt_regs *regs);
15 16 17 18 19 20
void syscall_trace(struct pt_regs *regs, int entryexit);
void kernel_stack_overflow(struct pt_regs * regs);
void do_signal(struct pt_regs *regs);
int handle_signal32(unsigned long sig, struct k_sigaction *ka,
		    siginfo_t *info, sigset_t *oldset, struct pt_regs *regs);

21
void do_extint(struct pt_regs *regs, unsigned int, unsigned int, unsigned long);
22 23 24 25
int __cpuinit start_secondary(void *cpuvoid);
void __init startup_init(void);
void die(const char * str, struct pt_regs * regs, long err);

C
Christoph Hellwig 已提交
26
struct s390_mmap_arg_struct;
27 28 29
struct fadvise64_64_args;
struct old_sigaction;

C
Christoph Hellwig 已提交
30
long sys_mmap2(struct s390_mmap_arg_struct __user  *arg);
C
Christoph Hellwig 已提交
31
long sys_s390_ipc(uint call, int first, unsigned long second,
32
	     unsigned long third, void __user *ptr);
33
long sys_s390_personality(unsigned int personality);
34
long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
35
		    size_t len, int advice);
36 37 38
long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
			u32 len_low);
39
long sys_fork(void);
40 41
long sys_clone(unsigned long newsp, unsigned long clone_flags,
	       int __user *parent_tidptr, int __user *child_tidptr);
42 43
long sys_vfork(void);
void execve_tail(void);
44 45
long sys_execve(const char __user *name, const char __user *const __user *argv,
		const char __user *const __user *envp);
46
long sys_sigsuspend(int history0, int history1, old_sigset_t mask);
47 48 49 50 51 52 53 54 55
long sys_sigaction(int sig, const struct old_sigaction __user *act,
		   struct old_sigaction __user *oact);
long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss);
long sys_sigreturn(void);
long sys_rt_sigreturn(void);
long sys32_sigreturn(void);
long sys32_rt_sigreturn(void);

#endif /* _ENTRY_H */