syscalls.master revision 1.88
1 $NetBSD: syscalls.master,v 1.88 1999/02/10 18:02:28 kleink Exp $ 2 3; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 4 5; NetBSD system call name/number "master" file. 6; (See syscalls.conf to see what it is processed into.) 7; 8; Fields: number type [type-dependent ...] 9; number system call number, must be in order 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 11; the compatibility options defined in syscalls.conf. 12; 13; types: 14; STD always included 15; OBSOL obsolete, not included in system 16; UNIMPL unimplemented, not included in system 17; NODEF included, but don't define the syscall number 18; NOARGS included, but don't define the syscall args structure 19; INDIR included, but don't define the syscall args structure, 20; and allow it to be "really" varargs. 21; 22; The compat options are defined in the syscalls.conf file, and the 23; compat option name is prefixed to the syscall name. Other than 24; that, they're like NODEF (for 'compat' options), or STD (for 25; 'libcompat' options). 26; 27; The type-dependent arguments are as follows: 28; For STD, NODEF, NOARGS, and compat syscalls: 29; { pseudo-proto } [alias] 30; For other syscalls: 31; [comment] 32; 33; #ifdef's, etc. may be included, and are copied to the output files. 34; #include's are copied to the syscall names and switch definition files only. 35 36#include "opt_ktrace.h" 37#include "opt_nfsserver.h" 38#include "opt_compat_netbsd.h" 39#include "opt_sysv.h" 40#include "opt_compat_43.h" 41 42#include "fs_lfs.h" 43#include "fs_nfs.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/signal.h> 48#include <sys/mount.h> 49#include <sys/syscallargs.h> 50 51; Reserved/unimplemented system calls in the range 0-150 inclusive 52; are reserved for use in future Berkeley releases. 53; Additional system calls implemented in vendor and other 54; redistributions should be placed in the reserved range at the end 55; of the current calls. 56 570 INDIR { int sys_syscall(int number, ...); } 581 STD { void sys_exit(int rval); } 592 STD { int sys_fork(void); } 603 STD { ssize_t sys_read(int fd, void *buf, size_t nbyte); } 614 STD { ssize_t sys_write(int fd, const void *buf, \ 62 size_t nbyte); } 635 STD { int sys_open(const char *path, \ 64 int flags, ... mode_t mode); } 656 STD { int sys_close(int fd); } 667 STD { int sys_wait4(int pid, int *status, int options, \ 67 struct rusage *rusage); } 688 COMPAT_43 { int sys_creat(const char *path, mode_t mode); } ocreat 699 STD { int sys_link(const char *path, const char *link); } 7010 STD { int sys_unlink(const char *path); } 7111 OBSOL execv 7212 STD { int sys_chdir(const char *path); } 7313 STD { int sys_fchdir(int fd); } 7414 STD { int sys_mknod(const char *path, mode_t mode, \ 75 dev_t dev); } 7615 STD { int sys_chmod(const char *path, mode_t mode); } 7716 STD { int sys_chown(const char *path, uid_t uid, \ 78 gid_t gid); } 7917 STD { int sys_obreak(char *nsize); } break 8018 STD { int sys_getfsstat(struct statfs *buf, long bufsize, \ 81 int flags); } 8219 COMPAT_43 { long sys_lseek(int fd, long offset, int whence); } \ 83 olseek 8420 STD { pid_t sys_getpid(void); } 8521 STD { int sys_mount(const char *type, const char *path, \ 86 int flags, void *data); } 8722 STD { int sys_unmount(const char *path, int flags); } 8823 STD { int sys_setuid(uid_t uid); } 8924 STD { uid_t sys_getuid(void); } 9025 STD { uid_t sys_geteuid(void); } 9126 STD { int sys_ptrace(int req, pid_t pid, caddr_t addr, \ 92 int data); } 9327 STD { ssize_t sys_recvmsg(int s, struct msghdr *msg, \ 94 int flags); } 9528 STD { ssize_t sys_sendmsg(int s, \ 96 const struct msghdr *msg, int flags); } 9729 STD { ssize_t sys_recvfrom(int s, void *buf, size_t len, \ 98 int flags, struct sockaddr *from, \ 99 unsigned int *fromlenaddr); } 10030 STD { int sys_accept(int s, struct sockaddr *name, \ 101 unsigned int *anamelen); } 10231 STD { int sys_getpeername(int fdes, struct sockaddr *asa, \ 103 unsigned int *alen); } 10432 STD { int sys_getsockname(int fdes, struct sockaddr *asa, \ 105 unsigned int *alen); } 10633 STD { int sys_access(const char *path, int flags); } 10734 STD { int sys_chflags(const char *path, u_long flags); } 10835 STD { int sys_fchflags(int fd, u_long flags); } 10936 STD { void sys_sync(void); } 11037 STD { int sys_kill(int pid, int signum); } 11138 COMPAT_43 { int sys_stat(const char *path, struct stat43 *ub); } \ 112 stat43 11339 STD { pid_t sys_getppid(void); } 11440 COMPAT_43 { int sys_lstat(const char *path, \ 115 struct stat43 *ub); } lstat43 11641 STD { int sys_dup(int fd); } 11742 STD { int sys_pipe(void); } 11843 STD { gid_t sys_getegid(void); } 11944 STD { int sys_profil(caddr_t samples, size_t size, \ 120 u_long offset, u_int scale); } 121#ifdef KTRACE 12245 STD { int sys_ktrace(const char *fname, int ops, \ 123 int facs, int pid); } 124#else 12545 UNIMPL ktrace 126#endif 12746 COMPAT_13 { int sys_sigaction(int signum, \ 128 const struct sigaction13 *nsa, \ 129 struct sigaction13 *osa); } sigaction13 13047 STD { gid_t sys_getgid(void); } 13148 COMPAT_13 { int sys_sigprocmask(int how, \ 132 int mask); } sigprocmask13 13349 STD { int sys___getlogin(char *namebuf, u_int namelen); } 13450 STD { int sys_setlogin(const char *namebuf); } 13551 STD { int sys_acct(const char *path); } 13652 COMPAT_13 { int sys_sigpending(void); } sigpending13 13753 COMPAT_13 { int sys_sigaltstack( \ 138 const struct sigaltstack13 *nss, \ 139 struct sigaltstack13 *oss); } sigaltstack13 14054 STD { int sys_ioctl(int fd, \ 141 u_long com, ... void *data); } 14255 COMPAT_12 { int sys_reboot(int opt); } oreboot 14356 STD { int sys_revoke(const char *path); } 14457 STD { int sys_symlink(const char *path, \ 145 const char *link); } 14658 STD { int sys_readlink(const char *path, char *buf, \ 147 size_t count); } 14859 STD { int sys_execve(const char *path, \ 149 char * const *argp, char * const *envp); } 15060 STD { mode_t sys_umask(mode_t newmask); } 15161 STD { int sys_chroot(const char *path); } 15262 COMPAT_43 { int sys_fstat(int fd, struct stat43 *sb); } fstat43 15363 COMPAT_43 { int sys_getkerninfo(int op, char *where, int *size, \ 154 int arg); } ogetkerninfo 15564 COMPAT_43 { int sys_getpagesize(void); } ogetpagesize 15665 COMPAT_12 { int sys_msync(caddr_t addr, size_t len); } 157; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? 15866 STD { int sys_vfork(void); } 15967 OBSOL vread 16068 OBSOL vwrite 16169 STD { int sys_sbrk(int incr); } 16270 STD { int sys_sstk(int incr); } 16371 COMPAT_43 { int sys_mmap(caddr_t addr, size_t len, int prot, \ 164 int flags, int fd, long pos); } ommap 16572 STD { int sys_ovadvise(int anom); } vadvise 16673 STD { int sys_munmap(void *addr, size_t len); } 16774 STD { int sys_mprotect(void *addr, size_t len, \ 168 int prot); } 16975 STD { int sys_madvise(void *addr, size_t len, \ 170 int behav); } 17176 OBSOL vhangup 17277 OBSOL vlimit 17378 STD { int sys_mincore(caddr_t addr, size_t len, \ 174 char *vec); } 17579 STD { int sys_getgroups(int gidsetsize, \ 176 gid_t *gidset); } 17780 STD { int sys_setgroups(int gidsetsize, \ 178 const gid_t *gidset); } 17981 STD { int sys_getpgrp(void); } 18082 STD { int sys_setpgid(int pid, int pgid); } 18183 STD { int sys_setitimer(int which, \ 182 const struct itimerval *itv, \ 183 struct itimerval *oitv); } 18484 COMPAT_43 { int sys_wait(void); } owait 18585 COMPAT_12 { int sys_swapon(const char *name); } oswapon 18686 STD { int sys_getitimer(int which, \ 187 struct itimerval *itv); } 18887 COMPAT_43 { int sys_gethostname(char *hostname, u_int len); } \ 189 ogethostname 19088 COMPAT_43 { int sys_sethostname(char *hostname, u_int len); } \ 191 osethostname 19289 COMPAT_43 { int sys_getdtablesize(void); } ogetdtablesize 19390 STD { int sys_dup2(int from, int to); } 19491 UNIMPL getdopt 19592 STD { int sys_fcntl(int fd, int cmd, ... void *arg); } 19693 STD { int sys_select(int nd, fd_set *in, fd_set *ou, \ 197 fd_set *ex, struct timeval *tv); } 19894 UNIMPL setdopt 19995 STD { int sys_fsync(int fd); } 20096 STD { int sys_setpriority(int which, int who, int prio); } 20197 STD { int sys_socket(int domain, int type, int protocol); } 20298 STD { int sys_connect(int s, const struct sockaddr *name, \ 203 unsigned int namelen); } 20499 COMPAT_43 { int sys_accept(int s, caddr_t name, \ 205 int *anamelen); } oaccept 206100 STD { int sys_getpriority(int which, int who); } 207101 COMPAT_43 { int sys_send(int s, caddr_t buf, int len, \ 208 int flags); } osend 209102 COMPAT_43 { int sys_recv(int s, caddr_t buf, int len, \ 210 int flags); } orecv 211103 COMPAT_13 { int sys_sigreturn(struct sigcontext13 *sigcntxp); } \ 212 sigreturn13 213104 STD { int sys_bind(int s, const struct sockaddr *name, \ 214 unsigned int namelen); } 215105 STD { int sys_setsockopt(int s, int level, int name, \ 216 const void *val, unsigned int valsize); } 217106 STD { int sys_listen(int s, int backlog); } 218107 OBSOL vtimes 219108 COMPAT_43 { int sys_sigvec(int signum, struct sigvec *nsv, \ 220 struct sigvec *osv); } osigvec 221109 COMPAT_43 { int sys_sigblock(int mask); } osigblock 222110 COMPAT_43 { int sys_sigsetmask(int mask); } osigsetmask 223111 COMPAT_13 { int sys_sigsuspend(int mask); } sigsuspend13 224112 COMPAT_43 { int sys_sigstack(struct sigstack *nss, \ 225 struct sigstack *oss); } osigstack 226113 COMPAT_43 { int sys_recvmsg(int s, struct omsghdr *msg, \ 227 int flags); } orecvmsg 228114 COMPAT_43 { int sys_sendmsg(int s, caddr_t msg, int flags); } \ 229 osendmsg 230#ifdef TRACE 231115 STD { int sys_vtrace(int request, int value); } 232#else 233115 OBSOL vtrace 234#endif 235116 STD { int sys_gettimeofday(struct timeval *tp, \ 236 struct timezone *tzp); } 237117 STD { int sys_getrusage(int who, struct rusage *rusage); } 238118 STD { int sys_getsockopt(int s, int level, int name, \ 239 void *val, unsigned int *avalsize); } 240119 OBSOL resuba 241120 STD { ssize_t sys_readv(int fd, \ 242 const struct iovec *iovp, int iovcnt); } 243121 STD { ssize_t sys_writev(int fd, \ 244 const struct iovec *iovp, int iovcnt); } 245122 STD { int sys_settimeofday(const struct timeval *tv, \ 246 const struct timezone *tzp); } 247123 STD { int sys_fchown(int fd, uid_t uid, gid_t gid); } 248124 STD { int sys_fchmod(int fd, mode_t mode); } 249125 COMPAT_43 { int sys_recvfrom(int s, caddr_t buf, size_t len, \ 250 int flags, caddr_t from, int *fromlenaddr); } \ 251 orecvfrom 252126 STD { int sys_setreuid(uid_t ruid, uid_t euid); } 253127 STD { int sys_setregid(gid_t rgid, gid_t egid); } 254128 STD { int sys_rename(const char *from, const char *to); } 255129 COMPAT_43 { int sys_truncate(const char *path, long length); } \ 256 otruncate 257130 COMPAT_43 { int sys_ftruncate(int fd, long length); } oftruncate 258131 STD { int sys_flock(int fd, int how); } 259132 STD { int sys_mkfifo(const char *path, mode_t mode); } 260133 STD { ssize_t sys_sendto(int s, const void *buf, \ 261 size_t len, int flags, const struct sockaddr *to, \ 262 unsigned int tolen); } 263134 STD { int sys_shutdown(int s, int how); } 264135 STD { int sys_socketpair(int domain, int type, \ 265 int protocol, int *rsv); } 266136 STD { int sys_mkdir(const char *path, mode_t mode); } 267137 STD { int sys_rmdir(const char *path); } 268138 STD { int sys_utimes(const char *path, \ 269 const struct timeval *tptr); } 270139 OBSOL 4.2 sigreturn 271140 STD { int sys_adjtime(const struct timeval *delta, \ 272 struct timeval *olddelta); } 273141 COMPAT_43 { int sys_getpeername(int fdes, caddr_t asa, \ 274 int *alen); } ogetpeername 275142 COMPAT_43 { int32_t sys_gethostid(void); } ogethostid 276143 COMPAT_43 { int sys_sethostid(int32_t hostid); } osethostid 277144 COMPAT_43 { int sys_getrlimit(int which, \ 278 struct orlimit *rlp); } ogetrlimit 279145 COMPAT_43 { int sys_setrlimit(int which, \ 280 const struct orlimit *rlp); } osetrlimit 281146 COMPAT_43 { int sys_killpg(int pgid, int signum); } okillpg 282147 STD { int sys_setsid(void); } 283148 STD { int sys_quotactl(const char *path, int cmd, \ 284 int uid, caddr_t arg); } 285149 COMPAT_43 { int sys_quota(void); } oquota 286150 COMPAT_43 { int sys_getsockname(int fdec, caddr_t asa, \ 287 int *alen); } ogetsockname 288 289; Syscalls 151-180 inclusive are reserved for vendor-specific 290; system calls. (This includes various calls added for compatibity 291; with other Unix variants.) 292; Some of these calls are now supported by BSD... 293151 UNIMPL 294152 UNIMPL 295153 UNIMPL 296154 UNIMPL 297#if defined(NFS) || defined(NFSSERVER) 298155 STD { int sys_nfssvc(int flag, void *argp); } 299#else 300155 UNIMPL 301#endif 302156 COMPAT_43 { int sys_getdirentries(int fd, char *buf, \ 303 u_int count, long *basep); } ogetdirentries 304157 STD { int sys_statfs(const char *path, \ 305 struct statfs *buf); } 306158 STD { int sys_fstatfs(int fd, struct statfs *buf); } 307159 UNIMPL 308160 UNIMPL 309#if defined(NFS) || defined(NFSSERVER) 310161 STD { int sys_getfh(const char *fname, fhandle_t *fhp); } 311#else 312161 UNIMPL getfh 313#endif 314162 COMPAT_09 { int sys_getdomainname(char *domainname, int len); } \ 315 ogetdomainname 316163 COMPAT_09 { int sys_setdomainname(char *domainname, int len); } \ 317 osetdomainname 318164 COMPAT_09 { int sys_uname(struct outsname *name); } ouname 319165 STD { int sys_sysarch(int op, void *parms); } 320166 UNIMPL 321167 UNIMPL 322168 UNIMPL 323; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 324#if defined(SYSVSEM) && !defined(alpha) 325169 COMPAT_10 { int sys_semsys(int which, int a2, int a3, int a4, \ 326 int a5); } osemsys 327#else 328169 UNIMPL 1.0 semsys 329#endif 330; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 331#if defined(SYSVMSG) && !defined(alpha) 332170 COMPAT_10 { int sys_msgsys(int which, int a2, int a3, int a4, \ 333 int a5, int a6); } omsgsys 334#else 335170 UNIMPL 1.0 msgsys 336#endif 337; XXX more generally, never on machines where sizeof(void *) != sizeof(int) 338#if defined(SYSVSHM) && !defined(alpha) 339171 COMPAT_10 { int sys_shmsys(int which, int a2, int a3, int a4); } \ 340 oshmsys 341#else 342171 UNIMPL 1.0 shmsys 343#endif 344172 UNIMPL 345173 STD { ssize_t sys_pread(int fd, void *buf, \ 346 size_t nbyte, int pad, off_t offset); } 347174 STD { ssize_t sys_pwrite(int fd, const void *buf, \ 348 size_t nbyte, int pad, off_t offset); } 349175 STD { int sys_ntp_gettime(struct ntptimeval *ntvp); } 350176 STD { int sys_ntp_adjtime(struct timex *tp); } 351177 UNIMPL 352178 UNIMPL 353179 UNIMPL 354180 UNIMPL 355 356; Syscalls 180-199 are used by/reserved for BSD 357181 STD { int sys_setgid(gid_t gid); } 358182 STD { int sys_setegid(gid_t egid); } 359183 STD { int sys_seteuid(uid_t euid); } 360#ifdef LFS 361184 STD { int lfs_bmapv(fsid_t *fsidp, \ 362 struct block_info *blkiov, int blkcnt); } 363185 STD { int lfs_markv(fsid_t *fsidp, \ 364 struct block_info *blkiov, int blkcnt); } 365186 STD { int lfs_segclean(fsid_t *fsidp, u_long segment); } 366187 STD { int lfs_segwait(fsid_t *fsidp, struct timeval *tv); } 367#else 368184 UNIMPL 369185 UNIMPL 370186 UNIMPL 371187 UNIMPL 372#endif 373188 COMPAT_12 { int sys_stat(const char *path, struct stat12 *ub); } \ 374 stat12 375189 COMPAT_12 { int sys_fstat(int fd, struct stat12 *sb); } fstat12 376190 COMPAT_12 { int sys_lstat(const char *path, \ 377 struct stat12 *ub); } lstat12 378191 STD { long sys_pathconf(const char *path, int name); } 379192 STD { long sys_fpathconf(int fd, int name); } 380193 UNIMPL 381194 STD { int sys_getrlimit(int which, \ 382 struct rlimit *rlp); } 383195 STD { int sys_setrlimit(int which, \ 384 const struct rlimit *rlp); } 385196 COMPAT_12 { int sys_getdirentries(int fd, char *buf, \ 386 u_int count, long *basep); } 387197 STD { void *sys_mmap(void *addr, size_t len, int prot, \ 388 int flags, int fd, long pad, off_t pos); } 389198 INDIR { quad_t sys___syscall(quad_t num, ...); } 390199 STD { off_t sys_lseek(int fd, int pad, off_t offset, \ 391 int whence); } 392200 STD { int sys_truncate(const char *path, int pad, \ 393 off_t length); } 394201 STD { int sys_ftruncate(int fd, int pad, off_t length); } 395202 STD { int sys___sysctl(int *name, u_int namelen, \ 396 void *old, size_t *oldlenp, void *new, \ 397 size_t newlen); } 398203 STD { int sys_mlock(const void *addr, size_t len); } 399204 STD { int sys_munlock(const void *addr, size_t len); } 400205 STD { int sys_undelete(const char *path); } 401206 STD { int sys_futimes(int fd, \ 402 const struct timeval *tptr); } 403207 STD { pid_t sys_getpgid(pid_t pid); } 404208 STD { int sys_reboot(int opt, char *bootstr); } 405209 STD { int sys_poll(struct pollfd *fds, u_int nfds, \ 406 int timeout); } 407; 408; Syscalls 210-219 are reserved for dynamically loaded syscalls 409; 410#ifdef LKM 411210 NODEF { int sys_lkmnosys(void); } 412211 NODEF { int sys_lkmnosys(void); } 413212 NODEF { int sys_lkmnosys(void); } 414213 NODEF { int sys_lkmnosys(void); } 415214 NODEF { int sys_lkmnosys(void); } 416215 NODEF { int sys_lkmnosys(void); } 417216 NODEF { int sys_lkmnosys(void); } 418217 NODEF { int sys_lkmnosys(void); } 419218 NODEF { int sys_lkmnosys(void); } 420219 NODEF { int sys_lkmnosys(void); } 421#else /* !LKM */ 422210 UNIMPL 423211 UNIMPL 424212 UNIMPL 425213 UNIMPL 426214 UNIMPL 427215 UNIMPL 428216 UNIMPL 429217 UNIMPL 430218 UNIMPL 431219 UNIMPL 432#endif /* !LKM */ 433; System calls 220-300 are reserved for use by NetBSD 434#ifdef SYSVSEM 435220 STD { int sys___semctl(int semid, int semnum, int cmd, \ 436 union semun *arg); } 437221 STD { int sys_semget(key_t key, int nsems, int semflg); } 438222 STD { int sys_semop(int semid, struct sembuf *sops, \ 439 size_t nsops); } 440223 STD { int sys_semconfig(int flag); } 441#else 442220 UNIMPL semctl 443221 UNIMPL semget 444222 UNIMPL semop 445223 UNIMPL semconfig 446#endif 447#ifdef SYSVMSG 448224 STD { int sys_msgctl(int msqid, int cmd, \ 449 struct msqid_ds *buf); } 450225 STD { int sys_msgget(key_t key, int msgflg); } 451226 STD { int sys_msgsnd(int msqid, const void *msgp, \ 452 size_t msgsz, int msgflg); } 453227 STD { ssize_t sys_msgrcv(int msqid, void *msgp, \ 454 size_t msgsz, long msgtyp, int msgflg); } 455#else 456224 UNIMPL msgctl 457225 UNIMPL msgget 458226 UNIMPL msgsnd 459227 UNIMPL msgrcv 460#endif 461#ifdef SYSVSHM 462228 STD { void *sys_shmat(int shmid, const void *shmaddr, \ 463 int shmflg); } 464229 STD { int sys_shmctl(int shmid, int cmd, \ 465 struct shmid_ds *buf); } 466230 STD { int sys_shmdt(const void *shmaddr); } 467231 STD { int sys_shmget(key_t key, size_t size, int shmflg); } 468#else 469228 UNIMPL shmat 470229 UNIMPL shmctl 471230 UNIMPL shmdt 472231 UNIMPL shmget 473#endif 474232 STD { int sys_clock_gettime(clockid_t clock_id, \ 475 struct timespec *tp); } 476233 STD { int sys_clock_settime(clockid_t clock_id, \ 477 const struct timespec *tp); } 478234 STD { int sys_clock_getres(clockid_t clock_id, \ 479 struct timespec *tp); } 480235 UNIMPL timer_create 481236 UNIMPL timer_delete 482237 UNIMPL timer_settime 483238 UNIMPL timer_gettime 484239 UNIMPL timer_getoverrun 485; 486; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls 487; 488240 STD { int sys_nanosleep(const struct timespec *rqtp, \ 489 struct timespec *rmtp); } 490241 STD { int sys_fdatasync(int fd); } 491242 UNIMPL 492243 UNIMPL 493244 UNIMPL 494245 UNIMPL 495246 UNIMPL 496247 UNIMPL 497248 UNIMPL 498249 UNIMPL 499250 UNIMPL 500251 UNIMPL 501252 UNIMPL 502253 UNIMPL 503254 UNIMPL 504255 UNIMPL 505256 UNIMPL 506257 UNIMPL 507258 UNIMPL 508259 UNIMPL 509260 UNIMPL 510261 UNIMPL 511262 UNIMPL 512263 UNIMPL 513264 UNIMPL 514265 UNIMPL 515266 UNIMPL 516267 UNIMPL 517268 UNIMPL 518269 UNIMPL 519270 STD { int sys___posix_rename(const char *from, \ 520 const char *to); } 521271 STD { int sys_swapctl(int cmd, const void *arg, int misc); } 522272 STD { int sys_getdents(int fd, char *buf, size_t count); } 523273 STD { int sys_minherit(void *addr, size_t len, \ 524 int inherit); } 525274 STD { int sys_lchmod(const char *path, mode_t mode); } 526275 STD { int sys_lchown(const char *path, uid_t uid, \ 527 gid_t gid); } 528276 STD { int sys_lutimes(const char *path, \ 529 const struct timeval *tptr); } 530277 STD { int sys___msync13(void *addr, size_t len, int flags); } 531278 STD { int sys___stat13(const char *path, struct stat *ub); } 532279 STD { int sys___fstat13(int fd, struct stat *sb); } 533280 STD { int sys___lstat13(const char *path, struct stat *ub); } 534281 STD { int sys___sigaltstack14( \ 535 const struct sigaltstack *nss, \ 536 struct sigaltstack *oss); } 537282 STD { int sys___vfork14(void); } 538283 STD { int sys___posix_chown(const char *path, uid_t uid, \ 539 gid_t gid); } 540284 STD { int sys___posix_fchown(int fd, uid_t uid, \ 541 gid_t gid); } 542285 STD { int sys___posix_lchown(const char *path, uid_t uid, \ 543 gid_t gid); } 544286 STD { pid_t sys_getsid(pid_t pid); } 545287 UNIMPL 546#ifdef KTRACE 547288 STD { int sys_fktrace(const int fd, int ops, \ 548 int facs, int pid); } 549#else 550288 UNIMPL 551#endif 552289 STD { ssize_t sys_preadv(int fd, \ 553 const struct iovec *iovp, int iovcnt, \ 554 int pad, off_t offset); } 555290 STD { ssize_t sys_pwritev(int fd, \ 556 const struct iovec *iovp, int iovcnt, \ 557 int pad, off_t offset); } 558291 STD { int sys___sigaction14(int signum, \ 559 const struct sigaction *nsa, \ 560 struct sigaction *osa); } 561292 STD { int sys___sigpending14(sigset_t *set); } 562293 STD { int sys___sigprocmask14(int how, \ 563 const sigset_t *set, \ 564 sigset_t *oset); } 565294 STD { int sys___sigsuspend14(const sigset_t *set); } 566295 STD { int sys___sigreturn14(struct sigcontext *sigcntxp); } 567