1999-08-28 01:08:13 +00:00
|
|
|
$FreeBSD$
|
1996-03-02 19:04:16 +00:00
|
|
|
|
|
|
|
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
|
|
|
|
; System call name/number master file (or rather, slave, from LINUX).
|
2000-11-09 07:27:55 +00:00
|
|
|
; Processed to create linux_sysent.c, linux_proto.h and linux_syscall.h.
|
1996-03-02 19:04:16 +00:00
|
|
|
|
|
|
|
; 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
|
|
|
|
; 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
|
|
|
|
; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
|
|
|
|
; OBSOL obsolete, not included in system, only specifies name
|
|
|
|
; UNIMPL not implemented, placeholder only
|
|
|
|
|
1998-06-09 03:28:14 +00:00
|
|
|
#include "opt_compat.h"
|
1996-03-02 19:04:16 +00:00
|
|
|
#include <sys/param.h>
|
|
|
|
#include <sys/sysent.h>
|
|
|
|
#include <sys/sysproto.h>
|
|
|
|
#include <i386/linux/linux.h>
|
2000-11-10 21:30:19 +00:00
|
|
|
#include <i386/linux/linux_proto.h>
|
1996-03-02 19:04:16 +00:00
|
|
|
|
|
|
|
; #ifdef's, etc. may be included, and are copied to the output files.
|
|
|
|
|
|
|
|
0 STD LINUX { int linux_setup(void); }
|
2000-07-29 10:05:25 +00:00
|
|
|
1 NOPROTO LINUX { void sys_exit(int rval); } exit sys_exit_args void
|
1996-03-02 19:04:16 +00:00
|
|
|
2 STD LINUX { int linux_fork(void); }
|
|
|
|
3 NOPROTO LINUX { int read(int fd, char *buf, u_int nbyte); }
|
|
|
|
4 NOPROTO LINUX { int write(int fd, char *buf, u_int nbyte); }
|
|
|
|
5 STD LINUX { int linux_open(char *path, int flags, int mode); }
|
|
|
|
6 NOPROTO LINUX { int close(int fd); }
|
1999-08-25 11:17:36 +00:00
|
|
|
7 STD LINUX { int linux_waitpid(int pid, int *status, \
|
|
|
|
int options); }
|
1996-03-02 19:04:16 +00:00
|
|
|
8 STD LINUX { int linux_creat(char *path, int mode); }
|
1999-08-12 19:53:33 +00:00
|
|
|
9 STD LINUX { int linux_link(char *path, char *to); }
|
1996-03-02 19:04:16 +00:00
|
|
|
10 STD LINUX { int linux_unlink(char *path); }
|
1999-08-25 11:17:36 +00:00
|
|
|
11 STD LINUX { int linux_execve(char *path, char **argp, \
|
|
|
|
char **envp); }
|
1996-03-02 19:04:16 +00:00
|
|
|
12 STD LINUX { int linux_chdir(char *path); }
|
|
|
|
13 STD LINUX { int linux_time(linux_time_t *tm); }
|
|
|
|
14 STD LINUX { int linux_mknod(char *path, int mode, int dev); }
|
|
|
|
15 STD LINUX { int linux_chmod(char *path, int mode); }
|
1998-03-29 07:59:10 +00:00
|
|
|
16 STD LINUX { int linux_lchown(char *path, int uid, int gid); }
|
1996-03-02 19:04:16 +00:00
|
|
|
17 STD LINUX { int linux_break(char *nsize); }
|
|
|
|
18 STD LINUX { int linux_stat(char *path, struct ostat *up); }
|
|
|
|
19 STD LINUX { int linux_lseek(int fdes, long off, int whence); }
|
|
|
|
20 NOPROTO LINUX { int getpid(void); }
|
|
|
|
21 STD LINUX { int linux_mount(void); }
|
|
|
|
22 STD LINUX { int linux_umount(void); }
|
|
|
|
23 NOPROTO LINUX { int setuid(uid_t uid); }
|
|
|
|
24 NOPROTO LINUX { int getuid(void); }
|
|
|
|
25 STD LINUX { int linux_stime(void); }
|
|
|
|
26 STD LINUX { int linux_ptrace(void); }
|
|
|
|
27 STD LINUX { int linux_alarm(unsigned int secs); }
|
|
|
|
28 STD LINUX { int linux_fstat(int fd, struct ostat *up); }
|
|
|
|
29 STD LINUX { int linux_pause(void); }
|
1999-08-25 11:17:36 +00:00
|
|
|
30 STD LINUX { int linux_utime(char *fname, \
|
|
|
|
struct linux_utimbuf *times); }
|
1996-03-02 19:04:16 +00:00
|
|
|
31 STD LINUX { int linux_stty(void); }
|
|
|
|
32 STD LINUX { int linux_gtty(void); }
|
|
|
|
33 STD LINUX { int linux_access(char *path, int flags); }
|
I should not edit linux_prot.h directly. Fix the argument of linux_nice.
Pointed out by: Eivind Eklund <eivind@FreeBSD.ORG>
NOPROTO LINUX { int getpgrp(void); }
66 NOPROTO LINUX { int setsid(void); }
67 STD LINUX { int linux_sigaction(int sig, \
struct linux_sigaction *nsa, \
struct linux_sigaction *osa); }
68 STD LINUX { int linux_siggetmask(void); }
69 STD LINUX { int linux_sigsetmask(linux_sigset_t mask); }
70 NOPROTO LINUX { int setreuid(int ruid, int euid); }
71 NOPROTO LINUX { int setregid(int rgid, int egid); }
72 STD LINUX { int linux_sigsuspend(int restart, \
linux_sigset_t oldmask, linux_sigset_t mask); }
73 STD LINUX { int linux_sigpending(linux_sigset_t *mask); }
74 NOPROTO LINUX { int osethostname(char *hostname, \
u_int len);}
75 NOPROTO LINUX { int osetrlimit(u_int which, \
struct ogetrlimit *rlp); }
76 NOPROTO LINUX { int ogetrlimit(u_int which, \
struct ogetrlimit *rlp); }
77 NOPROTO LINUX { int getrusage(int who, struct rusage *rusage); }
78 NOPROTO LINUX { int gettimeofday(struct timeval *tp, \
struct timezone *tzp); }
79 NOPROTO LINUX { int settimeofday(struct timeval *tp, \
struct timezone *tzp); }
80 NOPROTO LINUX { int getgroups(u_int gidsetsize, gid_t *gidset); }
81 NOPROTO LINUX { int setgroups(u_int gidsetsize, gid_t *gidset); }
82 STD LINUX { int linux_select(struct linux_select_argv *ptr); }
83 STD LINUX { int linux_symlink(char *path, char *to); }
84 NOPROTO LINUX { int ostat(char *path, struct ostat *up); }
85 STD LINUX { int linux_readlink(char *name, char *buf, \
int count); }
86 STD LINUX { int linux_uselib(char *library); }
87 NOPROTO LINUX { int swapon(char *name); }
88 NOPROTO LINUX { int reboot(int opt); }
89 STD LINUX { int linux_readdir(int fd, struct linux_dirent *dent, \
unsigned int count); }
90 STD LINUX { int linux_mmap(struct linux_mmap_argv *ptr); }
91 NOPROTO LINUX { int munmap(caddr_t addr, int len); }
92 STD LINUX { int linux_truncate(char *path, long length); }
93 NOPROTO LINUX { int oftruncate(int fd, long length); }
94 NOPROTO LINUX { int fchmod(int fd, int mode); }
95 NOPROTO LINUX { int fchown(int fd, int uid, int gid); }
96 NOPROTO LINUX { int getpriority(int which, int who); }
97 NOPROTO LINUX { int setpriority(int which, int who, int prio); }
98 NOPROTO LINUX { int profil(caddr_t samples, u_int size, \
u_int offset, u_int scale); }
99 STD LINUX { int linux_statfs(char *path, \
struct linux_statfs_buf *buf); }
100 STD LINUX { int linux_fstatfs(int fd, \
struct linux_statfs_buf *buf); }
101 STD LINUX { int linux_ioperm(unsigned int lo, \
unsigned int hi, int val); }
102 STD LINUX { int linux_socketcall(int what, void *args); }
103 STD LINUX { int linux_ksyslog(int what); }
104 STD LINUX { int linux_setitimer(u_int which, \
struct itimerval *itv, struct itimerval *oitv); }
105 STD LINUX { int linux_getitimer(u_int which, \
struct itimerval *itv); }
106 STD LINUX { int linux_newstat(char *path, \
struct linux_newstat *buf); }
107 STD LINUX { int linux_newlstat(char *path, \
struct linux_newstat *buf); }
108 STD LINUX { int linux_newfstat(int fd, struct linux_newstat *buf); }
109 STD LINUX { int linux_uname(struct linux_old_utsname *up); }
110 STD LINUX { int linux_iopl(int level); }
111 STD LINUX { int linux_vhangup(void); }
112 STD LINUX { int linux_idle(void); }
113 STD LINUX { int linux_vm86(void); }
114 STD LINUX { int linux_wait4(int pid, int *status, \
int options, struct rusage *rusage); }
115 STD LINUX { int linux_swapoff(void); }
116 STD LINUX { int linux_sysinfo(void); }
117 STD LINUX { int linux_ipc(int what, int arg1, int arg2, int arg3, \
caddr_t ptr); }
118 NOPROTO LINUX { int fsync(int fd); }
119 STD LINUX { int linux_sigreturn(struct linux_sigcontext *scp); }
access
1997-12-17 03:12:35 +00:00
|
|
|
34 STD LINUX { int linux_nice(int inc); }
|
1996-03-02 19:04:16 +00:00
|
|
|
35 STD LINUX { int linux_ftime(void); }
|
|
|
|
36 NOPROTO LINUX { int sync(void); }
|
|
|
|
37 STD LINUX { int linux_kill(int pid, int signum); }
|
|
|
|
38 STD LINUX { int linux_rename(char *from, char *to); }
|
|
|
|
39 STD LINUX { int linux_mkdir(char *path, int mode); }
|
|
|
|
40 STD LINUX { int linux_rmdir(char *path); }
|
|
|
|
41 NOPROTO LINUX { int dup(u_int fd); }
|
|
|
|
42 STD LINUX { int linux_pipe(int *pipefds); }
|
|
|
|
43 STD LINUX { int linux_times(struct linux_times_argv *buf); }
|
|
|
|
44 STD LINUX { int linux_prof(void); }
|
|
|
|
45 STD LINUX { int linux_brk(char *dsend); }
|
|
|
|
46 NOPROTO LINUX { int setgid(gid_t gid); }
|
|
|
|
47 NOPROTO LINUX { int getgid(void); }
|
|
|
|
48 STD LINUX { int linux_signal(int sig, linux_handler_t handler); }
|
|
|
|
49 NOPROTO LINUX { int geteuid(void); }
|
|
|
|
50 NOPROTO LINUX { int getegid(void); }
|
|
|
|
51 NOPROTO LINUX { int acct(char *path); }
|
1999-08-25 11:17:36 +00:00
|
|
|
52 STD LINUX { int linux_umount2(void); }
|
1996-03-02 19:04:16 +00:00
|
|
|
53 STD LINUX { int linux_lock(void); }
|
|
|
|
54 STD LINUX { int linux_ioctl(int fd, u_long cmd, int arg); }
|
|
|
|
55 STD LINUX { int linux_fcntl(int fd, int cmd, int arg); }
|
|
|
|
56 STD LINUX { int linux_mpx(void); }
|
|
|
|
57 NOPROTO LINUX { int setpgid(int pid, int pgid); }
|
|
|
|
58 STD LINUX { int linux_ulimit(void); }
|
1999-08-25 11:17:36 +00:00
|
|
|
59 STD LINUX { int linux_olduname(void); }
|
1996-03-02 19:04:16 +00:00
|
|
|
60 NOPROTO LINUX { int umask(int newmask); }
|
|
|
|
61 NOPROTO LINUX { int chroot(char *path); }
|
1999-11-27 16:50:54 +00:00
|
|
|
62 STD LINUX { int linux_ustat(linux_dev_t dev, \
|
|
|
|
struct linux_ustat *ubuf); }
|
1996-03-02 19:04:16 +00:00
|
|
|
63 NOPROTO LINUX { int dup2(u_int from, u_int to); }
|
|
|
|
64 NOPROTO LINUX { int getppid(void); }
|
|
|
|
65 NOPROTO LINUX { int getpgrp(void); }
|
|
|
|
66 NOPROTO LINUX { int setsid(void); }
|
|
|
|
67 STD LINUX { int linux_sigaction(int sig, \
|
1999-09-29 15:12:18 +00:00
|
|
|
linux_osigaction_t *nsa, \
|
|
|
|
linux_osigaction_t *osa); }
|
1996-03-02 19:04:16 +00:00
|
|
|
68 STD LINUX { int linux_siggetmask(void); }
|
1999-09-29 15:12:18 +00:00
|
|
|
69 STD LINUX { int linux_sigsetmask(linux_osigset_t mask); }
|
1996-03-02 19:04:16 +00:00
|
|
|
70 NOPROTO LINUX { int setreuid(int ruid, int euid); }
|
|
|
|
71 NOPROTO LINUX { int setregid(int rgid, int egid); }
|
1996-03-04 20:58:47 +00:00
|
|
|
72 STD LINUX { int linux_sigsuspend(int restart, \
|
1999-09-29 15:12:18 +00:00
|
|
|
linux_osigset_t oldmask, \
|
|
|
|
linux_osigset_t mask); }
|
|
|
|
73 STD LINUX { int linux_sigpending(linux_osigset_t *mask); }
|
2000-05-09 18:23:16 +00:00
|
|
|
74 NOPROTO LINUX { int osethostname(char *hostname, u_int len); } \
|
|
|
|
osethostname sethostname_args int
|
1999-08-11 13:29:48 +00:00
|
|
|
75 STD LINUX { int linux_setrlimit(u_int resource, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct ogetrlimit *rlim); }
|
1999-08-11 13:29:48 +00:00
|
|
|
76 STD LINUX { int linux_getrlimit(u_int resource, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct ogetrlimit *rlim); }
|
1996-03-02 19:04:16 +00:00
|
|
|
77 NOPROTO LINUX { int getrusage(int who, struct rusage *rusage); }
|
|
|
|
78 NOPROTO LINUX { int gettimeofday(struct timeval *tp, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct timezone *tzp); }
|
1996-03-02 19:04:16 +00:00
|
|
|
79 NOPROTO LINUX { int settimeofday(struct timeval *tp, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct timezone *tzp); }
|
1998-12-30 20:58:28 +00:00
|
|
|
80 STD LINUX { int linux_getgroups(u_int gidsetsize, \
|
1999-08-25 11:17:36 +00:00
|
|
|
linux_gid_t *gidset); }
|
1998-12-30 20:58:28 +00:00
|
|
|
81 STD LINUX { int linux_setgroups(u_int gidsetsize, \
|
1999-08-25 11:17:36 +00:00
|
|
|
linux_gid_t *gidset); }
|
1996-03-02 19:04:16 +00:00
|
|
|
82 STD LINUX { int linux_select(struct linux_select_argv *ptr); }
|
|
|
|
83 STD LINUX { int linux_symlink(char *path, char *to); }
|
|
|
|
84 NOPROTO LINUX { int ostat(char *path, struct ostat *up); }
|
|
|
|
85 STD LINUX { int linux_readlink(char *name, char *buf, \
|
1999-08-25 11:17:36 +00:00
|
|
|
int count); }
|
1996-03-02 19:04:16 +00:00
|
|
|
86 STD LINUX { int linux_uselib(char *library); }
|
|
|
|
87 NOPROTO LINUX { int swapon(char *name); }
|
|
|
|
88 NOPROTO LINUX { int reboot(int opt); }
|
1999-08-25 11:17:36 +00:00
|
|
|
89 STD LINUX { int linux_readdir(int fd, \
|
|
|
|
struct linux_dirent *dent, \
|
|
|
|
unsigned int count); }
|
1996-03-02 19:04:16 +00:00
|
|
|
90 STD LINUX { int linux_mmap(struct linux_mmap_argv *ptr); }
|
|
|
|
91 NOPROTO LINUX { int munmap(caddr_t addr, int len); }
|
|
|
|
92 STD LINUX { int linux_truncate(char *path, long length); }
|
|
|
|
93 NOPROTO LINUX { int oftruncate(int fd, long length); }
|
|
|
|
94 NOPROTO LINUX { int fchmod(int fd, int mode); }
|
|
|
|
95 NOPROTO LINUX { int fchown(int fd, int uid, int gid); }
|
|
|
|
96 NOPROTO LINUX { int getpriority(int which, int who); }
|
|
|
|
97 NOPROTO LINUX { int setpriority(int which, int who, int prio); }
|
|
|
|
98 NOPROTO LINUX { int profil(caddr_t samples, u_int size, \
|
1999-08-25 11:17:36 +00:00
|
|
|
u_int offset, u_int scale); }
|
1996-03-02 19:04:16 +00:00
|
|
|
99 STD LINUX { int linux_statfs(char *path, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct linux_statfs_buf *buf); }
|
1996-03-02 19:04:16 +00:00
|
|
|
100 STD LINUX { int linux_fstatfs(int fd, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct linux_statfs_buf *buf); }
|
1999-09-22 22:01:51 +00:00
|
|
|
101 STD LINUX { int linux_ioperm(unsigned int start, \
|
|
|
|
unsigned int length, int enable); }
|
1996-03-02 19:04:16 +00:00
|
|
|
102 STD LINUX { int linux_socketcall(int what, void *args); }
|
|
|
|
103 STD LINUX { int linux_ksyslog(int what); }
|
|
|
|
104 STD LINUX { int linux_setitimer(u_int which, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct itimerval *itv, \
|
|
|
|
struct itimerval *oitv); }
|
1996-03-02 19:04:16 +00:00
|
|
|
105 STD LINUX { int linux_getitimer(u_int which, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct itimerval *itv); }
|
1996-03-02 19:04:16 +00:00
|
|
|
106 STD LINUX { int linux_newstat(char *path, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct linux_newstat *buf); }
|
1996-03-02 19:04:16 +00:00
|
|
|
107 STD LINUX { int linux_newlstat(char *path, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct linux_newstat *buf); }
|
|
|
|
108 STD LINUX { int linux_newfstat(int fd, \
|
|
|
|
struct linux_newstat *buf); }
|
|
|
|
109 STD LINUX { int linux_uname(void); }
|
1996-03-02 19:04:16 +00:00
|
|
|
110 STD LINUX { int linux_iopl(int level); }
|
|
|
|
111 STD LINUX { int linux_vhangup(void); }
|
|
|
|
112 STD LINUX { int linux_idle(void); }
|
1999-08-25 11:17:36 +00:00
|
|
|
113 STD LINUX { int linux_vm86old(void); }
|
1996-03-02 19:04:16 +00:00
|
|
|
114 STD LINUX { int linux_wait4(int pid, int *status, \
|
1999-08-25 11:17:36 +00:00
|
|
|
int options, struct rusage *rusage); }
|
1996-03-02 19:04:16 +00:00
|
|
|
115 STD LINUX { int linux_swapoff(void); }
|
|
|
|
116 STD LINUX { int linux_sysinfo(void); }
|
1999-08-25 11:17:36 +00:00
|
|
|
117 STD LINUX { int linux_ipc(int what, int arg1, int arg2, \
|
|
|
|
int arg3, caddr_t ptr); }
|
1996-03-02 19:04:16 +00:00
|
|
|
118 NOPROTO LINUX { int fsync(int fd); }
|
2000-11-23 08:53:19 +00:00
|
|
|
119 STD LINUX { int linux_sigreturn(struct linux_sigframe *sfp); }
|
1998-12-19 02:55:34 +00:00
|
|
|
120 STD LINUX { int linux_clone(int flags, void *stack); }
|
1999-08-25 11:17:36 +00:00
|
|
|
121 NOPROTO LINUX { int setdomainname(char *name, int len); }
|
|
|
|
122 STD LINUX { int linux_newuname(struct linux_new_utsname *buf); }
|
1996-03-02 19:04:16 +00:00
|
|
|
123 STD LINUX { int linux_modify_ldt(int func, void *ptr, \
|
1999-08-25 11:17:36 +00:00
|
|
|
size_t bytecount); }
|
1996-03-02 19:04:16 +00:00
|
|
|
124 STD LINUX { int linux_adjtimex(void); }
|
|
|
|
125 NOPROTO LINUX { int mprotect(caddr_t addr, int len, int prot); }
|
|
|
|
126 STD LINUX { int linux_sigprocmask(int how, \
|
1999-09-29 15:12:18 +00:00
|
|
|
linux_osigset_t *mask, \
|
|
|
|
linux_osigset_t *omask); }
|
1996-03-02 19:04:16 +00:00
|
|
|
127 STD LINUX { int linux_create_module(void); }
|
|
|
|
128 STD LINUX { int linux_init_module(void); }
|
|
|
|
129 STD LINUX { int linux_delete_module(void); }
|
|
|
|
130 STD LINUX { int linux_get_kernel_syms(void); }
|
|
|
|
131 STD LINUX { int linux_quotactl(void); }
|
|
|
|
132 STD LINUX { int linux_getpgid(int pid); }
|
|
|
|
133 NOPROTO LINUX { int fchdir(int fd); }
|
|
|
|
134 STD LINUX { int linux_bdflush(void); }
|
1999-08-25 11:17:36 +00:00
|
|
|
135 STD LINUX { int linux_sysfs(int option, u_long arg1, \
|
|
|
|
u_long arg2); }
|
1996-03-02 19:04:16 +00:00
|
|
|
136 STD LINUX { int linux_personality(int per); }
|
1999-08-25 11:17:36 +00:00
|
|
|
137 STD LINUX { int linux_afs_syscall(void); }
|
|
|
|
138 STD LINUX { int linux_setfsuid(linux_uid_t uid); }
|
|
|
|
139 STD LINUX { int linux_setfsgid(linux_gid_t gid); }
|
1996-03-02 19:04:16 +00:00
|
|
|
140 STD LINUX { int linux_llseek(int fd, u_int32_t ohigh, \
|
1999-08-25 11:17:36 +00:00
|
|
|
u_int32_t olow, caddr_t res, int whence); }
|
1996-03-02 19:04:16 +00:00
|
|
|
141 STD LINUX { int linux_getdents(int fd, void *dent, \
|
1999-08-25 11:17:36 +00:00
|
|
|
unsigned count); }
|
1996-03-02 19:04:16 +00:00
|
|
|
142 STD LINUX { int linux_newselect(int nfds, fd_set *readfds, \
|
1999-08-25 11:17:36 +00:00
|
|
|
fd_set *writefds, fd_set *exceptfds, \
|
|
|
|
struct timeval *timeout); }
|
1996-03-02 19:04:16 +00:00
|
|
|
143 NOPROTO LINUX { int flock(int fd, int how); }
|
|
|
|
144 STD LINUX { int linux_msync(caddr_t addr, int len, int fl); }
|
|
|
|
145 NOPROTO LINUX { int readv(int fd, struct iovec *iovp, \
|
|
|
|
u_int iovcnt); }
|
|
|
|
146 NOPROTO LINUX { int writev(int fd, struct iovec *iovp, \
|
|
|
|
u_int iovcnt); }
|
1999-08-25 11:17:36 +00:00
|
|
|
147 STD LINUX { int linux_getsid(linux_pid_t pid); }
|
|
|
|
148 STD LINUX { int linux_fdatasync(int fd); }
|
|
|
|
149 STD LINUX { int linux_sysctl(void); }
|
1998-03-28 11:51:01 +00:00
|
|
|
150 NOPROTO BSD { int mlock(const void *addr, size_t len); }
|
|
|
|
151 NOPROTO BSD { int munlock(const void *addr, size_t len); }
|
1998-03-29 07:53:19 +00:00
|
|
|
152 NOPROTO BSD { int mlockall(int how); }
|
|
|
|
153 NOPROTO BSD { int munlockall(void); }
|
1999-08-25 11:17:36 +00:00
|
|
|
154 NOPROTO POSIX { int sched_setparam (pid_t pid, \
|
|
|
|
const struct sched_param *param); }
|
|
|
|
155 NOPROTO POSIX { int sched_getparam (pid_t pid, \
|
|
|
|
struct sched_param *param); }
|
1999-08-15 17:25:56 +00:00
|
|
|
156 STD POSIX { int linux_sched_setscheduler(pid_t pid, int policy, \
|
|
|
|
const struct sched_param *param); }
|
|
|
|
157 STD POSIX { int linux_sched_getscheduler(pid_t pid); }
|
1998-03-29 07:53:19 +00:00
|
|
|
158 NOPROTO POSIX { int sched_yield (void); }
|
|
|
|
159 NOPROTO POSIX { int sched_get_priority_max (int policy); }
|
|
|
|
160 NOPROTO POSIX { int sched_get_priority_min (int policy); }
|
1999-08-25 11:17:36 +00:00
|
|
|
161 NOPROTO POSIX { int sched_rr_get_interval (pid_t pid, \
|
|
|
|
struct timespec *interval); }
|
1998-03-28 11:51:01 +00:00
|
|
|
162 NOPROTO POSIX { int nanosleep(const struct timespec *rqtp, \
|
1999-08-25 11:17:36 +00:00
|
|
|
struct timespec *rmtp); }
|
1998-07-10 22:30:08 +00:00
|
|
|
163 STD LINUX { int linux_mremap(caddr_t addr, int old_len, \
|
1999-08-25 11:17:36 +00:00
|
|
|
int new_len, int flags); }
|
2000-01-29 12:43:29 +00:00
|
|
|
164 NOPROTO LINUX { int setresuid(int ruid, int euid, int suid); }
|
1999-08-25 11:17:36 +00:00
|
|
|
165 STD LINUX { int linux_getresuid(linux_uid_t *ruid, \
|
|
|
|
linux_uid_t *euid, linux_uid_t *suid); }
|
|
|
|
166 STD LINUX { int linux_vm86(void); }
|
|
|
|
167 STD LINUX { int linux_query_module(void); }
|
1998-12-22 08:59:19 +00:00
|
|
|
168 NOPROTO LINUX { int poll(struct pollfd*, unsigned int nfds, \
|
1999-08-25 11:17:36 +00:00
|
|
|
long timeout); }
|
|
|
|
169 STD LINUX { int linux_nfsservctl(void); }
|
2000-01-29 12:43:29 +00:00
|
|
|
170 NOPROTO LINUX { int setresgid(int rgid, int egid, int sgid); }
|
|
|
|
171 STD LINUX { int linux_getresgid(linux_gid_t *rgid, \
|
|
|
|
linux_gid_t *egid, linux_gid_t *sgid); }
|
1999-08-25 11:17:36 +00:00
|
|
|
172 STD LINUX { int linux_prctl(void); }
|
2000-10-17 00:00:20 +00:00
|
|
|
173 STD LINUX { int linux_rt_sigreturn(struct linux_ucontext *ucp); }
|
1999-08-14 17:14:13 +00:00
|
|
|
174 STD LINUX { int linux_rt_sigaction(int sig, \
|
1999-09-29 15:12:18 +00:00
|
|
|
linux_sigaction_t *act, \
|
|
|
|
linux_sigaction_t *oact, \
|
1999-08-14 17:14:13 +00:00
|
|
|
size_t sigsetsize); }
|
|
|
|
175 STD LINUX { int linux_rt_sigprocmask(int how, \
|
1999-09-29 15:12:18 +00:00
|
|
|
linux_sigset_t *mask, linux_sigset_t *omask, \
|
1999-08-14 17:14:13 +00:00
|
|
|
size_t sigsetsize); }
|
1999-08-25 11:17:36 +00:00
|
|
|
176 STD LINUX { int linux_rt_sigpending(void); }
|
|
|
|
177 STD LINUX { int linux_rt_sigtimedwait(void); }
|
|
|
|
178 STD LINUX { int linux_rt_sigqueueinfo(void); }
|
1999-09-29 15:12:18 +00:00
|
|
|
179 STD LINUX { int linux_rt_sigsuspend(linux_sigset_t *newset, \
|
|
|
|
size_t sigsetsize); }
|
2000-07-17 00:13:38 +00:00
|
|
|
180 STD LINUX { int linux_pread(int fd, char *buf, size_t nbyte, \
|
|
|
|
off_t offset); }
|
|
|
|
181 STD LINUX { int linux_pwrite(int fd, const char *buf, \
|
|
|
|
size_t nbyte, off_t offset); }
|
1998-03-29 07:59:10 +00:00
|
|
|
182 STD LINUX { int linux_chown(char *path, int uid, int gid); }
|
1999-08-14 18:19:00 +00:00
|
|
|
183 STD LINUX { int linux_getcwd(char *buf, unsigned long bufsize); }
|
1999-08-25 11:17:36 +00:00
|
|
|
184 STD LINUX { int linux_capget(void); }
|
|
|
|
185 STD LINUX { int linux_capset(void); }
|
1999-11-30 15:00:17 +00:00
|
|
|
186 STD LINUX { int linux_sigaltstack(const linux_stack_t *uss, \
|
|
|
|
linux_stack_t *uoss); }
|
1999-08-25 11:17:36 +00:00
|
|
|
187 STD LINUX { int linux_sendfile(void); }
|
|
|
|
188 STD LINUX { int linux_getpmsg(void); }
|
|
|
|
189 STD LINUX { int linux_putpmsg(void); }
|
1999-08-16 11:47:21 +00:00
|
|
|
190 STD LINUX { int linux_vfork(void); }
|
2000-01-10 22:16:35 +00:00
|
|
|
191 STD LINUX { int linux_ugetrlimit(void); }
|
|
|
|
192 STD LINUX { int linux_mmap2(void); }
|
|
|
|
193 STD LINUX { int linux_truncate64(void); }
|
|
|
|
194 STD LINUX { int linux_ftruncate64(void); }
|
|
|
|
195 STD LINUX { int linux_stat64(void); }
|
|
|
|
196 STD LINUX { int linux_lstat64(void); }
|
|
|
|
197 STD LINUX { int linux_fstat64(void); }
|