summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_proto.h
blob: 8fd2ed0ab26f15895f2164a0829e1e80b91d4569 (plain)
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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
/*
 * System call prototypes.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from	Id: syscalls.master,v 1.10 1998/03/29 07:59:10 peter Exp 
 */

#ifndef _LINUX_SYSPROTO_H_
#define	_LINUX_SYSPROTO_H_

#include <sys/signal.h>

struct proc;

struct	linux_setup_args {
	int dummy;
};
struct	linux_fork_args {
	int dummy;
};
struct	linux_open_args {
	char * path;
	int flags;
	int mode;
};
struct	linux_waitpid_args {
	int pid;
	int * status;
	int options;
};
struct	linux_creat_args {
	char * path;
	int mode;
};
struct	linux_unlink_args {
	char * path;
};
struct	linux_execve_args {
	char * path;
	char ** argp;
	char ** envp;
};
struct	linux_chdir_args {
	char * path;
};
struct	linux_time_args {
	linux_time_t * tm;
};
struct	linux_mknod_args {
	char * path;
	int mode;
	int dev;
};
struct	linux_chmod_args {
	char * path;
	int mode;
};
struct	linux_lchown_args {
	char * path;
	int uid;
	int gid;
};
struct	linux_break_args {
	char * nsize;
};
struct	linux_stat_args {
	char * path;
	struct ostat * up;
};
struct	linux_lseek_args {
	int fdes;
	long off;
	int whence;
};
struct	linux_mount_args {
	int dummy;
};
struct	linux_umount_args {
	int dummy;
};
struct	linux_stime_args {
	int dummy;
};
struct	linux_ptrace_args {
	int dummy;
};
struct	linux_alarm_args {
	unsigned int secs;
};
struct	linux_fstat_args {
	int fd;
	struct ostat * up;
};
struct	linux_pause_args {
	int dummy;
};
struct	linux_utime_args {
	char * fname;
	struct linux_utimbuf * times;
};
struct	linux_stty_args {
	int dummy;
};
struct	linux_gtty_args {
	int dummy;
};
struct	linux_access_args {
	char * path;
	int flags;
};
struct	linux_nice_args {
	int inc;
};
struct	linux_ftime_args {
	int dummy;
};
struct	linux_kill_args {
	int pid;
	int signum;
};
struct	linux_rename_args {
	char * from;
	char * to;
};
struct	linux_mkdir_args {
	char * path;
	int mode;
};
struct	linux_rmdir_args {
	char * path;
};
struct	linux_pipe_args {
	int * pipefds;
};
struct	linux_times_args {
	struct linux_times_argv * buf;
};
struct	linux_prof_args {
	int dummy;
};
struct	linux_brk_args {
	char * dsend;
};
struct	linux_signal_args {
	int sig;
	linux_handler_t handler;
};
struct	linux_phys_args {
	int dummy;
};
struct	linux_lock_args {
	int dummy;
};
struct	linux_ioctl_args {
	int fd;
	u_long cmd;
	int arg;
};
struct	linux_fcntl_args {
	int fd;
	int cmd;
	int arg;
};
struct	linux_mpx_args {
	int dummy;
};
struct	linux_ulimit_args {
	int dummy;
};
struct	linux_olduname_args {
	struct linux_oldold_utsname * up;
};
struct	linux_ustat_args {
	int dummy;
};
struct	linux_sigaction_args {
	int sig;
	struct linux_sigaction * nsa;
	struct linux_sigaction * osa;
};
struct	linux_siggetmask_args {
	int dummy;
};
struct	linux_sigsetmask_args {
	linux_sigset_t mask;
};
struct	linux_sigsuspend_args {
	int restart;
	linux_sigset_t oldmask;
	linux_sigset_t mask;
};
struct	linux_sigpending_args {
	linux_sigset_t * mask;
};
struct	linux_select_args {
	struct linux_select_argv * ptr;
};
struct	linux_symlink_args {
	char * path;
	char * to;
};
struct	linux_readlink_args {
	char * name;
	char * buf;
	int count;
};
struct	linux_uselib_args {
	char * library;
};
struct	linux_readdir_args {
	int fd;
	struct linux_dirent * dent;
	unsigned int count;
};
struct	linux_mmap_args {
	struct linux_mmap_argv * ptr;
};
struct	linux_truncate_args {
	char * path;
	long length;
};
struct	linux_statfs_args {
	char * path;
	struct linux_statfs_buf * buf;
};
struct	linux_fstatfs_args {
	int fd;
	struct linux_statfs_buf * buf;
};
struct	linux_ioperm_args {
	unsigned int lo;
	unsigned int hi;
	int val;
};
struct	linux_socketcall_args {
	int what;
	void * args;
};
struct	linux_ksyslog_args {
	int what;
};
struct	linux_setitimer_args {
	u_int which;
	struct itimerval * itv;
	struct itimerval * oitv;
};
struct	linux_getitimer_args {
	u_int which;
	struct itimerval * itv;
};
struct	linux_newstat_args {
	char * path;
	struct linux_newstat * buf;
};
struct	linux_newlstat_args {
	char * path;
	struct linux_newstat * buf;
};
struct	linux_newfstat_args {
	int fd;
	struct linux_newstat * buf;
};
struct	linux_uname_args {
	struct linux_old_utsname * up;
};
struct	linux_iopl_args {
	int level;
};
struct	linux_vhangup_args {
	int dummy;
};
struct	linux_idle_args {
	int dummy;
};
struct	linux_vm86_args {
	int dummy;
};
struct	linux_wait4_args {
	int pid;
	int * status;
	int options;
	struct rusage * rusage;
};
struct	linux_swapoff_args {
	int dummy;
};
struct	linux_sysinfo_args {
	int dummy;
};
struct	linux_ipc_args {
	int what;
	int arg1;
	int arg2;
	int arg3;
	caddr_t ptr;
};
struct	linux_sigreturn_args {
	struct linux_sigcontext * scp;
};
struct	linux_clone_args {
	int dummy;
};
struct	linux_newuname_args {
	struct linux_newuname_t * buf;
};
struct	linux_modify_ldt_args {
	int func;
	void * ptr;
	size_t bytecount;
};
struct	linux_adjtimex_args {
	int dummy;
};
struct	linux_sigprocmask_args {
	int how;
	linux_sigset_t * mask;
	linux_sigset_t * omask;
};
struct	linux_create_module_args {
	int dummy;
};
struct	linux_init_module_args {
	int dummy;
};
struct	linux_delete_module_args {
	int dummy;
};
struct	linux_get_kernel_syms_args {
	int dummy;
};
struct	linux_quotactl_args {
	int dummy;
};
struct	linux_getpgid_args {
	int pid;
};
struct	linux_bdflush_args {
	int dummy;
};
struct	linux_personality_args {
	int per;
};
struct	linux_llseek_args {
	int fd;
	u_int32_t ohigh;
	u_int32_t olow;
	caddr_t res;
	int whence;
};
struct	linux_getdents_args {
	int fd;
	void * dent;
	unsigned count;
};
struct	linux_newselect_args {
	int nfds;
	fd_set * readfds;
	fd_set * writefds;
	fd_set * exceptfds;
	struct timeval * timeout;
};
struct	linux_msync_args {
	caddr_t addr;
	int len;
	int fl;
};
struct	linux_chown_args {
	char * path;
	int uid;
	int gid;
};
int	linux_setup __P((struct proc *, struct linux_setup_args *));
int	linux_fork __P((struct proc *, struct linux_fork_args *));
int	linux_open __P((struct proc *, struct linux_open_args *));
int	linux_waitpid __P((struct proc *, struct linux_waitpid_args *));
int	linux_creat __P((struct proc *, struct linux_creat_args *));
int	linux_unlink __P((struct proc *, struct linux_unlink_args *));
int	linux_execve __P((struct proc *, struct linux_execve_args *));
int	linux_chdir __P((struct proc *, struct linux_chdir_args *));
int	linux_time __P((struct proc *, struct linux_time_args *));
int	linux_mknod __P((struct proc *, struct linux_mknod_args *));
int	linux_chmod __P((struct proc *, struct linux_chmod_args *));
int	linux_lchown __P((struct proc *, struct linux_lchown_args *));
int	linux_break __P((struct proc *, struct linux_break_args *));
int	linux_stat __P((struct proc *, struct linux_stat_args *));
int	linux_lseek __P((struct proc *, struct linux_lseek_args *));
int	linux_mount __P((struct proc *, struct linux_mount_args *));
int	linux_umount __P((struct proc *, struct linux_umount_args *));
int	linux_stime __P((struct proc *, struct linux_stime_args *));
int	linux_ptrace __P((struct proc *, struct linux_ptrace_args *));
int	linux_alarm __P((struct proc *, struct linux_alarm_args *));
int	linux_fstat __P((struct proc *, struct linux_fstat_args *));
int	linux_pause __P((struct proc *, struct linux_pause_args *));
int	linux_utime __P((struct proc *, struct linux_utime_args *));
int	linux_stty __P((struct proc *, struct linux_stty_args *));
int	linux_gtty __P((struct proc *, struct linux_gtty_args *));
int	linux_access __P((struct proc *, struct linux_access_args *));
int	linux_nice __P((struct proc *, struct linux_nice_args *));
int	linux_ftime __P((struct proc *, struct linux_ftime_args *));
int	linux_kill __P((struct proc *, struct linux_kill_args *));
int	linux_rename __P((struct proc *, struct linux_rename_args *));
int	linux_mkdir __P((struct proc *, struct linux_mkdir_args *));
int	linux_rmdir __P((struct proc *, struct linux_rmdir_args *));
int	linux_pipe __P((struct proc *, struct linux_pipe_args *));
int	linux_times __P((struct proc *, struct linux_times_args *));
int	linux_prof __P((struct proc *, struct linux_prof_args *));
int	linux_brk __P((struct proc *, struct linux_brk_args *));
int	linux_signal __P((struct proc *, struct linux_signal_args *));
int	linux_phys __P((struct proc *, struct linux_phys_args *));
int	linux_lock __P((struct proc *, struct linux_lock_args *));
int	linux_ioctl __P((struct proc *, struct linux_ioctl_args *));
int	linux_fcntl __P((struct proc *, struct linux_fcntl_args *));
int	linux_mpx __P((struct proc *, struct linux_mpx_args *));
int	linux_ulimit __P((struct proc *, struct linux_ulimit_args *));
int	linux_olduname __P((struct proc *, struct linux_olduname_args *));
int	linux_ustat __P((struct proc *, struct linux_ustat_args *));
int	linux_sigaction __P((struct proc *, struct linux_sigaction_args *));
int	linux_siggetmask __P((struct proc *, struct linux_siggetmask_args *));
int	linux_sigsetmask __P((struct proc *, struct linux_sigsetmask_args *));
int	linux_sigsuspend __P((struct proc *, struct linux_sigsuspend_args *));
int	linux_sigpending __P((struct proc *, struct linux_sigpending_args *));
int	linux_select __P((struct proc *, struct linux_select_args *));
int	linux_symlink __P((struct proc *, struct linux_symlink_args *));
int	linux_readlink __P((struct proc *, struct linux_readlink_args *));
int	linux_uselib __P((struct proc *, struct linux_uselib_args *));
int	linux_readdir __P((struct proc *, struct linux_readdir_args *));
int	linux_mmap __P((struct proc *, struct linux_mmap_args *));
int	linux_truncate __P((struct proc *, struct linux_truncate_args *));
int	linux_statfs __P((struct proc *, struct linux_statfs_args *));
int	linux_fstatfs __P((struct proc *, struct linux_fstatfs_args *));
int	linux_ioperm __P((struct proc *, struct linux_ioperm_args *));
int	linux_socketcall __P((struct proc *, struct linux_socketcall_args *));
int	linux_ksyslog __P((struct proc *, struct linux_ksyslog_args *));
int	linux_setitimer __P((struct proc *, struct linux_setitimer_args *));
int	linux_getitimer __P((struct proc *, struct linux_getitimer_args *));
int	linux_newstat __P((struct proc *, struct linux_newstat_args *));
int	linux_newlstat __P((struct proc *, struct linux_newlstat_args *));
int	linux_newfstat __P((struct proc *, struct linux_newfstat_args *));
int	linux_uname __P((struct proc *, struct linux_uname_args *));
int	linux_iopl __P((struct proc *, struct linux_iopl_args *));
int	linux_vhangup __P((struct proc *, struct linux_vhangup_args *));
int	linux_idle __P((struct proc *, struct linux_idle_args *));
int	linux_vm86 __P((struct proc *, struct linux_vm86_args *));
int	linux_wait4 __P((struct proc *, struct linux_wait4_args *));
int	linux_swapoff __P((struct proc *, struct linux_swapoff_args *));
int	linux_sysinfo __P((struct proc *, struct linux_sysinfo_args *));
int	linux_ipc __P((struct proc *, struct linux_ipc_args *));
int	linux_sigreturn __P((struct proc *, struct linux_sigreturn_args *));
int	linux_clone __P((struct proc *, struct linux_clone_args *));
int	linux_newuname __P((struct proc *, struct linux_newuname_args *));
int	linux_modify_ldt __P((struct proc *, struct linux_modify_ldt_args *));
int	linux_adjtimex __P((struct proc *, struct linux_adjtimex_args *));
int	linux_sigprocmask __P((struct proc *, struct linux_sigprocmask_args *));
int	linux_create_module __P((struct proc *, struct linux_create_module_args *));
int	linux_init_module __P((struct proc *, struct linux_init_module_args *));
int	linux_delete_module __P((struct proc *, struct linux_delete_module_args *));
int	linux_get_kernel_syms __P((struct proc *, struct linux_get_kernel_syms_args *));
int	linux_quotactl __P((struct proc *, struct linux_quotactl_args *));
int	linux_getpgid __P((struct proc *, struct linux_getpgid_args *));
int	linux_bdflush __P((struct proc *, struct linux_bdflush_args *));
int	linux_personality __P((struct proc *, struct linux_personality_args *));
int	linux_llseek __P((struct proc *, struct linux_llseek_args *));
int	linux_getdents __P((struct proc *, struct linux_getdents_args *));
int	linux_newselect __P((struct proc *, struct linux_newselect_args *));
int	linux_msync __P((struct proc *, struct linux_msync_args *));
int	linux_chown __P((struct proc *, struct linux_chown_args *));

#ifdef COMPAT_43


#endif /* COMPAT_43 */

#endif /* !_LINUX_SYSPROTO_H_ */
OpenPOWER on IntegriCloud