Syscalls

sergev edited this page Nov 3, 2014 · 3 revisions
Syscall# Nargs Function Comment
0 0 syscall
1 1 exit
2 0 fork
3 3 read
4 3 write
5 3 open
6 1 close
7 4 wait4
8 2 compat_43_creat option compat_43
9 2 link
10 1 unlink
11 0 -- obsolete execv
12 1 chdir
13 1 fchdir
14 3 mknod
15 2 chmod
16 3 chown
17 1 break
18 3 getfsstat
19 3 compat_43_lseek option compat_43
20 0 getpid
21 4 mount
22 2 unmount
23 1 setuid
24 0 getuid
25 0 geteuid
26 4 ptrace
27 3 recvmsg
28 3 sendmsg
29 6 recvfrom
30 3 accept
31 3 getpeername
32 3 getsockname
33 2 access
34 2 chflags
35 2 fchflags
36 0 sync
37 2 kill
38 2 compat_43_stat option compat_43
39 0 getppid
40 2 compat_43_lstat option compat_43
41 1 dup
42 0 pipe
43 0 getegid
44 4 profil
45 4 ktrace option KTRACE
46 3 sigaction
47 0 getgid
48 2 sigprocmask
49 2 getlogin
50 1 setlogin
51 1 acct
52 0 sigpending
53 2 sigaltstack
54 3 ioctl
55 1 reboot
56 1 revoke
57 2 symlink
58 3 readlink
59 3 execve
60 1 umask
61 1 chroot
62 2 compat_43_fstat option compat_43
63 4 compat_43_getkerninfo option compat_43
64 0 compat_43_getpagesize option compat_43
65 2 msync
66 0 vfork
67 0 -- obsolete vread
68 0 -- obsolete vwrite
69 1 sbrk
70 1 sstk
71 6 compat_43_mmap option compat_43
72 1 vadvise
73 2 munmap
74 3 mprotect
75 3 madvise
76 0 -- obsolete vhangup
77 0 -- obsolete vlimit
78 3 mincore
79 2 getgroups
80 2 setgroups
81 0 getpgrp
82 2 setpgid
83 3 setitimer
84 0 compat_43_wait option compat_43
85 1 swapon
86 2 getitimer
87 2 compat_43_gethostname option compat_43
88 2 compat_43_sethostname option compat_43
89 0 getdtablesize
90 2 dup2
91 0 -- unimplemented getdopt
92 3 fcntl
93 5 select
94 0 -- unimplemented setdopt
95 1 fsync
96 3 setpriority
97 3 socket
98 3 connect
99 3 compat_43_accept option compat_43
100 2 getpriority
101 4 compat_43_send option compat_43
102 4 compat_43_recv option compat_43
103 1 sigreturn
104 3 bind
105 5 setsockopt
106 2 listen
107 0 -- obsolete vtimes
108 3 compat_43_sigvec option compat_43
109 1 compat_43_sigblock option compat_43
110 1 compat_43_sigsetmask option compat_43
111 1 sigsuspend
112 2 compat_43_sigstack option compat_43
113 3 compat_43_recvmsg option compat_43
114 3 compat_43_sendmsg option compat_43
115 2 vtrace option KTRACE
116 2 gettimeofday
117 2 getrusage
118 5 getsockopt
119 1 resuba option vax
120 3 readv
121 3 writev
122 2 settimeofday
123 3 fchown
124 2 fchmod
125 6 compat_43_recvfrom option compat_43
126 2 compat_43_setreuid option compat_43
127 2 compat_43_setregid option compat_43
128 2 rename
129 2 compat_43_truncate option compat_43
130 2 compat_43_ftruncate option compat_43
131 2 flock
132 2 mkfifo
133 6 sendto
134 2 shutdown
135 4 socketpair
136 2 mkdir
137 1 rmdir
138 2 utimes
139 0 -- obsolete 4.2 sigreturn
140 2 adjtime
141 3 compat_43_getpeername option compat_43
142 0 compat_43_gethostid option compat_43
143 1 compat_43_sethostid option compat_43
144 2 compat_43_getrlimit option compat_43
145 2 compat_43_setrlimit option compat_43
146 2 compat_43_killpg option compat_43
147 0 setsid
148 4 quotactl
149 0 compat_43_quota option compat_43
150 3 compat_43_getsockname option compat_43
151 0 -- unimplemented
152 0 -- unimplemented
153 0 -- unimplemented
154 0 -- unimplemented
155 2 nfssvc option NFS
156 4 compat_43_getdirentries option compat_43
157 2 statfs
158 2 fstatfs
159 0 -- unimplemented
160 0 -- unimplemented
161 2 getfh option NFS
162 0 -- unimplemented getdomainname
163 0 -- unimplemented setdomainname
164 0 -- unimplemented
165 0 -- unimplemented
166 0 -- unimplemented
167 0 -- unimplemented
168 0 -- unimplemented
169 0 -- unimplemented semsys
170 0 -- unimplemented msgsys
171 4 compat_43_shmsys option compat_43 + SYSVSHM
172 0 -- unimplemented
173 0 -- unimplemented
174 0 -- unimplemented
175 0 -- unimplemented
176 0 -- unimplemented
177 0 -- unimplemented
178 0 -- unimplemented
179 0 -- unimplemented
180 0 -- unimplemented
181 1 setgid
182 1 setegid
183 1 seteuid
184 3 lfs_bmapv option LFS
185 3 lfs_markv option LFS
186 2 lfs_segclean option LFS
187 2 lfs_segwait option LFS
188 2 stat
189 2 fstat
190 2 lstat
191 2 pathconf
192 2 fpathconf
193 0 -- unimplemented
194 2 getrlimit
195 2 setrlimit
196 4 getdirentries
197 7 mmap
198 0 __syscall
199 4 lseek
200 3 truncate
201 3 ftruncate
202 6 __sysctl
203 2 mlock
204 2 munlock
205 1 undelete
206 0 -- unimplemented
207 0 -- unimplemented
208 0 -- unimplemented
209 0 -- unimplemented
210 0 -- unimplemented
211 0 -- unimplemented
212 0 -- unimplemented
213 0 -- unimplemented
214 0 -- unimplemented
215 0 -- unimplemented
216 0 -- unimplemented
217 0 -- unimplemented
218 0 -- unimplemented
219 0 -- unimplemented
220 0 -- unimplemented semctl
221 0 -- unimplemented semget
222 0 -- unimplemented semop
223 0 -- unimplemented semconfig
224 0 -- unimplemented msgctl
225 0 -- unimplemented msgget
226 0 -- unimplemented msgsnd
227 0 -- unimplemented msgrcv
228 3 shmat option SYSVSHM
229 3 shmctl option SYSVSHM
230 1 shmdt option SYSVSHM
231 3 shmget option SYSVSHM
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.