CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/external/source/shellcode/bsdi/ia32/syscall_bsdi_4.3.h
Views: 11784
1
/*
2
* System call numbers.
3
*
4
* DO NOT EDIT-- this file is automatically generated.
5
* created from; BSDI syscalls.master,v 2.27.6.2 2001/04/24 00:11:38 peer Exp
6
*/
7
8
#define SYS_syscall 0
9
#define SYS_exit 1
10
#define SYS_fork 2
11
#define SYS_read 3
12
#define SYS_write 4
13
#define SYS_open 5
14
#define SYS_close 6
15
#define SYS_wait4 7
16
/* 8 is compat_creat creat */
17
#define SYS_link 9
18
#define SYS_unlink 10
19
/* 11 is obsolete execv */
20
#define SYS_chdir 12
21
#define SYS_fchdir 13
22
#define SYS_mknod 14
23
#define SYS_chmod 15
24
#define SYS_chown 16
25
#define SYS_break 17
26
#define SYS_getfsstat 18
27
/* 19 is compat_lseek lseek */
28
#define SYS_getpid 20
29
#define SYS_mount 21
30
#define SYS_unmount 22
31
#define SYS_setuid 23
32
#define SYS_getuid 24
33
#define SYS_geteuid 25
34
#define SYS_ptrace 26
35
#define SYS_recvmsg 27
36
#define SYS_sendmsg 28
37
#define SYS_recvfrom 29
38
#define SYS_accept 30
39
#define SYS_getpeername 31
40
#define SYS_getsockname 32
41
#define SYS_access 33
42
#define SYS_chflags 34
43
#define SYS_fchflags 35
44
#define SYS_sync 36
45
#define SYS_kill 37
46
/* 38 is compat_stat stat */
47
#define SYS_getppid 39
48
/* 40 is compat_stat lstat */
49
#define SYS_dup 41
50
#define SYS_pipe 42
51
#define SYS_getegid 43
52
#define SYS_profil 44
53
#define SYS_ktrace 45
54
#define SYS_sigaction 46
55
#define SYS_getgid 47
56
#define SYS_sigprocmask 48
57
#define SYS_getlogin 49
58
#define SYS_setlogin 50
59
#define SYS_acct 51
60
#define SYS_sigpending 52
61
#define SYS_sigaltstack 53
62
#define SYS_ioctl 54
63
#define SYS_reboot 55
64
#define SYS_revoke 56
65
#define SYS_symlink 57
66
#define SYS_readlink 58
67
#define SYS_execve 59
68
#define SYS_umask 60
69
#define SYS_chroot 61
70
/* 62 is compat_stat fstat */
71
/* 63 is compat_getkerninfo getkerninfo */
72
/* 64 is compat_getpagesize getpagesize */
73
#define SYS_msync 65
74
#define SYS_vfork 66
75
/* 67 is obsolete vread */
76
/* 68 is obsolete vwrite */
77
#define SYS_sbrk 69
78
#define SYS_sstk 70
79
/* 71 is compat_mmap mmap */
80
#define SYS_vadvise 72
81
#define SYS_munmap 73
82
#define SYS_mprotect 74
83
#define SYS_madvise 75
84
/* 76 is obsolete vhangup */
85
/* 77 is obsolete vlimit */
86
#define SYS_mincore 78
87
#define SYS_getgroups 79
88
#define SYS_setgroups 80
89
#define SYS_getpgrp 81
90
#define SYS_setpgid 82
91
#define SYS_setitimer 83
92
/* 84 is compat_wait3 wait */
93
#define SYS_swapon 85
94
#define SYS_getitimer 86
95
/* 87 is compat_gethostname gethostname */
96
/* 88 is compat_sethostname sethostname */
97
#define SYS_getdtablesize 89
98
#define SYS_dup2 90
99
#define SYS_fcntl 92
100
#define SYS_select 93
101
#define SYS_fsync 95
102
#define SYS_setpriority 96
103
#define SYS_socket 97
104
#define SYS_connect 98
105
/* 99 is compat_oldsock accept */
106
#define SYS_getpriority 100
107
/* 101 is compat_oldsock send */
108
/* 102 is compat_oldsock recv */
109
#define SYS_sigreturn 103
110
#define SYS_bind 104
111
#define SYS_setsockopt 105
112
#define SYS_listen 106
113
/* 107 is obsolete vtimes */
114
/* 108 is compat_signal sigvec */
115
/* 109 is compat_signal sigblock */
116
/* 110 is compat_signal sigsetmask */
117
#define SYS_sigsuspend 111
118
/* 112 is compat_signal sigstack */
119
/* 113 is compat_oldsock recvmsg */
120
/* 114 is compat_oldsock sendmsg */
121
#define SYS_vtrace 115
122
/* 115 is obsolete vtrace */
123
#define SYS_gettimeofday 116
124
#define SYS_getrusage 117
125
#define SYS_getsockopt 118
126
#define SYS_resuba 119
127
#define SYS_readv 120
128
#define SYS_writev 121
129
#define SYS_settimeofday 122
130
#define SYS_fchown 123
131
#define SYS_fchmod 124
132
/* 125 is compat_oldsock recvfrom */
133
/* 126 is compat_setreid setreuid */
134
/* 127 is compat_setreid setregid */
135
#define SYS_rename 128
136
/* 129 is compat_truncate truncate */
137
/* 130 is compat_truncate ftruncate */
138
#define SYS_flock 131
139
#define SYS_mkfifo 132
140
#define SYS_sendto 133
141
#define SYS_shutdown 134
142
#define SYS_socketpair 135
143
#define SYS_mkdir 136
144
#define SYS_rmdir 137
145
#define SYS_utimes 138
146
/* 139 is obsolete 4.2 sigreturn */
147
#define SYS_adjtime 140
148
/* 141 is compat_oldsock getpeername */
149
/* 142 is compat_gethostid gethostid */
150
/* 143 is compat_sethostid sethostid */
151
/* 144 is compat_rlimit getrlimit */
152
/* 145 is compat_rlimit setrlimit */
153
/* 146 is compat_killpg killpg */
154
#define SYS_setsid 147
155
#define SYS_quotactl 148
156
/* 149 is obsolete 4.2 quota */
157
/* 150 is compat_oldsock getsockname */
158
/* 151 is compat_semaphore sem_lock */
159
/* 152 is compat_semaphore sem_wakeup */
160
#define SYS_asyncdaemon 153
161
#define SYS_pselect 154
162
#define SYS_nfssvc 155
163
/* 156 is compat_getdirentries getdirentries */
164
#define SYS_statfs 157
165
#define SYS_fstatfs 158
166
#define SYS_fcore 159
167
#define SYS_getfh 161
168
#define SYS_sigwait 172
169
#define SYS_nfslockdreq 174
170
#define SYS_nfslockdans 175
171
#define SYS_sfork 177
172
#define SYS_getdescriptor 179
173
#define SYS_setdescriptor 180
174
#define SYS_setgid 181
175
#define SYS_setegid 182
176
#define SYS_seteuid 183
177
#define SYS_lfs_bmapv 184
178
#define SYS_lfs_markv 185
179
#define SYS_lfs_segclean 186
180
#define SYS_lfs_segwait 187
181
#define SYS_stat 188
182
#define SYS_fstat 189
183
#define SYS_lstat 190
184
#define SYS_pathconf 191
185
#define SYS_fpathconf 192
186
#define SYS_getrlimit 194
187
#define SYS_setrlimit 195
188
#define SYS_getdirentries 196
189
#define SYS_mmap 197
190
#define SYS___syscall 198
191
#define SYS_lseek 199
192
#define SYS_truncate 200
193
#define SYS_ftruncate 201
194
#define SYS___sysctl 202
195
#define SYS_mlock 203
196
#define SYS_munlock 204
197
#define SYS_undelete 205
198
#define SYS_sched_yield 206
199
#define SYS_getprlimit 210
200
#define SYS_setprlimit 211
201
#define SYS___semctl 220
202
#define SYS_semget 221
203
#define SYS_semop 222
204
#define SYS_msgctl 224
205
#define SYS_msgget 225
206
#define SYS_msgsnd 226
207
#define SYS_msgrcv 227
208
#define SYS_shmat 228
209
#define SYS_shmctl 229
210
#define SYS_shmdt 230
211
#define SYS_shmget 231
212
#define SYS_clock_gettime 232
213
#define SYS_clock_settime 233
214
#define SYS_clock_getres 234
215
#define SYS_nanosleep 240
216
#define SYS_sched_setparam 241
217
#define SYS_sched_getparam 242
218
#define SYS_sched_setscheduler 243
219
#define SYS_sched_getscheduler 244
220
#define SYS_sched_get_priority_max 245
221
#define SYS_sched_get_priority_min 246
222
#define SYS_sched_rr_get_interval 247
223
#define SYS_issetugid 253
224
225