summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux/syscalls.master
blob: 6ac74c63c6051bdc1d24ca5fb036e29d094317eb (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
 $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 type nargs namespc name alt{name,tag,rtyp}/comments
;	number	system call number, must be in order
;	type	one of STD, OBSOL, UNIMPL, COMPAT, CPT_NOA, LIBCOMPAT,
;		NODEF, NOARGS, NOPROTO
;	namespc one of POSIX, BSD, STD, NOHIDE (I dont care :-) -Peter
;	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
;	COMPAT	included on COMPAT #ifdef
;	CPT_NOA	combines COMPAT with NOARGS
;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
;	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 "opt_compat.h"
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <alpha/linux/linux.h>
#include <alpha/linux/linux_proto.h>

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

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

OpenPOWER on IntegriCloud