[BACK]Return to sunos_syscallargs.h CVS log [TXT][DIR] Up to [local] / sys / compat / sunos

Annotation of sys/compat/sunos/sunos_syscallargs.h, Revision 1.1

1.1     ! nbrk        1: /*     $OpenBSD: sunos_syscallargs.h,v 1.19 2004/07/09 23:56:33 millert Exp $  */
        !             2:
        !             3: /*
        !             4:  * System call argument lists.
        !             5:  *
        !             6:  * DO NOT EDIT-- this file is automatically generated.
        !             7:  * created from        OpenBSD: syscalls.master,v 1.16 2004/07/09 23:52:02 millert Exp
        !             8:  */
        !             9:
        !            10: #ifdef syscallarg
        !            11: #undef syscallarg
        !            12: #endif
        !            13:
        !            14: #define        syscallarg(x)                                                   \
        !            15:        union {                                                         \
        !            16:                register_t pad;                                         \
        !            17:                struct { x datum; } le;                                 \
        !            18:                struct {                                                \
        !            19:                        int8_t pad[ (sizeof (register_t) < sizeof (x))  \
        !            20:                                ? 0                                     \
        !            21:                                : sizeof (register_t) - sizeof (x)];    \
        !            22:                        x datum;                                        \
        !            23:                } be;                                                   \
        !            24:        }
        !            25:
        !            26: struct sunos_sys_open_args {
        !            27:        syscallarg(char *) path;
        !            28:        syscallarg(int) flags;
        !            29:        syscallarg(int) mode;
        !            30: };
        !            31:
        !            32: struct sunos_sys_wait4_args {
        !            33:        syscallarg(int) pid;
        !            34:        syscallarg(int *) status;
        !            35:        syscallarg(int) options;
        !            36:        syscallarg(struct rusage *) rusage;
        !            37: };
        !            38:
        !            39: struct sunos_sys_creat_args {
        !            40:        syscallarg(char *) path;
        !            41:        syscallarg(int) mode;
        !            42: };
        !            43:
        !            44: struct sunos_sys_execv_args {
        !            45:        syscallarg(char *) path;
        !            46:        syscallarg(char **) argp;
        !            47: };
        !            48:
        !            49: struct sunos_sys_mknod_args {
        !            50:        syscallarg(char *) path;
        !            51:        syscallarg(int) mode;
        !            52:        syscallarg(int) dev;
        !            53: };
        !            54:
        !            55: struct sunos_sys_ostime_args {
        !            56:        syscallarg(int) time;
        !            57: };
        !            58:
        !            59: struct sunos_sys_ptrace_args {
        !            60:        syscallarg(int) req;
        !            61:        syscallarg(pid_t) pid;
        !            62:        syscallarg(caddr_t) addr;
        !            63:        syscallarg(int) data;
        !            64:        syscallarg(char *) addr2;
        !            65: };
        !            66:
        !            67: struct sunos_sys_access_args {
        !            68:        syscallarg(char *) path;
        !            69:        syscallarg(int) flags;
        !            70: };
        !            71:
        !            72: struct sunos_sys_stat_args {
        !            73:        syscallarg(char *) path;
        !            74:        syscallarg(struct stat43 *) ub;
        !            75: };
        !            76:
        !            77: struct sunos_sys_lstat_args {
        !            78:        syscallarg(char *) path;
        !            79:        syscallarg(struct stat43 *) ub;
        !            80: };
        !            81:
        !            82: struct sunos_sys_otimes_args {
        !            83:        syscallarg(struct tms *) tp;
        !            84: };
        !            85:
        !            86: struct sunos_sys_mctl_args {
        !            87:        syscallarg(caddr_t) addr;
        !            88:        syscallarg(int) len;
        !            89:        syscallarg(int) func;
        !            90:        syscallarg(void *) arg;
        !            91: };
        !            92:
        !            93: struct sunos_sys_ioctl_args {
        !            94:        syscallarg(int) fd;
        !            95:        syscallarg(u_long) com;
        !            96:        syscallarg(caddr_t) data;
        !            97: };
        !            98:
        !            99: struct sunos_sys_reboot_args {
        !           100:        syscallarg(int) howto;
        !           101:        syscallarg(char *) bootstr;
        !           102: };
        !           103:
        !           104: struct sunos_sys_execve_args {
        !           105:        syscallarg(char *) path;
        !           106:        syscallarg(char **) argp;
        !           107:        syscallarg(char **) envp;
        !           108: };
        !           109:
        !           110: struct sunos_sys_mmap_args {
        !           111:        syscallarg(caddr_t) addr;
        !           112:        syscallarg(size_t) len;
        !           113:        syscallarg(int) prot;
        !           114:        syscallarg(int) flags;
        !           115:        syscallarg(int) fd;
        !           116:        syscallarg(long) pos;
        !           117: };
        !           118:
        !           119: struct sunos_sys_setpgrp_args {
        !           120:        syscallarg(int) pid;
        !           121:        syscallarg(int) pgid;
        !           122: };
        !           123:
        !           124: struct sunos_sys_fcntl_args {
        !           125:        syscallarg(int) fd;
        !           126:        syscallarg(int) cmd;
        !           127:        syscallarg(void *) arg;
        !           128: };
        !           129:
        !           130: struct sunos_sys_setsockopt_args {
        !           131:        syscallarg(int) s;
        !           132:        syscallarg(int) level;
        !           133:        syscallarg(int) name;
        !           134:        syscallarg(caddr_t) val;
        !           135:        syscallarg(int) valsize;
        !           136: };
        !           137:
        !           138: struct sunos_sys_sigvec_args {
        !           139:        syscallarg(int) signum;
        !           140:        syscallarg(struct sigvec *) nsv;
        !           141:        syscallarg(struct sigvec *) osv;
        !           142: };
        !           143:
        !           144: struct sunos_sys_sigreturn_args {
        !           145:        syscallarg(struct sigcontext *) sigcntxp;
        !           146: };
        !           147:
        !           148: struct sunos_sys_getrlimit_args {
        !           149:        syscallarg(u_int) which;
        !           150:        syscallarg(struct orlimit *) rlp;
        !           151: };
        !           152:
        !           153: struct sunos_sys_setrlimit_args {
        !           154:        syscallarg(u_int) which;
        !           155:        syscallarg(struct orlimit *) rlp;
        !           156: };
        !           157:
        !           158: struct sunos_sys_nfssvc_args {
        !           159:        syscallarg(int) fd;
        !           160: };
        !           161:
        !           162: struct sunos_sys_statfs_args {
        !           163:        syscallarg(char *) path;
        !           164:        syscallarg(struct sunos_statfs *) buf;
        !           165: };
        !           166:
        !           167: struct sunos_sys_fstatfs_args {
        !           168:        syscallarg(int) fd;
        !           169:        syscallarg(struct sunos_statfs *) buf;
        !           170: };
        !           171:
        !           172: struct sunos_sys_unmount_args {
        !           173:        syscallarg(char *) path;
        !           174: };
        !           175:
        !           176: struct sunos_sys_quotactl_args {
        !           177:        syscallarg(int) cmd;
        !           178:        syscallarg(char *) special;
        !           179:        syscallarg(int) uid;
        !           180:        syscallarg(caddr_t) addr;
        !           181: };
        !           182:
        !           183: struct sunos_sys_exportfs_args {
        !           184:        syscallarg(char *) path;
        !           185:        syscallarg(char *) ex;
        !           186: };
        !           187:
        !           188: struct sunos_sys_mount_args {
        !           189:        syscallarg(char *) type;
        !           190:        syscallarg(char *) dir;
        !           191:        syscallarg(int) flags;
        !           192:        syscallarg(caddr_t) data;
        !           193: };
        !           194:
        !           195: struct sunos_sys_ustat_args {
        !           196:        syscallarg(int) dev;
        !           197:        syscallarg(struct sunos_ustat *) buf;
        !           198: };
        !           199:
        !           200: struct sunos_sys_auditsys_args {
        !           201:        syscallarg(char *) record;
        !           202: };
        !           203:
        !           204: struct sunos_sys_getdents_args {
        !           205:        syscallarg(int) fd;
        !           206:        syscallarg(char *) buf;
        !           207:        syscallarg(int) nbytes;
        !           208: };
        !           209:
        !           210: struct sunos_sys_fchroot_args {
        !           211:        syscallarg(int) fd;
        !           212: };
        !           213:
        !           214: struct sunos_sys_sigpending_args {
        !           215:        syscallarg(int *) mask;
        !           216: };
        !           217:
        !           218: struct sunos_sys_sysconf_args {
        !           219:        syscallarg(int) name;
        !           220: };
        !           221:
        !           222: struct sunos_sys_uname_args {
        !           223:        syscallarg(struct sunos_utsname *) name;
        !           224: };
        !           225:
        !           226: /*
        !           227:  * System call prototypes.
        !           228:  */
        !           229:
        !           230: int    sys_nosys(struct proc *, void *, register_t *);
        !           231: int    sys_exit(struct proc *, void *, register_t *);
        !           232: int    sys_fork(struct proc *, void *, register_t *);
        !           233: int    sys_read(struct proc *, void *, register_t *);
        !           234: int    sys_write(struct proc *, void *, register_t *);
        !           235: int    sunos_sys_open(struct proc *, void *, register_t *);
        !           236: int    sys_close(struct proc *, void *, register_t *);
        !           237: int    sunos_sys_wait4(struct proc *, void *, register_t *);
        !           238: int    sunos_sys_creat(struct proc *, void *, register_t *);
        !           239: int    sys_link(struct proc *, void *, register_t *);
        !           240: int    sys_unlink(struct proc *, void *, register_t *);
        !           241: int    sunos_sys_execv(struct proc *, void *, register_t *);
        !           242: int    sys_chdir(struct proc *, void *, register_t *);
        !           243: int    sunos_sys_mknod(struct proc *, void *, register_t *);
        !           244: int    sys_chmod(struct proc *, void *, register_t *);
        !           245: int    sys_lchown(struct proc *, void *, register_t *);
        !           246: int    sys_obreak(struct proc *, void *, register_t *);
        !           247: int    compat_43_sys_lseek(struct proc *, void *, register_t *);
        !           248: int    sys_getpid(struct proc *, void *, register_t *);
        !           249: int    sys_setuid(struct proc *, void *, register_t *);
        !           250: int    sys_getuid(struct proc *, void *, register_t *);
        !           251: int    sunos_sys_ostime(struct proc *, void *, register_t *);
        !           252: #ifdef PTRACE
        !           253: int    sunos_sys_ptrace(struct proc *, void *, register_t *);
        !           254: #else
        !           255: #endif
        !           256: int    sunos_sys_access(struct proc *, void *, register_t *);
        !           257: int    sys_sync(struct proc *, void *, register_t *);
        !           258: int    sys_kill(struct proc *, void *, register_t *);
        !           259: int    sunos_sys_stat(struct proc *, void *, register_t *);
        !           260: int    sunos_sys_lstat(struct proc *, void *, register_t *);
        !           261: int    sys_dup(struct proc *, void *, register_t *);
        !           262: int    sys_opipe(struct proc *, void *, register_t *);
        !           263: int    sunos_sys_otimes(struct proc *, void *, register_t *);
        !           264: int    sys_profil(struct proc *, void *, register_t *);
        !           265: int    sys_setgid(struct proc *, void *, register_t *);
        !           266: int    sys_getgid(struct proc *, void *, register_t *);
        !           267: #ifdef ACCOUNTING
        !           268: int    sys_acct(struct proc *, void *, register_t *);
        !           269: #else
        !           270: #endif
        !           271: int    sunos_sys_mctl(struct proc *, void *, register_t *);
        !           272: int    sunos_sys_ioctl(struct proc *, void *, register_t *);
        !           273: int    sunos_sys_reboot(struct proc *, void *, register_t *);
        !           274: int    sys_symlink(struct proc *, void *, register_t *);
        !           275: int    sys_readlink(struct proc *, void *, register_t *);
        !           276: int    sunos_sys_execve(struct proc *, void *, register_t *);
        !           277: int    sys_umask(struct proc *, void *, register_t *);
        !           278: int    sys_chroot(struct proc *, void *, register_t *);
        !           279: int    compat_43_sys_fstat(struct proc *, void *, register_t *);
        !           280: int    compat_43_sys_getpagesize(struct proc *, void *, register_t *);
        !           281: int    sys_msync(struct proc *, void *, register_t *);
        !           282: int    sys_vfork(struct proc *, void *, register_t *);
        !           283: int    sys_sbrk(struct proc *, void *, register_t *);
        !           284: int    sys_sstk(struct proc *, void *, register_t *);
        !           285: int    sunos_sys_mmap(struct proc *, void *, register_t *);
        !           286: int    sys_ovadvise(struct proc *, void *, register_t *);
        !           287: int    sys_munmap(struct proc *, void *, register_t *);
        !           288: int    sys_mprotect(struct proc *, void *, register_t *);
        !           289: int    sys_madvise(struct proc *, void *, register_t *);
        !           290: int    sunos_sys_vhangup(struct proc *, void *, register_t *);
        !           291: int    sys_mincore(struct proc *, void *, register_t *);
        !           292: int    sys_getgroups(struct proc *, void *, register_t *);
        !           293: int    sys_setgroups(struct proc *, void *, register_t *);
        !           294: int    sys_getpgrp(struct proc *, void *, register_t *);
        !           295: int    sunos_sys_setpgrp(struct proc *, void *, register_t *);
        !           296: int    sys_setitimer(struct proc *, void *, register_t *);
        !           297: int    compat_25_sys_swapon(struct proc *, void *, register_t *);
        !           298: int    sys_getitimer(struct proc *, void *, register_t *);
        !           299: int    compat_43_sys_gethostname(struct proc *, void *, register_t *);
        !           300: int    compat_43_sys_sethostname(struct proc *, void *, register_t *);
        !           301: int    compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
        !           302: int    sys_dup2(struct proc *, void *, register_t *);
        !           303: int    sunos_sys_fcntl(struct proc *, void *, register_t *);
        !           304: int    sys_select(struct proc *, void *, register_t *);
        !           305: int    sys_fsync(struct proc *, void *, register_t *);
        !           306: int    sys_setpriority(struct proc *, void *, register_t *);
        !           307: int    sys_socket(struct proc *, void *, register_t *);
        !           308: int    sys_connect(struct proc *, void *, register_t *);
        !           309: int    compat_43_sys_accept(struct proc *, void *, register_t *);
        !           310: int    sys_getpriority(struct proc *, void *, register_t *);
        !           311: int    compat_43_sys_send(struct proc *, void *, register_t *);
        !           312: int    compat_43_sys_recv(struct proc *, void *, register_t *);
        !           313: int    sys_bind(struct proc *, void *, register_t *);
        !           314: int    sunos_sys_setsockopt(struct proc *, void *, register_t *);
        !           315: int    sys_listen(struct proc *, void *, register_t *);
        !           316: int    sunos_sys_sigvec(struct proc *, void *, register_t *);
        !           317: int    compat_43_sys_sigblock(struct proc *, void *, register_t *);
        !           318: int    compat_43_sys_sigsetmask(struct proc *, void *, register_t *);
        !           319: int    sys_sigsuspend(struct proc *, void *, register_t *);
        !           320: int    compat_43_sys_sigstack(struct proc *, void *, register_t *);
        !           321: int    compat_43_sys_recvmsg(struct proc *, void *, register_t *);
        !           322: int    compat_43_sys_sendmsg(struct proc *, void *, register_t *);
        !           323: int    sys_gettimeofday(struct proc *, void *, register_t *);
        !           324: int    sys_getrusage(struct proc *, void *, register_t *);
        !           325: int    sys_getsockopt(struct proc *, void *, register_t *);
        !           326: int    sys_readv(struct proc *, void *, register_t *);
        !           327: int    sys_writev(struct proc *, void *, register_t *);
        !           328: int    sys_settimeofday(struct proc *, void *, register_t *);
        !           329: int    sys_fchown(struct proc *, void *, register_t *);
        !           330: int    sys_fchmod(struct proc *, void *, register_t *);
        !           331: int    compat_43_sys_recvfrom(struct proc *, void *, register_t *);
        !           332: int    sys_setreuid(struct proc *, void *, register_t *);
        !           333: int    sys_setregid(struct proc *, void *, register_t *);
        !           334: int    sys_rename(struct proc *, void *, register_t *);
        !           335: int    compat_43_sys_truncate(struct proc *, void *, register_t *);
        !           336: int    compat_43_sys_ftruncate(struct proc *, void *, register_t *);
        !           337: int    sys_flock(struct proc *, void *, register_t *);
        !           338: int    sys_sendto(struct proc *, void *, register_t *);
        !           339: int    sys_shutdown(struct proc *, void *, register_t *);
        !           340: int    sys_socketpair(struct proc *, void *, register_t *);
        !           341: int    sys_mkdir(struct proc *, void *, register_t *);
        !           342: int    sys_rmdir(struct proc *, void *, register_t *);
        !           343: int    sys_utimes(struct proc *, void *, register_t *);
        !           344: int    sunos_sys_sigreturn(struct proc *, void *, register_t *);
        !           345: int    sys_adjtime(struct proc *, void *, register_t *);
        !           346: int    compat_43_sys_getpeername(struct proc *, void *, register_t *);
        !           347: int    compat_43_sys_gethostid(struct proc *, void *, register_t *);
        !           348: int    sunos_sys_getrlimit(struct proc *, void *, register_t *);
        !           349: int    sunos_sys_setrlimit(struct proc *, void *, register_t *);
        !           350: int    compat_43_sys_killpg(struct proc *, void *, register_t *);
        !           351: int    compat_43_sys_getsockname(struct proc *, void *, register_t *);
        !           352: int    sys_poll(struct proc *, void *, register_t *);
        !           353: #ifdef NFSSERVER
        !           354: int    sunos_sys_nfssvc(struct proc *, void *, register_t *);
        !           355: #else
        !           356: #endif
        !           357: int    sys_getdirentries(struct proc *, void *, register_t *);
        !           358: int    sunos_sys_statfs(struct proc *, void *, register_t *);
        !           359: int    sunos_sys_fstatfs(struct proc *, void *, register_t *);
        !           360: int    sunos_sys_unmount(struct proc *, void *, register_t *);
        !           361: #ifdef NFSCLIENT
        !           362: int    async_daemon(struct proc *, void *, register_t *);
        !           363: int    sys_getfh(struct proc *, void *, register_t *);
        !           364: #else
        !           365: #endif
        !           366: int    compat_09_sys_getdomainname(struct proc *, void *, register_t *);
        !           367: int    compat_09_sys_setdomainname(struct proc *, void *, register_t *);
        !           368: int    sunos_sys_quotactl(struct proc *, void *, register_t *);
        !           369: int    sunos_sys_exportfs(struct proc *, void *, register_t *);
        !           370: int    sunos_sys_mount(struct proc *, void *, register_t *);
        !           371: int    sunos_sys_ustat(struct proc *, void *, register_t *);
        !           372: #ifdef SYSVSEM
        !           373: int    compat_10_sys_semsys(struct proc *, void *, register_t *);
        !           374: #else
        !           375: #endif
        !           376: #ifdef SYSVMSG
        !           377: int    compat_10_sys_msgsys(struct proc *, void *, register_t *);
        !           378: #else
        !           379: #endif
        !           380: #ifdef SYSVSHM
        !           381: int    compat_10_sys_shmsys(struct proc *, void *, register_t *);
        !           382: #else
        !           383: #endif
        !           384: int    sunos_sys_auditsys(struct proc *, void *, register_t *);
        !           385: int    sunos_sys_getdents(struct proc *, void *, register_t *);
        !           386: int    sys_setsid(struct proc *, void *, register_t *);
        !           387: int    sys_fchdir(struct proc *, void *, register_t *);
        !           388: int    sunos_sys_fchroot(struct proc *, void *, register_t *);
        !           389: int    sunos_sys_sigpending(struct proc *, void *, register_t *);
        !           390: int    sys_setpgid(struct proc *, void *, register_t *);
        !           391: int    sys_pathconf(struct proc *, void *, register_t *);
        !           392: int    sys_fpathconf(struct proc *, void *, register_t *);
        !           393: int    sunos_sys_sysconf(struct proc *, void *, register_t *);
        !           394: int    sunos_sys_uname(struct proc *, void *, register_t *);

CVSweb