Questions about this topic? Sign up to ask in the talk tab.

User:Trep/32bit syscall table

From NetSec
Jump to: navigation, search

Wikitable Format

 %eax Name  %ebx  %ecx  %edx  %esx  %edi
1 sys_exit
 int error_code
2 sys_fork
 struct pt_regs *
3 sys_read
 unsigned int fd 
 char *buf 
 size_t count  
4 sys_write
 unsigned int fd
 const char *buf
 size_t count 
5 sys_open
 const char *filename 
 int flags 
 mode_t mode 
6 sys_close
 unsigned int fd 
7 sys_restart_syscall
 void
8 sys_creat
  const char *pathname
  int mode
9 sys_link
  const char *oldname
  const char *newname
10 sys_unlink
  const char *pathname
11 long sys_execve
 const char *filename
  char *const argv[]
  char *const envp[]
12 sys_chdir
  const char *path
13 sys_time
  time_t *tloc
14 sys_mknod
  const char *filename
  mode_t mode
  dev_t dev
15 sys_chmod
  const char *filename
  mode_t mode
16 sys_lchown16
  const char *path
  old_uid_t owner
  old_gid_t group
19 sys_lseek
  int fd
  off_t offset
  int whence
20 sys_getpid
  void
21 sys_mount
  char *dev
  char *dir
22 sys_oldmount
  char *name
23 sys_setuid16
  old_uid_t uid
24 sys_getuid16
 void 
25 sys_stime
 time_t *tptr 
26 sys_ptrace <source lang = "C" long request