summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux/syscalls.master
blob: 67f54f35861883d871c40b533b69bc20a9f83253 (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
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
 $FreeBSD$

;	@(#)syscalls.master	8.1 (Berkeley) 7/19/93
; System call name/number master file (or rather, slave, from LINUX).
; Processed to created linux_sysent.c, linux_syscalls.c and linux_syscall.h.

; Columns: number audit type nargs name alt{name,tag,rtyp}/comments
;	number	system call number, must be in order
;	audit	the audit event associated with the system call
;		A value of AUE_NULL means no auditing, but it also means that
;		there is no audit event for the call at this time. For the
;		case where the event exists, but we don't want auditing, the
;		event should be #defined to AUE_NULL in audit_kevents.h.
;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, NOPROTO
;	name	psuedo-prototype of syscall routine
;		If one of the following alts is different, then all appear:
;	altname	name of system call if different
;	alttag	name of args struct tag if different from [o]`name'"_args"
;	altrtyp	return type if not int (bogus - syscalls always return int)
;		for UNIMPL/OBSOL, name continues with comments

; types:
;	STD	always included
;	NOARGS	same as STD except do not create structure in sys/sysproto.h
;	NODEF	??
;	NOPROTO	same as STD except do not create structure or function in
;		sys/sysproto.h
;	OBSOL	obsolete, not included in system, only specifies name
;	UNIMPL	not implemented, placeholder only

#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <compat/linux/linux_sysproto.h>
#include <alpha/linux/linux.h>
#include <alpha/linux/linux_proto.h>

; Isn't pretty, but there seems to be no other way to trap nosys
#define	nosys	linux_nosys

; #ifdef's, etc. may be included, and are copied to the output files.

0	AUE_NULL	UNIMPL
1	AUE_EXIT	MNOPROTO	{ void sys_exit(int rval); } exit \
				    sys_exit_args void
2	AUE_FORK	MSTD	{ int linux_fork(void); }
3	AUE_READ	MNOPROTO	{ int read(int fd, char *buf, \
				    u_int nbyte); }
4	AUE_WRITE	MNOPROTO	{ int write(int fd, char *buf, \
				    u_int nbyte); }
5	AUE_NULL	UNIMPL
6	AUE_CLOSE	MNOPROTO	{ int close(int fd); }
7	AUE_WAIT4	MSTD	{ int osf1_wait4(int pid, int *status, \
				    int options, \
				    struct osf1_rusage *rusage); }
8	AUE_NULL	UNIMPL
9	AUE_LINK	MSTD	{ int linux_link(char *path, char *to); }
10	AUE_UNLINK	MSTD	{ int linux_unlink(char *path); }
11	AUE_NULL	UNIMPL
12	AUE_CHDIR	MSTD	{ int linux_chdir(char *path); }
13	AUE_FCHDIR	MNOPROTO	{ int fchdir(int fd); }
14	AUE_MKNOD	MSTD	{ int linux_mknod(char *path, l_int mode, \
				    l_dev_t dev); }
15	AUE_CHMOD	MSTD	{ int linux_chmod(char *path, \
				    l_mode_t mode); }
16	AUE_CHOWN	MSTD	{ int linux_chown(char *path, l_uid_t uid, \
				    l_gid_t gid); }
17	AUE_NULL	STD	{ int linux_brk(l_ulong dsend); }
18	AUE_NULL	UNIMPL
19	AUE_LSEEK	MSTD	{ int linux_lseek(l_uint fdes, l_off_t off, \
				    l_int whence); }
20	AUE_GETPID	MNOPROTO	{ int getpid(void); } 
21	AUE_MOUNT	UNIMPL	osf1_mount
22	AUE_UNMOUNT	STD	{ int linux_umount(char *path, l_int flags); }
23	AUE_SETUID	MNOPROTO	{ int setuid(uid_t uid); }
24	AUE_GETUID	MNOPROTO	{ int getuid(void); }
25	AUE_NULL	UNIMPL
26	AUE_PTRACE	MSTD	{ int linux_ptrace(void); }
27	AUE_NULL	UNIMPL
28	AUE_NULL	UNIMPL
29	AUE_NULL	UNIMPL
30	AUE_NULL	UNIMPL
31	AUE_NULL	UNIMPL
32	AUE_NULL	UNIMPL
33	AUE_ACCESS	MSTD	{ int linux_access(char *path, l_int flags); }
34	AUE_NULL	UNIMPL
35	AUE_NULL	UNIMPL
36	AUE_SYNC	MNOPROTO	{ int sync(void); }
37	AUE_KILL	MSTD	{ int linux_kill(l_int pid, l_int signum); }
38	AUE_NULL	UNIMPL
39	AUE_SETPGRP	MNOPROTO	{ int setpgid(int pid, int pgid); }
40	AUE_NULL	UNIMPL
41	AUE_DUP		MNOPROTO	{ int dup(u_int fd); }
42	AUE_PIPE	MNOPROTO	{ int pipe(void); }
43	AUE_NULL	UNIMPL	osf_set_program_attributes
44	AUE_NULL	UNIMPL
45	AUE_OPEN_RWTC	MSTD	{ int linux_open(char *path, l_int flags, \
				    l_int mode); }
46	AUE_NULL	UNIMPL
47	AUE_GETGID	MNOPROTO	{ int getgid(void); }
48	AUE_SIGPROCMASK	MSTD	{ int osf1_sigprocmask(int how, \
				    u_long mask); }
49	AUE_NULL	UNIMPL
50	AUE_NULL	UNIMPL
51	AUE_ACCT	MNOPROTO	{ int acct(char *path); }
52	AUE_SIGPENDING	MSTD	{ int linux_sigpending(void); }
53	AUE_NULL	UNIMPL
54	AUE_IOCTL	STD	{ int linux_ioctl(l_uint fd, l_uint cmd, \
				    l_ulong arg); }
55	AUE_NULL	UNIMPL
56	AUE_NULL	UNIMPL
57	AUE_SYMLINK	MSTD	{ int linux_symlink(char *path, char *to); }
58	AUE_READLINK	MSTD	{ int linux_readlink(char *name, char *buf, \
				    l_int count); }
59	AUE_EXECVE	MSTD	{ int linux_execve(char *path, char **argp, \
				    char **envp); }
60	AUE_UMASK	MNOPROTO	{ int umask(int newmask); }
61	AUE_CHROOT	MNOPROTO	{ int chroot(char *path); }
62	AUE_NULL	UNIMPL
63	AUE_GETPGRP	MNOPROTO	{ int getpgrp(void); }
64	AUE_O_GETPAGESIZE	MSTD	{ int linux_getpagesize(void); }
65	AUE_NULL	UNIMPL
66	AUE_VFORK	MSTD	{ int linux_vfork(void); }
67	AUE_STAT	MSTD	{ int linux_newstat(char *path, \
				    struct l_newstat *buf); }
68	AUE_LSTAT	MSTD	{ int linux_newlstat(char *path, \
				    struct l_newstat *buf); }
69	AUE_NULL	UNIMPL
70	AUE_NULL	UNIMPL
71	AUE_MMAP	MSTD	{ int linux_mmap(l_ulong addr, l_ulong len, \
				    l_ulong prot, l_ulong flags, l_ulong fd, \
				    l_ulong pos); }
72	AUE_NULL	UNIMPL
73	AUE_MUNMAP	MSTD	{ int linux_munmap(l_ulong addr, \
				    l_size_t len); }
74	AUE_MPROTECT	MSTD	{ int linux_mprotect(l_ulong addr, \
				    l_size_t len, l_ulong prot); }
75	AUE_MADVISE	MNOPROTO	{ int madvise(void *addr, \
				    size_t len, int behav); }
76	AUE_O_VHANGUP	MSTD	{ int linux_vhangup(void); }
77	AUE_NULL	UNIMPL
78	AUE_NULL	UNIMPL
79	AUE_SETGROUPS	MSTD	{ int linux_setgroups(l_int gidsetsize, \
				    l_gid_t *grouplist); }
80	AUE_GETGROUPS	MSTD	{ int linux_getgroups(l_int gidsetsize, \
				    l_gid_t *grouplist); }
81	AUE_NULL	UNIMPL	
82	AUE_SETPGRP	MNODEF	setpgid setpgid setpgid_args int
83	AUE_SETITIMER	MSTD	{ int osf1_setitimer(u_int which, \
				    struct itimerval *itv, \
				    struct itimerval *oitv); }
84	AUE_NULL	UNIMPL
85	AUE_NULL	UNIMPL
86	AUE_GETITIMER	UNIMPL	osf_getitimer
87	AUE_SYSCTL	MSTD	{ int linux_gethostname(void); }
88	AUE_SYSCTL	MSTD	{ int linux_sethostname(char *hostname, u_int len); }
89	AUE_GETDTABLESIZE	MSTD	{ int linux_getdtablesize(void); }
90	AUE_DUP2	MNOPROTO	{ int dup2(u_int from, u_int to); }
91	AUE_FSTAT	MSTD	{ int linux_newfstat(l_uint fd, \
				    struct l_newstat *buf); }
92	AUE_FCNTL	MSTD	{ int linux_fcntl(l_uint fd, l_uint cmd, \
				    l_ulong arg); }
93	AUE_SELECT	MSTD	{ int osf1_select(u_int nd, fd_set *in, \
				    fd_set *ou, fd_set *ex, \
				    struct timeval *tv); }
94	AUE_POLL	MNOPROTO	{ int poll(struct pollfd*, unsigned int \
				    nfds, long timeout); }
95	AUE_FSYNC	MNOPROTO	{ int fsync(int fd); }
96	AUE_SETPRIORITY	MNOPROTO	{ int setpriority(int which, \
				    int who, int prio); }
97	AUE_SOCKET	MSTD	{ int osf1_socket(int domain, int type, \
				    int protocol); }
98	AUE_CONNECT	MSTD	{ int linux_connect(l_int s, \
				    struct l_sockaddr *name, l_int namelen); }
99	AUE_ACCEPT	MNOPROTO	{ int oaccept(int s, caddr_t name, \
				    int *anamelen); } accept accept_args int
100	AUE_GETPRIORITY	MSTD	{ int linux_getpriority(int which, int who); }
101	AUE_SEND	MNOPROTO	{ int osend(int s, caddr_t buf, int len, \
				    int flags); }
102	AUE_RECV	MNOPROTO { int orecv(int s, caddr_t buf, int len, \
				    int flags); }
103	AUE_NULL	MSTD	{ int osf1_sigreturn( \
				    struct osigcontext *sigcntxp); }
104	AUE_BIND	MNOPROTO	{ int bind(int s, caddr_t name, \
				    int namelen); }
105	AUE_SETSOCKOPT	MNOPROTO	{ int setsockopt(int s, int level, int name, \
				    caddr_t val, int valsize); }
106	AUE_LISTEN	MNOPROTO	{ int listen(int s, int backlog); }
107	AUE_NULL	UNIMPL
108	AUE_NULL	UNIMPL
109	AUE_NULL	UNIMPL
110	AUE_NULL	UNIMPL
111	AUE_NULL	MSTD	{ int osf1_sigsuspend(unsigned long ss); }
112	AUE_NULL	UNIMPL	osf_sigstack
113	AUE_RECVMSG	MSTD	{ int linux_recvmsg(void); }
114	AUE_SENDMSG	MSTD	{ int linux_sendmsg(void); }
115	AUE_NULL	UNIMPL
116	AUE_NULL	MSTD	{ int osf1_gettimeofday( \
				    struct timeval *tp, \
				    struct timezone *tzp); }
117	AUE_GETRUSAGE	MSTD	{ int osf1_getrusage(long who, \
				    void *rusage); }
118	AUE_GETSOCKOPT	MNOPROTO	{ int getsockopt(int s, int level, int name, \
				    caddr_t val, int *avalsize); }
119	AUE_NULL	UNIMPL
120	AUE_READV	MNOPROTO	{ int readv(int fd, struct iovec *iovp, \
				    u_int iovcnt); }
121	AUE_WRITEV	MNOPROTO	{ int writev(int fd, struct iovec *iovp, \
				    u_int iovcnt); }
122	AUE_SETTIMEOFDAY	UNIMPL	osf_settimeofday
123	AUE_FCHOWN	NOPROTO	{ int fchown(int fd, int uid, int gid); }
124	AUE_FCHMOD	NOPROTO	{ int fchmod(int fd, int mode); }
125	AUE_RECVFROM	NOPROTO	{ int orecvfrom(int s, caddr_t buf, \
				    size_t len, int flags, caddr_t from, \
				    int *fromlenaddr); } recvfrom \
				    recvfrom_args int
126	AUE_SETREUID	MNOPROTO	{ int setreuid(int ruid, int euid); }
127	AUE_SETREGID	MNOPROTO	{ int setregid(int rgid, int egid); }
128	AUE_RENAME	MSTD	{ int linux_rename(char *from, char *to); }
129	AUE_TRUNCATE	MSTD	{ int linux_truncate(char *path, \
				    l_ulong length); }
130	AUE_FTRUNCATE	MSTD	{ int linux_ftruncate(int fd, long length); }
131	AUE_FLOCK	MNOPROTO	{ int flock(int fd, int how); }
132	AUE_SETGID	MNOPROTO	{ int setgid(gid_t gid); }
133	AUE_SENDTO	MSTD	{ int osf1_sendto(int s, caddr_t buf, \
				    size_t len, int flags, \
				    struct sockaddr *to, int tolen); }
134	AUE_SHUTDOWN	MNOPROTO	{ int shutdown(int s, int how); }
135	AUE_SOCKETPAIR	MSTD	{ int linux_socketpair(void); }
136	AUE_MKDIR	MSTD	{ int linux_mkdir(char *path, l_int mode); }
137	AUE_RMDIR	MSTD	{ int linux_rmdir(char *path); }
138	AUE_UTIMES	MNOPROTO	{ int utimes(char *path, \
				    struct timeval *tptr); }
139	AUE_NULL	UNIMPL
140	AUE_NULL	UNIMPL
141	AUE_GETPEERNAME	MNOPROTO	{ int ogetpeername(int fdes, caddr_t asa, \
				    int *alen); }
142	AUE_NULL	UNIMPL
143	AUE_NULL	UNIMPL
144	AUE_GETRLIMIT	MSTD	{ int linux_getrlimit(l_uint resource, \
				    struct l_rlimit *rlim); }
145	AUE_SETRLIMIT	MSTD	{ int linux_setrlimit(l_uint resource, \
				    struct l_rlimit *rlim); }
146	AUE_NULL	UNIMPL
147	AUE_SETSID	MNOPROTO	{ int setsid(void); }
148	AUE_QUOTACTL	MSTD	{ int linux_quotactl(void); }
149	AUE_NULL	UNIMPL
150	AUE_GETSOCKNAME	MNOPROTO	{ int ogetsockname(int fdec, caddr_t asa, \
				    int *alen);} getsockname \
				    getsockname_args int
151	AUE_NULL	UNIMPL
152	AUE_NULL	UNIMPL
153	AUE_NULL	UNIMPL
154	AUE_NULL	UNIMPL
155	AUE_NULL	UNIMPL
156	AUE_NULL	MSTD	{ int osf1_sigaction(int sig, \
				    struct osf1_sigaction *nsa, \
				    struct osf1_sigaction *osa); }
157	AUE_NULL	UNIMPL
158	AUE_NULL	UNIMPL
159	AUE_GETDIRENTRIES	UNIMPL	osf_getdirentries
160	AUE_STATFS	UNIMPL	osf_statfs
161	AUE_FSTATFS	UNIMPL	osf_fstatfs
162	AUE_NULL	UNIMPL
163	AUE_NULL	UNIMPL
164	AUE_NULL	UNIMPL
165	AUE_SYSCTL	UNIMPL	osf_getdomainname
166	AUE_SYSCTL	MNOPROTO	{ int setdomainname( \
				    char *name, int len); }
167	AUE_NULL	UNIMPL
168	AUE_NULL	UNIMPL
169	AUE_NULL	UNIMPL
170	AUE_NULL	UNIMPL
171	AUE_NULL	UNIMPL
172	AUE_NULL	UNIMPL
173	AUE_NULL	UNIMPL
174	AUE_NULL	UNIMPL
175	AUE_NULL	UNIMPL
176	AUE_NULL	UNIMPL
177	AUE_NULL	UNIMPL
178	AUE_NULL	UNIMPL
179	AUE_NULL	UNIMPL
180	AUE_NULL	UNIMPL
181	AUE_NULL	UNIMPL
182	AUE_NULL	UNIMPL
183	AUE_NULL	UNIMPL
184	AUE_NULL	UNIMPL
185	AUE_NULL	UNIMPL
186	AUE_NULL	UNIMPL
187	AUE_NULL	UNIMPL
188	AUE_NULL	UNIMPL
189	AUE_NULL	UNIMPL
190	AUE_NULL	UNIMPL
191	AUE_NULL	UNIMPL
192	AUE_NULL	UNIMPL
193	AUE_NULL	UNIMPL
194	AUE_NULL	UNIMPL
195	AUE_NULL	UNIMPL
196	AUE_NULL	UNIMPL
197	AUE_NULL	UNIMPL
198	AUE_NULL	UNIMPL
199	AUE_SWAPON	UNIMPL	osf_swapon
200	AUE_MSGCTL	MSTD	{ int linux_msgctl(l_int msqid, l_int cmd, \
				    struct l_msqid_ds *buf); }
201	AUE_MSGGET	MSTD	{ int linux_msgget(l_key_t key, \
				    l_int msgflg); }
202	AUE_MSGRCV	MSTD	{ int linux_msgrcv(l_int msqid, \
				    struct l_msgbuf *msgp, l_size_t msgsz, \
				    l_long msgtyp, l_int msgflg); }
203	AUE_MSGSND	MSTD	{ int linux_msgsnd(l_int msqid, \
				    struct l_msgbuf *msgp, l_size_t msgsz, \
				    l_int msgflg); }
204	AUE_SEMCTL	STD	{ int linux_semctl(l_int semid, \
				    l_int semnum, l_int cmd, \
				    union l_semun arg); }
205	AUE_SEMGET	MSTD	{ int linux_semget(l_key_t key, l_int nsems, \
				    l_int semflg); }
206	AUE_SEMOP	MSTD	{ int linux_semop(l_int semid, \
				    struct l_sembuf *tsops, l_uint nsops); }
207	AUE_NULL	UNIMPL	osf_utsname
208	AUE_LCHOWN	MSTD	{ int linux_lchown(char *path, l_uid_t uid, \
				    l_gid_t gid); }
209	AUE_SHMAT	MSTD	{ int linux_shmat(l_int shmid, \
				    char *shmaddr, l_int shmflg); }
210	AUE_SHMCTL	MSTD	{ int linux_shmctl(l_int shmid, l_int cmd, \
				    struct l_shmid_ds *buf); }
211	AUE_SHMDT	MSTD	{ int linux_shmdt(char *shmaddr); }
212	AUE_SHMGET	MSTD	{ int linux_shmget(l_key_t key, \
				    l_size_t size, l_int shmflg); }
213	AUE_NULL	UNIMPL
214	AUE_NULL	UNIMPL
215	AUE_NULL	UNIMPL
216	AUE_NULL	UNIMPL
217	AUE_MSYNC	MSTD	{ int linux_msync(l_ulong addr, \
				    l_size_t len, l_int fl); }
218	AUE_NULL	UNIMPL
219	AUE_NULL	UNIMPL
220	AUE_NULL	UNIMPL
221	AUE_NULL	UNIMPL
222	AUE_NULL	UNIMPL
223	AUE_NULL	UNIMPL
224	AUE_NULL	UNIMPL
225	AUE_NULL	UNIMPL
226	AUE_NULL	UNIMPL
227	AUE_NULL	UNIMPL
228	AUE_NULL	UNIMPL
229	AUE_NULL	UNIMPL
230	AUE_NULL	UNIMPL
231	AUE_NULL	UNIMPL
232	AUE_NULL	UNIMPL
233	AUE_GETPPID	MNOPROTO	{ int getpgid(int pid); }
234	AUE_GETSID	MSTD	{ int linux_getsid(l_pid_t pid); }
235	AUE_NULL	MSTD	{ int linux_sigaltstack(void); }
236	AUE_NULL	UNIMPL
237	AUE_NULL	UNIMPL
238	AUE_NULL	UNIMPL
239	AUE_NULL	UNIMPL
240	AUE_NULL	UNIMPL
241	AUE_NULL	MSTD	{ int osf1_sysinfo(int cmd, char *buf, \
				    long count); }
242	AUE_NULL	UNIMPL
243	AUE_NULL	UNIMPL
244	AUE_NULL	UNIMPL	osf_proplist_syscall
245	AUE_NULL	UNIMPL
246	AUE_NULL	UNIMPL
247	AUE_NULL	UNIMPL
248	AUE_NULL	UNIMPL
249	AUE_NULL	UNIMPL
250	AUE_NULL	UNIMPL
251	AUE_NULL	UNIMPL	osf_usleep_thread
252	AUE_NULL	UNIMPL
253	AUE_NULL	UNIMPL
254	AUE_NULL	MSTD	{ int linux_sysfs(l_int option, \
				    l_ulong arg1, l_ulong arg2); }
255	AUE_NULL	UNIMPL
256	AUE_NULL	MSTD	{ int osf1_getsysinfo(u_long op, \
				    caddr_t buffer, u_long nbytes, \
				    caddr_t arg, u_long flag); }
257	AUE_NULL	MSTD	{ int osf1_setsysinfo(u_long op, \
				    caddr_t buffer, u_long nbytes, \
				    caddr_t arg, u_long flag); }
258	AUE_NULL	UNIMPL
259	AUE_NULL	UNIMPL
260	AUE_NULL	UNIMPL
261	AUE_NULL	UNIMPL
262	AUE_NULL	UNIMPL
263	AUE_NULL	UNIMPL
264	AUE_NULL	UNIMPL
265	AUE_NULL	UNIMPL
266	AUE_NULL	UNIMPL
267	AUE_NULL	UNIMPL
268	AUE_NULL	UNIMPL
269	AUE_NULL	UNIMPL
270	AUE_NULL	UNIMPL
271	AUE_NULL	UNIMPL
272	AUE_NULL	UNIMPL
273	AUE_NULL	UNIMPL
274	AUE_NULL	UNIMPL
275	AUE_NULL	UNIMPL
276	AUE_NULL	UNIMPL
277	AUE_NULL	UNIMPL
278	AUE_NULL	UNIMPL
279	AUE_NULL	UNIMPL
280	AUE_NULL	UNIMPL
281	AUE_NULL	UNIMPL
282	AUE_NULL	UNIMPL
283	AUE_NULL	UNIMPL
284	AUE_NULL	UNIMPL
285	AUE_NULL	UNIMPL
286	AUE_NULL	UNIMPL
287	AUE_NULL	UNIMPL
288	AUE_NULL	UNIMPL
289	AUE_NULL	UNIMPL
290	AUE_NULL	UNIMPL
291	AUE_NULL	UNIMPL
292	AUE_NULL	UNIMPL
293	AUE_NULL	UNIMPL
294	AUE_NULL	UNIMPL
295	AUE_NULL	UNIMPL
296	AUE_NULL	UNIMPL
297	AUE_NULL	UNIMPL
298	AUE_NULL	UNIMPL
299	AUE_NULL	UNIMPL
300	AUE_BDFLUSH	MSTD	{ int linux_bdflush(void); }
301	AUE_NULL	MSTD	{ int linux_sethae(void); }
302	AUE_MOUNT	STD	{ int linux_mount(char *specialfile, \
				    char *dir, char *filesystemtype, \
				    l_ulong rwflag, void *data); }
303	AUE_ADJTIME	MSTD	{ int linux_old_adjtimex(void); }
304	AUE_SWAPOFF	MSTD	{ int linux_swapoff(void); }
305	AUE_O_GETDENTS	STD	{ int linux_getdents(l_uint fd, void *dent, \
				    l_uint count); }
306	AUE_NULL	MSTD	{ int linux_create_module(void); }
307	AUE_NULL	MSTD	{ int linux_init_module(void); }
308	AUE_NULL	MSTD	{ int linux_delete_module(void); }
309	AUE_NULL	MSTD	{ int linux_get_kernel_syms(void); }
310	AUE_NULL	MSTD	{ int linux_syslog(l_int type, char *buf, \
				    l_int len); }
311	AUE_REBOOT	MSTD	{ int linux_reboot(l_int magic1, \
				    l_int magic2, l_uint cmd, void *arg); }
312	AUE_RFORK	MSTD	{ int linux_clone(l_int flags, void *stack); }
313	AUE_USELIB	STD	{ int linux_uselib(char *library); }	
314	AUE_MLOCK	MNOPROTO	{ int mlock(const void *addr, \
				    size_t len); }
315	AUE_MUNLOCK	MNOPROTO	{ int munlock(const void *addr, \
				    size_t len); }
316	AUE_MLOCKALL	MNOPROTO	{ int mlockall(int how); }
317	AUE_MUNLOCKALL	MNOPROTO	{ int munlockall(void); }
318	AUE_NULL	MSTD	{ int linux_sysinfo(void); }
319	AUE_SYSCTL	MSTD	{ int linux_sysctl( \
				    struct l___sysctl_args *args); }
320	AUE_NULL	UNIMPL	sys_idle
321	AUE_UMOUNT	STD	{ int linux_oldumount(char *path); }
322	AUE_SWAPON	MNOPROTO	{ int swapon(char *name); }
323	AUE_NULL	MSTD	{ int linux_times(struct l_times_argv *buf); }
324	AUE_PERSONALITY	MSTD	{ int linux_personality(l_ulong per); }
325	AUE_SETFSUID	MSTD	{ int linux_setfsuid(l_uid_t uid); }
326	AUE_SETFSGID	MSTD	{ int linux_setfsgid(l_gid_t gid); }
327	AUE_NULL	MSTD	{ int linux_ustat(l_dev_t dev, \
				    struct l_ustat *ubuf); }
328	AUE_STATFS	MSTD	{ int linux_statfs(char *path, \
				    struct l_statfs_buf *buf); }
329	AUE_FSTATFS	MSTD	{ int linux_fstatfs(l_uint fd, \
				    struct l_statfs_buf *buf); }
330	AUE_SCHED_SETPARAM	MNOPROTO	{ int sched_setparam(pid_t pid, \
				    const struct sched_param *param); }
331	AUE_SCHED_GETPARAM	MNOPROTO	{ int sched_getparam(pid_t pid, \
				    struct sched_param *param); }
332	AUE_SCHED_SETSCHEDULER	MSTD	{ int linux_sched_setscheduler(l_pid_t pid, \
				    l_int policy, \
				    struct l_sched_param *param); }
333	AUE_SCHED_GETSCHEDULER	MSTD	{ int linux_sched_getscheduler(l_pid_t pid); }
334	AUE_NULL	MNOPROTO	{ int sched_yield(void); }
335	AUE_SCHED_GET_PRIORITY_MAX	MSTD	{ int linux_sched_get_priority_max( \
				    l_int policy); }
336	AUE_SCHED_GET_PRIORITY_MIN	MSTD	{ int linux_sched_get_priority_min( \
				    l_int policy); }
337	AUE_SCHED_RR_GET_INTERVAL	MNOPROTO	{ int sched_rr_get_interval (pid_t pid, \
				    struct timespec *interval); }
338	AUE_NULL	UNIMPL	sys_afs_syscall
339	AUE_NULL	MSTD	{ int linux_newuname( \
				    struct l_newuname_t *buf); }
340	AUE_NULL	MNOPROTO	{ int nanosleep( \
				    const struct timespec *rqtp, \
				    struct timespec *rmtp); }
341	AUE_NULL	MSTD	{ int linux_mremap(l_ulong addr, \
				    l_ulong old_len, l_ulong new_len, \
				    l_ulong flags, l_ulong new_addr); }
342	AUE_NULL	MSTD	{ int linux_nfsservctl(void); }
343	AUE_SETRESUID	MNOPROTO	{ int setresuid(uid_t ruid, \
				    uid_t euid, uid_t suid); }
344	AUE_GETRESUID	MNOPROTO	{ int getresuid(uid_t *ruid, \
				    uid_t *euid, uid_t *suid); }
345	AUE_NULL	MSTD	{ int linux_pciconfig_read(void); }
346	AUE_NULL	MSTD	{ int linux_pciconfig_write(void); }
347	AUE_NULL	MSTD	{ int linux_query_module(void); }
348	AUE_PRCTL	MSTD	{ int linux_prctl(void); }
349	AUE_PREAD	MSTD	{ int linux_pread(l_uint fd, char *buf, \
				    l_size_t nbyte, l_loff_t offset); }
350	AUE_PWRITE	MSTD	{ int linux_pwrite(l_uint fd, char *buf, \
				    l_size_t nbyte, l_loff_t offset); }
351	AUE_NULL	MSTD	{ int linux_rt_sigreturn(void); }
352	AUE_NULL	MSTD	{ int linux_rt_sigaction(l_int sig, \
				    l_sigaction_t *act, l_sigaction_t *oact, \
				    l_size_t sigsetsize); }
353	AUE_NULL	MSTD	{ int linux_rt_sigprocmask(l_int how, \
				    l_sigset_t *mask, l_sigset_t *omask, \
				    l_size_t sigsetsize); }
354	AUE_NULL	MSTD	{ int linux_rt_sigpending(void); }
355	AUE_NULL	MSTD	{ int linux_rt_sigtimedwait(void); }
356	AUE_NULL	MSTD	{ int linux_rt_sigqueueinfo(void); }
357	AUE_NULL	MSTD	{ int linux_rt_sigsuspend(l_sigset_t \
				    *newset, l_size_t sigsetsize); }
358	AUE_SELECT	MSTD	{ int linux_select(l_int nfds, \
				    l_fd_set *readfds, l_fd_set *writefds, \
				    l_fd_set *exceptfds, \
				    struct l_timeval *timeout); }
359	AUE_NULL	MNOPROTO	{ int gettimeofday( \
				    struct timeval *tp, \
				    struct timezone *tzp); }
360	AUE_SETTIMEOFDAY	MNOPROTO	{ int settimeofday( \
				    struct timeval *tp, \
				    struct timezone *tzp); }
361	AUE_GETITIMER	MSTD	{ int linux_getitimer(l_int which, \
				    struct l_itimerval *itv); }
362	AUE_SETITIMER	MSTD	{ int linux_setitimer(l_int which, \
				    struct l_itimerval *itv, \
				    struct l_itimerval *oitv); }
363	AUE_UTIMES	MSTD	{ int linux_utimes(char *fname, \
				    struct l_timeval *times); }
364	AUE_GETRUSAGE	MNOPROTO	{ int getrusage(int who, \
				    struct rusage *rusage); }
365	AUE_WAIT4	MSTD	{ int linux_wait4(l_pid_t pid, \
				    l_uint *status, l_int options, \
				    struct l_rusage *rusage); }		
366	AUE_ADJTIME	MSTD	{ int linux_adjtimex(void); }
367	AUE_GETCWD	MSTD	{ int linux_getcwd(char *buf, \
				    l_ulong bufsize); }
368	AUE_CAPGET	MSTD	{ int linux_capget(void); }
369	AUE_CAPSET	MSTD	{ int linux_capset(void); }
370	AUE_SENDFILE	MSTD	{ int linux_sendfile(void); }
371	AUE_SETRESGID	MNOPROTO	{ int setresgid(gid_t rgid, \
				    gid_t egid, gid_t sgid); }
372	AUE_GETRESGID	MNOPROTO	{ int getresgid(gid_t *rgid, \
				    gid_t *egid, gid_t *sgid); }
373	AUE_NULL	UNIMPL	sys_dipc
374	AUE_PIVOT_ROOT	MSTD	{ int linux_pivot_root(char *new_root, \
				    char *put_old); }
375	AUE_MINCORE	MSTD	{ int linux_mincore(l_ulong start, \
				    l_size_t len, u_char *vec); }
376	AUE_NULL	MSTD	{ int linux_pciconfig_iobase(void); }
377	AUE_O_GETDENTS	STD	{ int linux_getdents64(l_uint fd, void *dirent, l_uint count); }
OpenPOWER on IntegriCloud