1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
|
/*
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
* created from Id: syscalls.master,v 1.2 1995/10/10 07:59:28 swallace Exp
*/
#ifndef _IBCS2_SYSPROTO_H_
#define _IBCS2_SYSPROTO_H_
#include <sys/types.h>
#include <sys/param.h>
#include <sys/mount.h>
struct ibcs2_read_args {
int fd;
char * buf;
u_int nbytes;
};
struct ibcs2_open_args {
char * path;
int flags;
int mode;
};
struct ibcs2_wait_args {
int a1;
int a2;
int a3;
};
struct ibcs2_creat_args {
char * path;
int mode;
};
struct ibcs2_unlink_args {
char * path;
};
struct ibcs2_execv_args {
char * path;
char ** argp;
};
struct ibcs2_chdir_args {
char * path;
};
struct ibcs2_time_args {
ibcs2_time_t * tp;
};
struct ibcs2_mknod_args {
char * path;
int mode;
int dev;
};
struct ibcs2_chmod_args {
char * path;
int mode;
};
struct ibcs2_chown_args {
char * path;
int uid;
int gid;
};
struct ibcs2_stat_args {
char * path;
struct ibcs2_stat * st;
};
struct ibcs2_lseek_args {
int fd;
long offset;
int whence;
};
struct ibcs2_mount_args {
char * special;
char * dir;
int flags;
int fstype;
char * data;
int len;
};
struct ibcs2_umount_args {
char * name;
};
struct ibcs2_setuid_args {
int uid;
};
struct ibcs2_stime_args {
long * timep;
};
struct ibcs2_alarm_args {
unsigned sec;
};
struct ibcs2_fstat_args {
int fd;
struct ibcs2_stat * st;
};
struct ibcs2_pause_args {
int dummy;
};
struct ibcs2_utime_args {
char * path;
struct ibcs2_utimbuf * buf;
};
struct ibcs2_stty_args {
int fd;
struct sgttyb * buf;
};
struct ibcs2_gtty_args {
int fd;
struct sgttyb * buf;
};
struct ibcs2_access_args {
char * path;
int flags;
};
struct ibcs2_nice_args {
int incr;
};
struct ibcs2_statfs_args {
char * path;
struct ibcs2_statfs * buf;
int len;
int fstype;
};
struct ibcs2_kill_args {
int pid;
int signo;
};
struct ibcs2_fstatfs_args {
int fd;
struct ibcs2_statfs * buf;
int len;
int fstype;
};
struct ibcs2_pgrpsys_args {
int type;
caddr_t dummy;
int pid;
int pgid;
};
struct ibcs2_xenix_args {
int a1;
int a2;
int a3;
int a4;
int a5;
};
struct ibcs2_times_args {
struct tms * tp;
};
struct ibcs2_plock_args {
int cmd;
};
struct ibcs2_setgid_args {
int gid;
};
struct ibcs2_sigsys_args {
int sig;
ibcs2_sig_t fp;
};
#ifdef SYSVMSG
struct ibcs2_msgsys_args {
int which;
int a2;
int a3;
int a4;
int a5;
int a6;
};
#else
#endif
struct ibcs2_sysi86_args {
int cmd;
int * arg;
};
#ifdef SYSVSHM
struct ibcs2_shmsys_args {
int which;
int a2;
int a3;
int a4;
};
#else
#endif
#ifdef SYSVSEM
struct ibcs2_semsys_args {
int which;
int a2;
int a3;
int a4;
int a5;
};
#else
#endif
struct ibcs2_ioctl_args {
int fd;
int cmd;
caddr_t data;
};
struct ibcs2_uadmin_args {
int cmd;
int func;
caddr_t data;
};
struct ibcs2_utssys_args {
int a1;
int a2;
int flag;
};
struct ibcs2_execve_args {
char * path;
char ** argp;
char ** envp;
};
struct ibcs2_fcntl_args {
int fd;
int cmd;
char * arg;
};
struct ibcs2_ulimit_args {
int cmd;
int newlimit;
};
struct ibcs2_rmdir_args {
char * path;
};
struct ibcs2_mkdir_args {
char * path;
int mode;
};
struct ibcs2_getdents_args {
int fd;
char * buf;
int nbytes;
};
struct ibcs2_sysfs_args {
int cmd;
caddr_t d1;
char * buf;
};
struct ibcs2_getmsg_args {
int fd;
struct ibcs2_stropts * ctl;
struct ibcs2_stropts * dat;
int * flags;
};
struct ibcs2_putmsg_args {
int fd;
struct ibcs2_stropts * ctl;
struct ibcs2_stropts * dat;
int flags;
};
struct ibcs2_poll_args {
struct ibcs2_poll * fds;
long nfds;
int timeout;
};
struct ibcs2_secure_args {
int cmd;
int a1;
int a2;
int a3;
int a4;
int a5;
};
struct ibcs2_symlink_args {
char * path;
char * link;
};
struct ibcs2_lstat_args {
char * path;
struct ibcs2_stat * st;
};
struct ibcs2_readlink_args {
char * path;
char * buf;
int count;
};
struct ibcs2_isc_args {
int dummy;
};
int ibcs2_read __P((struct proc *, struct ibcs2_read_args *, int []));
int ibcs2_open __P((struct proc *, struct ibcs2_open_args *, int []));
int ibcs2_wait __P((struct proc *, struct ibcs2_wait_args *, int []));
int ibcs2_creat __P((struct proc *, struct ibcs2_creat_args *, int []));
int ibcs2_unlink __P((struct proc *, struct ibcs2_unlink_args *, int []));
int ibcs2_execv __P((struct proc *, struct ibcs2_execv_args *, int []));
int ibcs2_chdir __P((struct proc *, struct ibcs2_chdir_args *, int []));
int ibcs2_time __P((struct proc *, struct ibcs2_time_args *, int []));
int ibcs2_mknod __P((struct proc *, struct ibcs2_mknod_args *, int []));
int ibcs2_chmod __P((struct proc *, struct ibcs2_chmod_args *, int []));
int ibcs2_chown __P((struct proc *, struct ibcs2_chown_args *, int []));
int ibcs2_stat __P((struct proc *, struct ibcs2_stat_args *, int []));
int ibcs2_lseek __P((struct proc *, struct ibcs2_lseek_args *, int []));
int ibcs2_mount __P((struct proc *, struct ibcs2_mount_args *, int []));
int ibcs2_umount __P((struct proc *, struct ibcs2_umount_args *, int []));
int ibcs2_setuid __P((struct proc *, struct ibcs2_setuid_args *, int []));
int ibcs2_stime __P((struct proc *, struct ibcs2_stime_args *, int []));
int ibcs2_alarm __P((struct proc *, struct ibcs2_alarm_args *, int []));
int ibcs2_fstat __P((struct proc *, struct ibcs2_fstat_args *, int []));
int ibcs2_pause __P((struct proc *, struct ibcs2_pause_args *, int []));
int ibcs2_utime __P((struct proc *, struct ibcs2_utime_args *, int []));
int ibcs2_stty __P((struct proc *, struct ibcs2_stty_args *, int []));
int ibcs2_gtty __P((struct proc *, struct ibcs2_gtty_args *, int []));
int ibcs2_access __P((struct proc *, struct ibcs2_access_args *, int []));
int ibcs2_nice __P((struct proc *, struct ibcs2_nice_args *, int []));
int ibcs2_statfs __P((struct proc *, struct ibcs2_statfs_args *, int []));
int ibcs2_kill __P((struct proc *, struct ibcs2_kill_args *, int []));
int ibcs2_fstatfs __P((struct proc *, struct ibcs2_fstatfs_args *, int []));
int ibcs2_pgrpsys __P((struct proc *, struct ibcs2_pgrpsys_args *, int []));
int ibcs2_xenix __P((struct proc *, struct ibcs2_xenix_args *, int []));
int ibcs2_times __P((struct proc *, struct ibcs2_times_args *, int []));
int ibcs2_plock __P((struct proc *, struct ibcs2_plock_args *, int []));
int ibcs2_setgid __P((struct proc *, struct ibcs2_setgid_args *, int []));
int ibcs2_sigsys __P((struct proc *, struct ibcs2_sigsys_args *, int []));
#ifdef SYSVMSG
int ibcs2_msgsys __P((struct proc *, struct ibcs2_msgsys_args *, int []));
#else
#endif
int ibcs2_sysi86 __P((struct proc *, struct ibcs2_sysi86_args *, int []));
#ifdef SYSVSHM
int ibcs2_shmsys __P((struct proc *, struct ibcs2_shmsys_args *, int []));
#else
#endif
#ifdef SYSVSEM
int ibcs2_semsys __P((struct proc *, struct ibcs2_semsys_args *, int []));
#else
#endif
int ibcs2_ioctl __P((struct proc *, struct ibcs2_ioctl_args *, int []));
int ibcs2_uadmin __P((struct proc *, struct ibcs2_uadmin_args *, int []));
int ibcs2_utssys __P((struct proc *, struct ibcs2_utssys_args *, int []));
int ibcs2_execve __P((struct proc *, struct ibcs2_execve_args *, int []));
int ibcs2_fcntl __P((struct proc *, struct ibcs2_fcntl_args *, int []));
int ibcs2_ulimit __P((struct proc *, struct ibcs2_ulimit_args *, int []));
int ibcs2_rmdir __P((struct proc *, struct ibcs2_rmdir_args *, int []));
int ibcs2_mkdir __P((struct proc *, struct ibcs2_mkdir_args *, int []));
int ibcs2_getdents __P((struct proc *, struct ibcs2_getdents_args *, int []));
int ibcs2_sysfs __P((struct proc *, struct ibcs2_sysfs_args *, int []));
int ibcs2_getmsg __P((struct proc *, struct ibcs2_getmsg_args *, int []));
int ibcs2_putmsg __P((struct proc *, struct ibcs2_putmsg_args *, int []));
int ibcs2_poll __P((struct proc *, struct ibcs2_poll_args *, int []));
int ibcs2_secure __P((struct proc *, struct ibcs2_secure_args *, int []));
int ibcs2_symlink __P((struct proc *, struct ibcs2_symlink_args *, int []));
int ibcs2_lstat __P((struct proc *, struct ibcs2_lstat_args *, int []));
int ibcs2_readlink __P((struct proc *, struct ibcs2_readlink_args *, int []));
int ibcs2_isc __P((struct proc *, struct ibcs2_isc_args *, int []));
#ifdef COMPAT_43
#ifdef SYSVMSG
#else
#endif
#ifdef SYSVSHM
#else
#endif
#ifdef SYSVSEM
#else
#endif
#endif /* COMPAT_43 */
#endif /* !_IBCS2_SYSPROTO_H_ */
|