Blame view

arch/x86/include/asm/sys_ia32.h 3.35 KB
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  /*
   * sys_ia32.h - Linux ia32 syscall interfaces
   *
   * Copyright (c) 2008 Jaswinder Singh Rajput
   *
   * This file is released under the GPLv2.
   * See the file COPYING for more details.
   */
  
  #ifndef _ASM_X86_SYS_IA32_H
  #define _ASM_X86_SYS_IA32_H
  
  #include <linux/compiler.h>
  #include <linux/linkage.h>
  #include <linux/types.h>
  #include <linux/signal.h>
  #include <asm/compat.h>
  #include <asm/ia32.h>
  
  /* ia32/sys_ia32.c */
c78873252   David Howells   Mark arguments to...
21
  asmlinkage long sys32_truncate64(const char __user *, unsigned long, unsigned long);
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
22
  asmlinkage long sys32_ftruncate64(unsigned int, unsigned long, unsigned long);
c78873252   David Howells   Mark arguments to...
23
24
  asmlinkage long sys32_stat64(const char __user *, struct stat64 __user *);
  asmlinkage long sys32_lstat64(const char __user *, struct stat64 __user *);
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
25
  asmlinkage long sys32_fstat64(unsigned int, struct stat64 __user *);
c78873252   David Howells   Mark arguments to...
26
  asmlinkage long sys32_fstatat(unsigned int, const char __user *,
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
27
  			      struct stat64 __user *, int);
a4679373c   Christoph Hellwig   Add generic sys_o...
28
29
  struct mmap_arg_struct32;
  asmlinkage long sys32_mmap(struct mmap_arg_struct32 __user *);
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
30
  asmlinkage long sys32_mprotect(unsigned long, size_t, unsigned long);
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
31
32
33
34
35
36
37
38
39
  struct sigaction32;
  struct old_sigaction32;
  asmlinkage long sys32_rt_sigaction(int, struct sigaction32 __user *,
  				   struct sigaction32 __user *, unsigned int);
  asmlinkage long sys32_sigaction(int, struct old_sigaction32 __user *,
  				struct old_sigaction32 __user *);
  asmlinkage long sys32_rt_sigprocmask(int, compat_sigset_t __user *,
  				     compat_sigset_t __user *, unsigned int);
  asmlinkage long sys32_alarm(unsigned int);
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
40
41
42
43
44
45
46
  asmlinkage long sys32_waitpid(compat_pid_t, unsigned int *, int);
  asmlinkage long sys32_sysfs(int, u32, u32);
  
  asmlinkage long sys32_sched_rr_get_interval(compat_pid_t,
  					    struct compat_timespec __user *);
  asmlinkage long sys32_rt_sigpending(compat_sigset_t __user *, compat_size_t);
  asmlinkage long sys32_rt_sigqueueinfo(int, int, compat_siginfo_t __user *);
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
47
  asmlinkage long sys32_pread(unsigned int, char __user *, u32, u32, u32);
c78873252   David Howells   Mark arguments to...
48
  asmlinkage long sys32_pwrite(unsigned int, const char __user *, u32, u32, u32);
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
49
50
51
  
  asmlinkage long sys32_personality(unsigned long);
  asmlinkage long sys32_sendfile(int, int, compat_off_t __user *, s32);
c78873252   David Howells   Mark arguments to...
52
  asmlinkage long sys32_execve(const char __user *, compat_uptr_t __user *,
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
  			     compat_uptr_t __user *, struct pt_regs *);
  asmlinkage long sys32_clone(unsigned int, unsigned int, struct pt_regs *);
  
  long sys32_lseek(unsigned int, int, unsigned int);
  long sys32_kill(int, int);
  long sys32_fadvise64_64(int, __u32, __u32, __u32, __u32, int);
  long sys32_vm86_warning(void);
  long sys32_lookup_dcookie(u32, u32, char __user *, size_t);
  
  asmlinkage ssize_t sys32_readahead(int, unsigned, unsigned, size_t);
  asmlinkage long sys32_sync_file_range(int, unsigned, unsigned,
  				      unsigned, unsigned, int);
  asmlinkage long sys32_fadvise64(int, unsigned, unsigned, size_t, int);
  asmlinkage long sys32_fallocate(int, int, unsigned,
  				unsigned, unsigned, unsigned);
  
  /* ia32/ia32_signal.c */
  asmlinkage long sys32_sigsuspend(int, int, old_sigset_t);
  asmlinkage long sys32_sigaltstack(const stack_ia32_t __user *,
  				  stack_ia32_t __user *, struct pt_regs *);
  asmlinkage long sys32_sigreturn(struct pt_regs *);
  asmlinkage long sys32_rt_sigreturn(struct pt_regs *);
  
  /* ia32/ipc32.c */
  asmlinkage long sys32_ipc(u32, int, int, int, compat_uptr_t, u32);
bbaa4168b   Eric Paris   fanotify: sys_fan...
78
79
80
  
  asmlinkage long sys32_fanotify_mark(int, unsigned int, u32, u32, int,
  				    const char __user *);
2f06de067   Jaswinder Singh Rajput   x86: introducing ...
81
  #endif /* _ASM_X86_SYS_IA32_H */