syscalls.master revision 21776
121673Sjkh $FreeBSD: head/sys/kern/syscalls.master 21776 1997-01-16 15:58:32Z bde $ 21817Sdg; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 31817Sdg; 41541Srgrimes; System call name/number master file. 51541Srgrimes; Processed to created init_sysent.c, syscalls.c and syscall.h. 61541Srgrimes 710905Sbde; Columns: number type nargs namespc name alt{name,tag,rtyp}/comments 81541Srgrimes; number system call number, must be in order 91541Srgrimes; type one of STD, OBSOL, UNIMPL, COMPAT 102696Swollman; namespc one of POSIX, BSD, NOHIDE 1111294Sswallace; name psuedo-prototype of syscall routine 1210905Sbde; If one of the following alts is different, then all appear: 131541Srgrimes; altname name of system call if different 1410905Sbde; alttag name of args struct tag if different from [o]`name'"_args" 1510905Sbde; altrtyp return type if not int (bogus - syscalls always return int) 161541Srgrimes; for UNIMPL/OBSOL, name continues with comments 171541Srgrimes 181541Srgrimes; types: 191541Srgrimes; STD always included 201541Srgrimes; COMPAT included on COMPAT #ifdef 211541Srgrimes; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h 221541Srgrimes; OBSOL obsolete, not included in system, only specifies name 231541Srgrimes; UNIMPL not implemented, placeholder only 241541Srgrimes 251541Srgrimes; #ifdef's, etc. may be included, and are copied to the output files. 261541Srgrimes 2711294Sswallace#include <sys/param.h> 2811294Sswallace#include <sys/sysent.h> 2911294Sswallace#include <sys/sysproto.h> 3011294Sswallace 311541Srgrimes; Reserved/unimplemented system calls in the range 0-150 inclusive 321541Srgrimes; are reserved for use in future Berkeley releases. 331541Srgrimes; Additional system calls implemented in vendor and other 341541Srgrimes; redistributions should be placed in the reserved range at the end 351541Srgrimes; of the current calls. 361541Srgrimes 3711294Sswallace0 STD NOHIDE { int nosys(void); } syscall nosys_args int 3811294Sswallace1 STD NOHIDE { void exit(int rval); } exit rexit_args void 3911294Sswallace2 STD POSIX { int fork(void); } 4011294Sswallace3 STD POSIX { int read(int fd, char *buf, u_int nbyte); } 4111294Sswallace4 STD POSIX { int write(int fd, char *buf, u_int nbyte); } 4211294Sswallace5 STD POSIX { int open(char *path, int flags, int mode); } 4312216Sbde; XXX should be { int open(const char *path, int flags, ...); } 4412216Sbde; but we're not ready for `const' or varargs. 4512216Sbde; XXX man page says `mode_t mode'. 4611294Sswallace6 STD POSIX { int close(int fd); } 4711294Sswallace7 STD BSD { int wait4(int pid, int *status, int options, \ 4811294Sswallace struct rusage *rusage); } wait4 wait_args int 4911294Sswallace8 COMPAT BSD { int creat(char *path, int mode); } 5011294Sswallace9 STD POSIX { int link(char *path, char *link); } 5111294Sswallace10 STD POSIX { int unlink(char *path); } 5211294Sswallace11 OBSOL NOHIDE execv 5311294Sswallace12 STD POSIX { int chdir(char *path); } 5411294Sswallace13 STD BSD { int fchdir(int fd); } 5511294Sswallace14 STD POSIX { int mknod(char *path, int mode, int dev); } 5611294Sswallace15 STD POSIX { int chmod(char *path, int mode); } 5711294Sswallace16 STD POSIX { int chown(char *path, int uid, int gid); } 5811294Sswallace17 STD BSD { int obreak(char *nsize); } break obreak_args int 5911294Sswallace18 STD BSD { int getfsstat(struct statfs *buf, long bufsize, \ 6011294Sswallace int flags); } 6111294Sswallace19 COMPAT POSIX { long lseek(int fd, long offset, int whence); } 6211294Sswallace20 STD POSIX { pid_t getpid(void); } 6312216Sbde21 STD BSD { int mount(int type, char *path, int flags, \ 6411294Sswallace caddr_t data); } 6512216Sbde; XXX 4.4lite2 uses `char *type' but we're not ready for that. 6612216Sbde; XXX `path' should have type `const char *' but we're not ready for that. 6711294Sswallace22 STD BSD { int unmount(char *path, int flags); } 6811294Sswallace23 STD POSIX { int setuid(uid_t uid); } 6911294Sswallace24 STD POSIX { uid_t getuid(void); } 7011294Sswallace25 STD POSIX { uid_t geteuid(void); } 7111294Sswallace26 STD BSD { int ptrace(int req, pid_t pid, caddr_t addr, \ 7211294Sswallace int data); } 7311294Sswallace27 STD BSD { int recvmsg(int s, struct msghdr *msg, int flags); } 7411294Sswallace28 STD BSD { int sendmsg(int s, caddr_t msg, int flags); } 7511294Sswallace29 STD BSD { int recvfrom(int s, caddr_t buf, size_t len, \ 7611294Sswallace int flags, caddr_t from, int *fromlenaddr); } 7711294Sswallace30 STD BSD { int accept(int s, caddr_t name, int *anamelen); } 7811294Sswallace31 STD BSD { int getpeername(int fdes, caddr_t asa, int *alen); } 7911294Sswallace32 STD BSD { int getsockname(int fdes, caddr_t asa, int *alen); } 8011294Sswallace33 STD POSIX { int access(char *path, int flags); } 8111294Sswallace34 STD BSD { int chflags(char *path, int flags); } 8211294Sswallace35 STD BSD { int fchflags(int fd, int flags); } 8311294Sswallace36 STD BSD { int sync(void); } 8411294Sswallace37 STD POSIX { int kill(int pid, int signum); } 8511294Sswallace38 COMPAT POSIX { int stat(char *path, struct ostat *ub); } 8611294Sswallace39 STD POSIX { pid_t getppid(void); } 8711294Sswallace40 COMPAT POSIX { int lstat(char *path, struct ostat *ub); } 8811294Sswallace41 STD POSIX { int dup(u_int fd); } 8911294Sswallace42 STD POSIX { int pipe(void); } 9011294Sswallace43 STD POSIX { gid_t getegid(void); } 9111294Sswallace44 STD BSD { int profil(caddr_t samples, u_int size, \ 9211294Sswallace u_int offset, u_int scale); } 9311294Sswallace45 STD BSD { int ktrace(char *fname, int ops, int facs, \ 9411294Sswallace int pid); } 9511294Sswallace46 STD POSIX { int sigaction(int signum, struct sigaction *nsa, \ 9611294Sswallace struct sigaction *osa); } 9711294Sswallace47 STD POSIX { gid_t getgid(void); } 9811294Sswallace48 STD POSIX { int sigprocmask(int how, sigset_t mask); } 9921776Sbde; XXX note nonstandard (bogus) calling convention - the libc stub passes 10021776Sbde; us the mask, not a pointer to it, and we return the old mask as the 10121776Sbde; (int) return value. 10211294Sswallace49 STD BSD { int getlogin(char *namebuf, u_int namelen); } 10311294Sswallace50 STD BSD { int setlogin(char *namebuf); } 10411294Sswallace51 STD BSD { int acct(char *path); } 10511294Sswallace52 STD POSIX { int sigpending(void); } 10611294Sswallace53 STD BSD { int sigaltstack(struct sigaltstack *nss, \ 10711294Sswallace struct sigaltstack *oss); } 10811294Sswallace54 STD POSIX { int ioctl(int fd, u_long com, caddr_t data); } 10911294Sswallace55 STD BSD { int reboot(int opt); } 11011294Sswallace56 STD POSIX { int revoke(char *path); } 11111294Sswallace57 STD POSIX { int symlink(char *path, char *link); } 11211294Sswallace58 STD POSIX { int readlink(char *path, char *buf, int count); } 11311294Sswallace59 STD POSIX { int execve(char *fname, char **argv, char **envv); } 11411294Sswallace60 STD POSIX { int umask(int newmask); } umask umask_args mode_t 11511294Sswallace61 STD BSD { int chroot(char *path); } 11611294Sswallace62 COMPAT POSIX { int fstat(int fd, struct ostat *sb); } 11711294Sswallace63 COMPAT BSD { int getkerninfo(int op, char *where, int *size, \ 11811294Sswallace int arg); } getkerninfo getkerninfo_args int 11911294Sswallace64 COMPAT BSD { int getpagesize(void); } \ 12011294Sswallace getpagesize getpagesize_args int 12114322Speter65 STD BSD { int msync(caddr_t addr, size_t len, int flags); } 12214219Speter66 STD BSD { int vfork(void); } 12311294Sswallace67 OBSOL NOHIDE vread 12411294Sswallace68 OBSOL NOHIDE vwrite 12511294Sswallace69 STD BSD { int sbrk(int incr); } 12611294Sswallace70 STD BSD { int sstk(int incr); } 12712216Sbde71 COMPAT BSD { int mmap(caddr_t addr, int len, int prot, \ 12811294Sswallace int flags, int fd, long pos); } 12911294Sswallace72 STD BSD { int ovadvise(int anom); } vadvise ovadvise_args int 13014322Speter73 STD BSD { int munmap(caddr_t addr, size_t len); } 13114322Speter74 STD BSD { int mprotect(caddr_t addr, size_t len, int prot); } 13214322Speter75 STD BSD { int madvise(caddr_t addr, size_t len, int behav); } 13311294Sswallace76 OBSOL NOHIDE vhangup 13411294Sswallace77 OBSOL NOHIDE vlimit 13514322Speter78 STD BSD { int mincore(caddr_t addr, size_t len, char *vec); } 13611294Sswallace79 STD POSIX { int getgroups(u_int gidsetsize, gid_t *gidset); } 13711294Sswallace80 STD POSIX { int setgroups(u_int gidsetsize, gid_t *gidset); } 13811294Sswallace81 STD POSIX { int getpgrp(void); } 13911294Sswallace82 STD POSIX { int setpgid(int pid, int pgid); } 14011294Sswallace83 STD BSD { int setitimer(u_int which, struct itimerval *itv, \ 14111294Sswallace struct itimerval *oitv); } 14211330Sswallace84 COMPAT BSD { int wait(void); } 14311294Sswallace85 STD BSD { int swapon(char *name); } 14411294Sswallace86 STD BSD { int getitimer(u_int which, struct itimerval *itv); } 14511294Sswallace87 COMPAT BSD { int gethostname(char *hostname, u_int len); } \ 14611294Sswallace gethostname gethostname_args int 14711294Sswallace88 COMPAT BSD { int sethostname(char *hostname, u_int len); } \ 14811294Sswallace sethostname sethostname_args int 14911294Sswallace89 STD BSD { int getdtablesize(void); } 15011294Sswallace90 STD POSIX { int dup2(u_int from, u_int to); } 15111294Sswallace91 UNIMPL BSD getdopt 15212216Sbde92 STD POSIX { int fcntl(int fd, int cmd, int arg); } 15312216Sbde; XXX should be { int fcntl(int fd, int cmd, ...); } 15412216Sbde; but we're not ready for varargs. 15512216Sbde; XXX man page says `int arg' too. 15617702Ssmpatel93 STD BSD { int select(int nd, fd_set *in, fd_set *ou, \ 15711294Sswallace fd_set *ex, struct timeval *tv); } 15811294Sswallace94 UNIMPL BSD setdopt 15911294Sswallace95 STD POSIX { int fsync(int fd); } 16011294Sswallace96 STD BSD { int setpriority(int which, int who, int prio); } 16111294Sswallace97 STD BSD { int socket(int domain, int type, int protocol); } 16211294Sswallace98 STD BSD { int connect(int s, caddr_t name, int namelen); } 16311330Sswallace99 CPT_NOA BSD { int accept(int s, caddr_t name, int *anamelen); } \ 16411294Sswallace accept accept_args int 16511294Sswallace100 STD BSD { int getpriority(int which, int who); } 16611294Sswallace101 COMPAT BSD { int send(int s, caddr_t buf, int len, int flags); } 16711294Sswallace102 COMPAT BSD { int recv(int s, caddr_t buf, int len, int flags); } 16811294Sswallace103 STD BSD { int sigreturn(struct sigcontext *sigcntxp); } 16911294Sswallace104 STD BSD { int bind(int s, caddr_t name, int namelen); } 17011294Sswallace105 STD BSD { int setsockopt(int s, int level, int name, \ 17111294Sswallace caddr_t val, int valsize); } 17211294Sswallace106 STD BSD { int listen(int s, int backlog); } 17311294Sswallace107 OBSOL NOHIDE vtimes 17411294Sswallace108 COMPAT BSD { int sigvec(int signum, struct sigvec *nsv, \ 17511294Sswallace struct sigvec *osv); } 17611294Sswallace109 COMPAT BSD { int sigblock(int mask); } 17711294Sswallace110 COMPAT BSD { int sigsetmask(int mask); } 17821776Sbde111 STD POSIX { int sigsuspend(sigset_t mask); } 17921776Sbde; XXX note nonstandard (bogus) calling convention - the libc stub passes 18021776Sbde; us the mask, not a pointer to it. 18111294Sswallace112 COMPAT BSD { int sigstack(struct sigstack *nss, \ 18211294Sswallace struct sigstack *oss); } 18311294Sswallace113 COMPAT BSD { int recvmsg(int s, struct omsghdr *msg, int flags); } 18411294Sswallace114 COMPAT BSD { int sendmsg(int s, caddr_t msg, int flags); } 18511294Sswallace115 OBSOL NOHIDE vtrace 18611294Sswallace116 STD BSD { int gettimeofday(struct timeval *tp, \ 18711294Sswallace struct timezone *tzp); } 18811294Sswallace117 STD BSD { int getrusage(int who, struct rusage *rusage); } 18911294Sswallace118 STD BSD { int getsockopt(int s, int level, int name, \ 19011294Sswallace caddr_t val, int *avalsize); } 19114215Speter119 UNIMPL NOHIDE resuba (BSD/OS 2.x) 19211294Sswallace120 STD BSD { int readv(int fd, struct iovec *iovp, u_int iovcnt); } 19311294Sswallace121 STD BSD { int writev(int fd, struct iovec *iovp, \ 19411294Sswallace u_int iovcnt); } 19511294Sswallace122 STD BSD { int settimeofday(struct timeval *tv, \ 19611294Sswallace struct timezone *tzp); } 19711294Sswallace123 STD BSD { int fchown(int fd, int uid, int gid); } 19811294Sswallace124 STD BSD { int fchmod(int fd, int mode); } 19911330Sswallace125 CPT_NOA BSD { int recvfrom(int s, caddr_t buf, size_t len, \ 20011294Sswallace int flags, caddr_t from, int *fromlenaddr); } \ 20111294Sswallace recvfrom recvfrom_args int 20211294Sswallace126 STD BSD { int setreuid(int ruid, int euid); } 20311294Sswallace127 STD BSD { int setregid(int rgid, int egid); } 20411294Sswallace128 STD POSIX { int rename(char *from, char *to); } 20511294Sswallace129 COMPAT BSD { int truncate(char *path, long length); } 20611294Sswallace130 COMPAT BSD { int ftruncate(int fd, long length); } 20711294Sswallace131 STD BSD { int flock(int fd, int how); } 20811294Sswallace132 STD POSIX { int mkfifo(char *path, int mode); } 20911294Sswallace133 STD BSD { int sendto(int s, caddr_t buf, size_t len, \ 21011294Sswallace int flags, caddr_t to, int tolen); } 21111294Sswallace134 STD BSD { int shutdown(int s, int how); } 21211294Sswallace135 STD BSD { int socketpair(int domain, int type, int protocol, \ 21311294Sswallace int *rsv); } 21411294Sswallace136 STD POSIX { int mkdir(char *path, int mode); } 21511294Sswallace137 STD POSIX { int rmdir(char *path); } 21611294Sswallace138 STD BSD { int utimes(char *path, struct timeval *tptr); } 21711294Sswallace139 OBSOL NOHIDE 4.2 sigreturn 21811294Sswallace140 STD BSD { int adjtime(struct timeval *delta, \ 21911294Sswallace struct timeval *olddelta); } 22011294Sswallace141 COMPAT BSD { int getpeername(int fdes, caddr_t asa, int *alen); } 22111294Sswallace142 COMPAT BSD { long gethostid(void); } 22211294Sswallace143 COMPAT BSD { int sethostid(long hostid); } 22311294Sswallace144 COMPAT BSD { int getrlimit(u_int which, struct ogetrlimit *rlp); } 22411294Sswallace145 COMPAT BSD { int setrlimit(u_int which, struct ogetrlimit *rlp); } 22511294Sswallace146 COMPAT BSD { int killpg(int pgid, int signum); } 22611294Sswallace147 STD POSIX { int setsid(void); } 22711294Sswallace148 STD BSD { int quotactl(char *path, int cmd, int uid, \ 22811294Sswallace caddr_t arg); } 22911294Sswallace149 COMPAT BSD { int quota(void); } 23011330Sswallace150 CPT_NOA BSD { int getsockname(int fdec, caddr_t asa, int *alen); }\ 23111330Sswallace getsockname getsockname_args int 2321541Srgrimes 2331541Srgrimes; Syscalls 151-180 inclusive are reserved for vendor-specific 2341541Srgrimes; system calls. (This includes various calls added for compatibity 2351541Srgrimes; with other Unix variants.) 2361541Srgrimes; Some of these calls are now supported by BSD... 23714215Speter151 UNIMPL NOHIDE sem_lock (BSD/OS 2.x) 23814215Speter152 UNIMPL NOHIDE sem_wakeup (BSD/OS 2.x) 23914215Speter153 UNIMPL NOHIDE asyncdaemon (BSD/OS 2.x) 24011294Sswallace154 UNIMPL NOHIDE nosys 2411541Srgrimes#ifdef NFS 24211294Sswallace155 STD BSD { int nfssvc(int flag, caddr_t argp); } 2431541Srgrimes#else 24411294Sswallace155 UNIMPL BSD nosys 2451541Srgrimes#endif 24611294Sswallace156 COMPAT BSD { int getdirentries(int fd, char *buf, u_int count, \ 24711294Sswallace long *basep); } 24811294Sswallace157 STD BSD { int statfs(char *path, struct statfs *buf); } 24911294Sswallace158 STD BSD { int fstatfs(int fd, struct statfs *buf); } 25011294Sswallace159 UNIMPL NOHIDE nosys 25111294Sswallace160 UNIMPL NOHIDE nosys 25213416Sphk#if defined(NFS) && !defined (NFS_NOSERVER) 25321776Sbde161 STD BSD { int getfh(char *fname, struct fhandle *fhp); } 2541541Srgrimes#else 25511294Sswallace161 UNIMPL BSD nosys 2561541Srgrimes#endif 25711294Sswallace162 STD BSD { int getdomainname(char *domainname, int len); } 25811294Sswallace163 STD BSD { int setdomainname(char *domainname, int len); } 25912216Sbde164 STD BSD { int uname(struct utsname *name); } 26011294Sswallace165 STD BSD { int sysarch(int op, char *parms); } 26111294Sswallace166 STD BSD { int rtprio(int function, pid_t pid, \ 26211294Sswallace struct rtprio *rtp); } 26311294Sswallace167 UNIMPL NOHIDE nosys 26411294Sswallace168 UNIMPL NOHIDE nosys 26511294Sswallace169 STD BSD { int semsys(int which, int a2, int a3, int a4, \ 26611294Sswallace int a5); } 26712216Sbde; XXX should be { int semsys(int which, ...); } 26811294Sswallace170 STD BSD { int msgsys(int which, int a2, int a3, int a4, \ 26911294Sswallace int a5, int a6); } 27012216Sbde; XXX should be { int msgsys(int which, ...); } 27111294Sswallace171 STD BSD { int shmsys(int which, int a2, int a3, int a4); } 27212216Sbde; XXX should be { int shmsys(int which, ...); } 27311294Sswallace172 UNIMPL NOHIDE nosys 27411294Sswallace173 UNIMPL NOHIDE nosys 27511294Sswallace174 UNIMPL NOHIDE nosys 27611294Sswallace175 UNIMPL NOHIDE nosys 27711294Sswallace176 STD BSD { int ntp_adjtime(struct timex *tp); } 27814215Speter177 UNIMPL NOHIDE sfork (BSD/OS 2.x) 27914215Speter178 UNIMPL NOHIDE getdescriptor (BSD/OS 2.x) 28014215Speter179 UNIMPL NOHIDE setdescriptor (BSD/OS 2.x) 28111294Sswallace180 UNIMPL NOHIDE nosys 2821541Srgrimes 2831541Srgrimes; Syscalls 180-199 are used by/reserved for BSD 28411294Sswallace181 STD POSIX { int setgid(gid_t gid); } 28511294Sswallace182 STD BSD { int setegid(gid_t egid); } 28611294Sswallace183 STD BSD { int seteuid(uid_t euid); } 2871541Srgrimes#ifdef LFS 28821776Sbde184 STD BSD { int lfs_bmapv(struct fsid **fsidp, \ 28911294Sswallace struct block_info *blkiov, int blkcnt); } 29021776Sbde185 STD BSD { int lfs_markv(struct fsid **fsidp, \ 29111294Sswallace struct block_info *blkiov, int blkcnt); } 29221776Sbde186 STD BSD { int lfs_segclean(struct fsid **fsidp, \ 29321776Sbde u_long segment); } 29421776Sbde187 STD BSD { int lfs_segwait(struct fsid **fsidp, \ 29521776Sbde struct timeval *tv); } 2961541Srgrimes#else 29711294Sswallace184 UNIMPL BSD nosys 29811294Sswallace185 UNIMPL BSD nosys 29911294Sswallace186 UNIMPL BSD nosys 30011294Sswallace187 UNIMPL BSD nosys 3011541Srgrimes#endif 30211294Sswallace188 STD POSIX { int stat(char *path, struct stat *ub); } 30311294Sswallace189 STD POSIX { int fstat(int fd, struct stat *sb); } 30411294Sswallace190 STD POSIX { int lstat(char *path, struct stat *ub); } 30511294Sswallace191 STD POSIX { int pathconf(char *path, int name); } 30611294Sswallace192 STD POSIX { int fpathconf(int fd, int name); } 30711294Sswallace193 UNIMPL NOHIDE nosys 30811294Sswallace194 STD BSD { int getrlimit(u_int which, \ 30911330Sswallace struct orlimit *rlp); } \ 31011294Sswallace getrlimit __getrlimit_args int 31111294Sswallace195 STD BSD { int setrlimit(u_int which, \ 31211330Sswallace struct orlimit *rlp); } \ 31311294Sswallace setrlimit __setrlimit_args int 31411294Sswallace196 STD BSD { int getdirentries(int fd, char *buf, u_int count, \ 31511294Sswallace long *basep); } 31611294Sswallace197 STD BSD { caddr_t mmap(caddr_t addr, size_t len, int prot, \ 31711294Sswallace int flags, int fd, long pad, off_t pos); } 31811294Sswallace198 STD NOHIDE { int nosys(void); } __syscall __syscall_args int 31911294Sswallace199 STD POSIX { off_t lseek(int fd, int pad, off_t offset, \ 32011294Sswallace int whence); } 32111294Sswallace200 STD BSD { int truncate(char *path, int pad, off_t length); } 32211294Sswallace201 STD BSD { int ftruncate(int fd, int pad, off_t length); } 32311294Sswallace202 STD BSD { int __sysctl(int *name, u_int namelen, void *old, \ 32411294Sswallace size_t *oldlenp, void *new, size_t newlen); } \ 32511294Sswallace __sysctl sysctl_args int 3262696Swollman; properly, __sysctl should be a NOHIDE, but making an exception 3272696Swollman; here allows to avoid one in libc/sys/Makefile.inc. 32811294Sswallace203 STD BSD { int mlock(caddr_t addr, size_t len); } 32911294Sswallace204 STD BSD { int munlock(caddr_t addr, size_t len); } 33018398Sphk205 STD BSD { int utrace(caddr_t addr, size_t len); } 33111294Sswallace206 UNIMPL NOHIDE nosys 33211294Sswallace207 UNIMPL NOHIDE nosys 33311294Sswallace208 UNIMPL NOHIDE nosys 33411294Sswallace209 UNIMPL NOHIDE nosys 3352124Sdg 3362124Sdg; 3372124Sdg; The following are reserved for loadable syscalls 3382124Sdg; 33911294Sswallace210 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34011294Sswallace211 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34111294Sswallace212 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34211294Sswallace213 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34311294Sswallace214 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34411294Sswallace215 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34511294Sswallace216 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34611294Sswallace217 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34711294Sswallace218 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34811294Sswallace219 NODEF NOHIDE lkmnosys lkmnosys nosys_args int 34912864Speter 35012864Speter; 35114215Speter; The following were introduced with NetBSD/4.4Lite-2 35212864Speter; 35312864Speter220 STD BSD { int __semctl(int semid, int semnum, int cmd, \ 35412864Speter union semun *arg); } 35512864Speter221 STD BSD { int semget(key_t key, int nsems, int semflg); } 35612864Speter222 STD BSD { int semop(int semid, struct sembuf *sops, \ 35712864Speter u_int nsops); } 35812864Speter223 STD BSD { int semconfig(int flag); } 35912864Speter224 STD BSD { int msgctl(int msqid, int cmd, \ 36012864Speter struct msqid_ds *buf); } 36112864Speter225 STD BSD { int msgget(key_t key, int msgflg); } 36212864Speter226 STD BSD { int msgsnd(int msqid, void *msgp, size_t msgsz, \ 36312864Speter int msgflg); } 36412864Speter227 STD BSD { int msgrcv(int msqid, void *msgp, size_t msgsz, \ 36512864Speter long msgtyp, int msgflg); } 36612864Speter228 STD BSD { int shmat(int shmid, void *shmaddr, int shmflg); } 36712864Speter229 STD BSD { int shmctl(int shmid, int cmd, \ 36812864Speter struct shmid_ds *buf); } 36912864Speter230 STD BSD { int shmdt(void *shmaddr); } 37012864Speter231 STD BSD { int shmget(key_t key, int size, int shmflg); } 37114219Speter; 37214219Speter232 UNIMPL NOHIDE nosys 37314219Speter233 UNIMPL NOHIDE nosys 37414219Speter234 UNIMPL NOHIDE nosys 37514219Speter235 UNIMPL NOHIDE nosys 37614219Speter236 UNIMPL NOHIDE nosys 37714219Speter237 UNIMPL NOHIDE nosys 37814219Speter238 UNIMPL NOHIDE nosys 37914219Speter239 UNIMPL NOHIDE nosys 38014219Speter240 UNIMPL NOHIDE nosys 38114219Speter241 UNIMPL NOHIDE nosys 38214219Speter242 UNIMPL NOHIDE nosys 38314219Speter243 UNIMPL NOHIDE nosys 38414219Speter244 UNIMPL NOHIDE nosys 38514219Speter245 UNIMPL NOHIDE nosys 38614219Speter246 UNIMPL NOHIDE nosys 38714219Speter247 UNIMPL NOHIDE nosys 38814219Speter248 UNIMPL NOHIDE nosys 38914219Speter249 UNIMPL NOHIDE nosys 39014219Speter; syscall numbers initially used in OpenBSD 39114219Speter250 STD BSD { int minherit(caddr_t addr, size_t len, int inherit); } 39214219Speter251 STD BSD { int rfork(int flags); } 393