[BACK]Return to syscalls.master CVS log [TXT][DIR] Up to [local] / sys / compat / ibcs2

Annotation of sys/compat/ibcs2/syscalls.master, Revision 1.1

1.1     ! nbrk        1:        $OpenBSD: syscalls.master,v 1.8 2002/03/14 03:16:03 millert Exp $
        !             2: ;      $NetBSD: syscalls.master,v 1.10 1996/09/07 14:21:59 mycroft Exp $
        !             3:
        !             4: ;      @(#)syscalls.master     8.1 (Berkeley) 7/19/93
        !             5:
        !             6: ; NetBSD COMPAT_IBCS2 system call name/number "master" file.
        !             7: ; (See syscalls.conf to see what it is processed into.)
        !             8: ;
        !             9: ; Fields: number type [type-dependent ...]
        !            10: ;      number  system call number, must be in order
        !            11: ;      type    one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
        !            12: ;              the compatibility options defined in syscalls.conf.
        !            13: ;
        !            14: ; types:
        !            15: ;      STD     always included
        !            16: ;      OBSOL   obsolete, not included in system
        !            17: ;      UNIMPL  unimplemented, not included in system
        !            18: ;      NODEF   included, but don't define the syscall number
        !            19: ;      NOARGS  included, but don't define the syscall args structure
        !            20: ;
        !            21: ; The compat options are defined in the syscalls.conf file, and the
        !            22: ; compat option name is prefixed to the syscall name.  Other than
        !            23: ; that, they're like NODEF (for 'compat' options), or STD (for
        !            24: ; 'libcompat' options).
        !            25: ;
        !            26: ; The type-dependent arguments are as follows:
        !            27: ; For STD, NODEF, NOARGS, and compat syscalls:
        !            28: ;      { pseudo-proto } [alias]
        !            29: ; For other syscalls:
        !            30: ;      [comment]
        !            31: ;
        !            32: ; #ifdef's, etc. may be included, and are copied to the output files.
        !            33: ; #include's are copied to the syscall switch definition file only.
        !            34:
        !            35: #include <sys/param.h>
        !            36: #include <sys/systm.h>
        !            37: #include <sys/signal.h>
        !            38: #include <sys/mount.h>
        !            39: #include <sys/poll.h>
        !            40: #include <sys/syscallargs.h>
        !            41:
        !            42: #include <compat/ibcs2/ibcs2_types.h>
        !            43: #include <compat/ibcs2/ibcs2_signal.h>
        !            44: #include <compat/ibcs2/ibcs2_syscallargs.h>
        !            45: #include <compat/ibcs2/ibcs2_statfs.h>
        !            46:
        !            47: 0      NOARGS          { int sys_nosys(void); } syscall
        !            48: 1      NOARGS          { int sys_exit(int rval); }
        !            49: 2      NOARGS          { int sys_fork(void); }
        !            50: 3      STD             { int ibcs2_sys_read(int fd, char *buf, u_int nbytes); }
        !            51: 4      NOARGS          { int sys_write(int fd, char *buf, u_int nbytes); }
        !            52: 5      STD             { int ibcs2_sys_open(char *path, int flags, int mode); }
        !            53: 6      NOARGS          { int sys_close(int fd); }
        !            54: 7      STD             { int ibcs2_sys_waitsys(int a1, int a2, int a3); }
        !            55: 8      STD             { int ibcs2_sys_creat(char *path, int mode); }
        !            56: 9      NOARGS          { int sys_link(char *path, char *link); }
        !            57: 10     STD             { int ibcs2_sys_unlink(char *path); }
        !            58: 11     STD             { int ibcs2_sys_execv(char *path, char **argp); }
        !            59: 12     STD             { int ibcs2_sys_chdir(char *path); }
        !            60: 13     STD             { int ibcs2_sys_time(ibcs2_time_t *tp); }
        !            61: 14     STD             { int ibcs2_sys_mknod(char *path, int mode, int dev); }
        !            62: 15     STD             { int ibcs2_sys_chmod(char *path, int mode); }
        !            63: 16     STD             { int ibcs2_sys_chown(char *path, int uid, int gid); }
        !            64: 17     NOARGS          { int sys_obreak(caddr_t nsize); }
        !            65: 18     STD             { int ibcs2_sys_stat(char *path, \
        !            66:                            struct ibcs2_stat *st); }
        !            67: 19     NOARGS          { long compat_43_sys_lseek(int fd, long offset, \
        !            68:                            int whence); }
        !            69: 20     NOARGS          { pid_t sys_getpid(void); }
        !            70: 21     STD             { int ibcs2_sys_mount(char *special, char *dir, \
        !            71:                            int flags, int fstype, char *data, int len); }
        !            72: 22     STD             { int ibcs2_sys_umount(char *name); }
        !            73: 23     STD             { int ibcs2_sys_setuid(int uid); }
        !            74: 24     NOARGS          { uid_t sys_getuid(void); }
        !            75: 25     STD             { int ibcs2_sys_stime(long *timep); }
        !            76: 26     UNIMPL          ibcs2_ptrace
        !            77: 27     STD             { int ibcs2_sys_alarm(unsigned sec); }
        !            78: 28     STD             { int ibcs2_sys_fstat(int fd, struct ibcs2_stat *st); }
        !            79: 29     STD             { int ibcs2_sys_pause(void); }
        !            80: 30     STD             { int ibcs2_sys_utime(char *path, \
        !            81:                            struct ibcs2_utimbuf *buf); }
        !            82: 31     UNIMPL          was stty
        !            83: 32     UNIMPL          was gtty
        !            84: 33     STD             { int ibcs2_sys_access(char *path, int flags); }
        !            85: 34     STD             { int ibcs2_sys_nice(int incr); }
        !            86: 35     STD             { int ibcs2_sys_statfs(char *path, \
        !            87:                            struct ibcs2_statfs *buf, int len, int fstype); }
        !            88: 36     NOARGS          { int sys_sync(void); }
        !            89: 37     STD             { int ibcs2_sys_kill(int pid, int signo); }
        !            90: 38     STD             { int ibcs2_sys_fstatfs(int fd, \
        !            91:                            struct ibcs2_statfs *buf, int len, int fstype); }
        !            92: 39     STD             { int ibcs2_sys_pgrpsys(int type, caddr_t dummy, \
        !            93:                            int pid, int pgid); }
        !            94: 40     UNIMPL          ibcs2_xenix
        !            95: 41     NOARGS          { int sys_dup(u_int fd); }
        !            96: 42     NOARGS          { int sys_opipe(void); }
        !            97: 43     STD             { int ibcs2_sys_times(struct tms *tp); }
        !            98: 44     UNIMPL          profil
        !            99: 45     STD             { int ibcs2_sys_plock(int cmd); }
        !           100: 46     STD             { int ibcs2_sys_setgid(int gid); }
        !           101: 47     NOARGS          { gid_t sys_getgid(void); }
        !           102: 48     STD             { int ibcs2_sys_sigsys(int sig, ibcs2_sig_t fp); }
        !           103: #ifdef SYSVMSG
        !           104: 49     STD             { int ibcs2_sys_msgsys(int which, int a2, int a3, \
        !           105:                            int a4, int a5, int a6); }
        !           106: #else
        !           107: 49     UNIMPL          msgsys
        !           108: #endif
        !           109: 50     STD             { int ibcs2_sys_sysi86(int cmd, int arg); }
        !           110: 51     UNIMPL          ibcs2_acct
        !           111: #ifdef SYSVSHM
        !           112: 52     STD             { int ibcs2_sys_shmsys(int which, int a2, int a3, \
        !           113:                            int a4); }
        !           114: #else
        !           115: 52     UNIMPL          shmsys
        !           116: #endif
        !           117: #ifdef SYSVSEM
        !           118: 53     STD             { int ibcs2_sys_semsys(int which, int a2, int a3, \
        !           119:                            int a4, int a5); }
        !           120: #else
        !           121: 53     UNIMPL          semsys
        !           122: #endif
        !           123: 54     STD             { int ibcs2_sys_ioctl(int fd, int cmd, caddr_t data); }
        !           124: 55     STD             { int ibcs2_sys_uadmin(int cmd, int func, \
        !           125:                            caddr_t data); }
        !           126: 56     UNIMPL
        !           127: 57     STD             { int ibcs2_sys_utssys(int a1, int a2, int flag); }
        !           128: 58     UNIMPL
        !           129: 59     STD             { int ibcs2_sys_execve(char *path, char **argp, \
        !           130:                            char **envp); }
        !           131: 60     NOARGS          { int sys_umask(int newmask); }
        !           132: 61     NOARGS          { int sys_chroot(char *path); }
        !           133: 62     STD             { int ibcs2_sys_fcntl(int fd, int cmd, char *arg); }
        !           134: 63     STD             { long ibcs2_sys_ulimit(int cmd, int newlimit); }
        !           135: 64     UNIMPL          reserved for unix/pc
        !           136: 65     UNIMPL          reserved for unix/pc
        !           137: 66     UNIMPL          reserved for unix/pc
        !           138: 67     UNIMPL          reserved for unix/pc
        !           139: 68     UNIMPL          reserved for unix/pc
        !           140: 69     UNIMPL          reserved for unix/pc
        !           141: 70     OBSOL           rfs_advfs
        !           142: 71     OBSOL           rfs_unadvfs
        !           143: 72     OBSOL           rfs_rmount
        !           144: 73     OBSOL           rfs_rumount
        !           145: 74     OBSOL           rfs_rfstart
        !           146: 75     OBSOL           rfs_sigret
        !           147: 76     OBSOL           rfs_rdebug
        !           148: 77     OBSOL           rfs_rfstop
        !           149: 78     UNIMPL          rfs_rfsys
        !           150: 79     STD             { int ibcs2_sys_rmdir(char *path); }
        !           151: 80     STD             { int ibcs2_sys_mkdir(char *path, int mode); }
        !           152: 81     STD             { int ibcs2_sys_getdents(int fd, char *buf, \
        !           153:                            int nbytes); }
        !           154: 82     UNIMPL
        !           155: 83     UNIMPL
        !           156: 84     STD             { int ibcs2_sys_sysfs(int cmd, caddr_t d1, char *buf); }
        !           157: 85     STD             { int ibcs2_sys_getmsg(int fd, \
        !           158:                            struct ibcs2_stropts *ctl, \
        !           159:                            struct ibcs2_stropts *dat, int *flags); }
        !           160: 86     STD             { int ibcs2_sys_putmsg(int fd, \
        !           161:                            struct ibcs2_stropts *ctl, \
        !           162:                            struct ibcs2_stropts *dat, int flags); }
        !           163: 87     NOARGS          { int sys_poll(struct pollfd *fds, u_long nfds, \
        !           164:                            int timeout); }
        !           165: 88     UNIMPL
        !           166: 89     UNIMPL
        !           167: 90     STD             { int ibcs2_sys_symlink(char *path, char *link); }
        !           168: 91     STD             { int ibcs2_sys_lstat(char *path, \
        !           169:                            struct ibcs2_stat *st); }
        !           170: 92     STD             { int ibcs2_sys_readlink(char *path, char *buf, \
        !           171:                            int count); }
        !           172: 93     UNIMPL
        !           173: 94     UNIMPL
        !           174: 95     UNIMPL
        !           175: 96     UNIMPL
        !           176: 97     UNIMPL
        !           177: 98     UNIMPL
        !           178: 99     UNIMPL
        !           179: 100    UNIMPL
        !           180: 101    UNIMPL
        !           181: 102    UNIMPL
        !           182: 103    NOARGS          { int sys_sigreturn(struct sigcontext *sigcntxp); }
        !           183: 104    UNIMPL
        !           184: 105    UNIMPL
        !           185: 106    UNIMPL
        !           186: 107    UNIMPL
        !           187: 108    UNIMPL
        !           188: 109    UNIMPL
        !           189: 110    UNIMPL
        !           190: 111    UNIMPL
        !           191: 112    UNIMPL
        !           192: 113    UNIMPL
        !           193: 114    UNIMPL
        !           194: 115    UNIMPL
        !           195: 116    UNIMPL
        !           196: 117    UNIMPL
        !           197: 118    UNIMPL
        !           198: 119    UNIMPL
        !           199: 120    UNIMPL
        !           200: 121    UNIMPL
        !           201: 122    UNIMPL
        !           202: 123    UNIMPL
        !           203: 124    UNIMPL
        !           204: 125    UNIMPL
        !           205: 126    UNIMPL
        !           206: 127    UNIMPL
        !           207: 128    UNIMPL
        !           208: 129    UNIMPL          xenix_xlocking
        !           209: 130    UNIMPL          xenix_creatsem
        !           210: 131    UNIMPL          xenix_opensem
        !           211: 132    UNIMPL          xenix_sigsem
        !           212: 133    UNIMPL          xenix_waitsem
        !           213: 134    UNIMPL          xenix_nbwaitsem
        !           214: 135    STD             { int xenix_sys_rdchk(int fd); }
        !           215: 136    UNIMPL
        !           216: 137    UNIMPL
        !           217: 138    STD             { int xenix_sys_chsize(int fd, long size); }
        !           218: 139    STD             { int xenix_sys_ftime(struct xenix_timeb *tp); }
        !           219: 140    STD             { int xenix_sys_nap(int millisec); }
        !           220: 141    UNIMPL          xenix_sdget
        !           221: 142    UNIMPL          xenix_sdfree
        !           222: 143    UNIMPL          xenix_sdenter
        !           223: 144    UNIMPL          xenix_sdleave
        !           224: 145    UNIMPL          xenix_sdgetv
        !           225: 146    UNIMPL          xenix_sdwaitv
        !           226: 147    UNIMPL
        !           227: 148    UNIMPL
        !           228: 149    UNIMPL
        !           229: 150    UNIMPL
        !           230: 151    UNIMPL
        !           231: 152    UNIMPL
        !           232: 153    UNIMPL
        !           233: 154    UNIMPL
        !           234: 155    UNIMPL
        !           235: 156    UNIMPL
        !           236: 157    UNIMPL
        !           237: 158    UNIMPL
        !           238: 159    UNIMPL
        !           239: 160    UNIMPL          xenix_proctl
        !           240: 161    UNIMPL          xenix_execseg
        !           241: 162    UNIMPL          xenix_unexecseg
        !           242: 163    UNIMPL
        !           243: 164    NOARGS          { int sys_select(u_int nd, fd_set *in, fd_set *ou, \
        !           244:                            fd_set *ex, struct timeval *tv); }
        !           245: 165    STD             { int ibcs2_sys_eaccess(char *path, int flags); }
        !           246: 166    UNIMPL          xenix_paccess
        !           247: 167    STD             { int ibcs2_sys_sigaction(int signum, \
        !           248:                            struct ibcs2_sigaction *nsa, \
        !           249:                            struct ibcs2_sigaction *osa); }
        !           250: 168    STD             { int ibcs2_sys_sigprocmask(int how, \
        !           251:                            ibcs2_sigset_t *set, ibcs2_sigset_t *oset); }
        !           252: 169    STD             { int ibcs2_sys_sigpending(ibcs2_sigset_t *mask); }
        !           253: 170    STD             { int ibcs2_sys_sigsuspend(ibcs2_sigset_t *mask); }
        !           254: 171    STD             { int ibcs2_sys_getgroups(int gidsetsize, \
        !           255:                            ibcs2_gid_t *gidset); }
        !           256: 172    STD             { int ibcs2_sys_setgroups(int gidsetsize, \
        !           257:                            ibcs2_gid_t *gidset); }
        !           258: 173    STD             { int ibcs2_sys_sysconf(int name); }
        !           259: 174    STD             { int ibcs2_sys_pathconf(char *path, int name); }
        !           260: 175    STD             { int ibcs2_sys_fpathconf(int fd, int name); }
        !           261: 176    STD             { int ibcs2_sys_rename(char *from, char *to); }

CVSweb