[BACK]Return to linux_syscall.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / linux / arch / m68k

Annotation of src/sys/compat/linux/arch/m68k/linux_syscall.h, Revision 1.54.14.1

1.54.14.1! chap        1: /* $NetBSD: linux_syscall.h,v 1.56 2006/06/13 22:24:34 he Exp $ */
1.1       itohy       2:
                      3: /*
                      4:  * System call numbers.
                      5:  *
                      6:  * DO NOT EDIT-- this file is automatically generated.
1.54.14.1! chap        7:  * created from        NetBSD: syscalls.master,v 1.50 2006/06/13 22:23:03 he Exp
1.1       itohy       8:  */
                      9:
                     10: /* syscall: "syscall" ret: "int" args: */
                     11: #define        LINUX_SYS_syscall       0
                     12:
                     13: /* syscall: "exit" ret: "int" args: "int" */
                     14: #define        LINUX_SYS_exit  1
                     15:
                     16: /* syscall: "fork" ret: "int" args: */
                     17: #define        LINUX_SYS_fork  2
                     18:
                     19: /* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
                     20: #define        LINUX_SYS_read  3
                     21:
                     22: /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
                     23: #define        LINUX_SYS_write 4
                     24:
1.2       itohy      25: /* syscall: "open" ret: "int" args: "const char *" "int" "int" */
1.1       itohy      26: #define        LINUX_SYS_open  5
                     27:
                     28: /* syscall: "close" ret: "int" args: "int" */
                     29: #define        LINUX_SYS_close 6
                     30:
                     31: /* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
                     32: #define        LINUX_SYS_waitpid       7
                     33:
1.2       itohy      34: /* syscall: "creat" ret: "int" args: "const char *" "int" */
1.1       itohy      35: #define        LINUX_SYS_creat 8
                     36:
1.2       itohy      37: /* syscall: "link" ret: "int" args: "const char *" "const char *" */
1.1       itohy      38: #define        LINUX_SYS_link  9
                     39:
1.2       itohy      40: /* syscall: "unlink" ret: "int" args: "const char *" */
1.1       itohy      41: #define        LINUX_SYS_unlink        10
                     42:
1.2       itohy      43: /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
1.1       itohy      44: #define        LINUX_SYS_execve        11
                     45:
1.2       itohy      46: /* syscall: "chdir" ret: "int" args: "const char *" */
1.1       itohy      47: #define        LINUX_SYS_chdir 12
                     48:
                     49: /* syscall: "time" ret: "int" args: "linux_time_t *" */
                     50: #define        LINUX_SYS_time  13
                     51:
1.2       itohy      52: /* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
1.1       itohy      53: #define        LINUX_SYS_mknod 14
                     54:
1.2       itohy      55: /* syscall: "chmod" ret: "int" args: "const char *" "int" */
1.1       itohy      56: #define        LINUX_SYS_chmod 15
                     57:
1.26      fvdl       58: /* syscall: "chown16" ret: "int" args: "const char *" "int" "int" */
                     59: #define        LINUX_SYS_chown16       16
1.1       itohy      60:
                     61:                                /* 17 is obsolete break */
                     62:                                /* 18 is obsolete ostat */
1.49      jdolecek   63: #if !defined(_KERNEL) || defined(COMPAT_43)
1.1       itohy      64: /* syscall: "lseek" ret: "long" args: "int" "long" "int" */
                     65: #define        LINUX_SYS_lseek 19
                     66:
1.49      jdolecek   67: #else
                     68: #endif
1.1       itohy      69: /* syscall: "getpid" ret: "pid_t" args: */
                     70: #define        LINUX_SYS_getpid        20
                     71:
                     72:                                /* 22 is obsolete umount */
1.28      fvdl       73: /* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
                     74: #define        LINUX_SYS_linux_setuid16        23
1.1       itohy      75:
1.28      fvdl       76: /* syscall: "linux_getuid16" ret: "uid_t" args: */
                     77: #define        LINUX_SYS_linux_getuid16        24
1.8       tron       78:
                     79: /* syscall: "stime" ret: "int" args: "linux_time_t *" */
                     80: #define        LINUX_SYS_stime 25
1.12      tron       81:
                     82: /* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
                     83: #define        LINUX_SYS_ptrace        26
1.1       itohy      84:
                     85: /* syscall: "alarm" ret: "int" args: "unsigned int" */
                     86: #define        LINUX_SYS_alarm 27
                     87:
                     88:                                /* 28 is obsolete ofstat */
                     89: /* syscall: "pause" ret: "int" args: */
                     90: #define        LINUX_SYS_pause 29
                     91:
1.2       itohy      92: /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
1.1       itohy      93: #define        LINUX_SYS_utime 30
                     94:
                     95:                                /* 31 is obsolete stty */
                     96:                                /* 32 is obsolete gtty */
1.2       itohy      97: /* syscall: "access" ret: "int" args: "const char *" "int" */
1.1       itohy      98: #define        LINUX_SYS_access        33
                     99:
                    100: /* syscall: "nice" ret: "int" args: "int" */
                    101: #define        LINUX_SYS_nice  34
                    102:
                    103:                                /* 35 is obsolete ftime */
                    104: /* syscall: "sync" ret: "int" args: */
                    105: #define        LINUX_SYS_sync  36
                    106:
                    107: /* syscall: "kill" ret: "int" args: "int" "int" */
                    108: #define        LINUX_SYS_kill  37
                    109:
1.2       itohy     110: /* syscall: "rename" ret: "int" args: "const char *" "const char *" */
1.1       itohy     111: #define        LINUX_SYS_rename        38
                    112:
1.2       itohy     113: /* syscall: "mkdir" ret: "int" args: "const char *" "int" */
1.1       itohy     114: #define        LINUX_SYS_mkdir 39
                    115:
1.2       itohy     116: /* syscall: "rmdir" ret: "int" args: "const char *" */
1.1       itohy     117: #define        LINUX_SYS_rmdir 40
                    118:
                    119: /* syscall: "dup" ret: "int" args: "u_int" */
                    120: #define        LINUX_SYS_dup   41
                    121:
                    122: /* syscall: "pipe" ret: "int" args: "int *" */
                    123: #define        LINUX_SYS_pipe  42
                    124:
                    125: /* syscall: "times" ret: "int" args: "struct times *" */
                    126: #define        LINUX_SYS_times 43
                    127:
                    128:                                /* 44 is obsolete prof */
                    129: /* syscall: "brk" ret: "int" args: "char *" */
                    130: #define        LINUX_SYS_brk   45
                    131:
1.28      fvdl      132: /* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
                    133: #define        LINUX_SYS_linux_setgid16        46
1.1       itohy     134:
1.28      fvdl      135: /* syscall: "linux_getgid16" ret: "gid_t" args: */
                    136: #define        LINUX_SYS_linux_getgid16        47
1.1       itohy     137:
                    138: /* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
                    139: #define        LINUX_SYS_signal        48
                    140:
1.28      fvdl      141: /* syscall: "linux_geteuid16" ret: "uid_t" args: */
                    142: #define        LINUX_SYS_linux_geteuid16       49
1.1       itohy     143:
1.28      fvdl      144: /* syscall: "linux_getegid16" ret: "gid_t" args: */
                    145: #define        LINUX_SYS_linux_getegid16       50
1.1       itohy     146:
                    147: /* syscall: "acct" ret: "int" args: "char *" */
                    148: #define        LINUX_SYS_acct  51
                    149:
                    150:                                /* 53 is obsolete lock */
                    151: /* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
                    152: #define        LINUX_SYS_ioctl 54
                    153:
                    154: /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
                    155: #define        LINUX_SYS_fcntl 55
                    156:
                    157:                                /* 56 is obsolete mpx */
                    158: /* syscall: "setpgid" ret: "int" args: "int" "int" */
                    159: #define        LINUX_SYS_setpgid       57
                    160:
                    161:                                /* 58 is obsolete ulimit */
                    162: /* syscall: "umask" ret: "int" args: "int" */
                    163: #define        LINUX_SYS_umask 60
                    164:
                    165: /* syscall: "chroot" ret: "int" args: "char *" */
                    166: #define        LINUX_SYS_chroot        61
                    167:
                    168: /* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
                    169: #define        LINUX_SYS_dup2  63
                    170:
                    171: /* syscall: "getppid" ret: "pid_t" args: */
                    172: #define        LINUX_SYS_getppid       64
                    173:
                    174: /* syscall: "getpgrp" ret: "int" args: */
                    175: #define        LINUX_SYS_getpgrp       65
                    176:
                    177: /* syscall: "setsid" ret: "int" args: */
                    178: #define        LINUX_SYS_setsid        66
                    179:
                    180: /* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
                    181: #define        LINUX_SYS_sigaction     67
                    182:
                    183: /* syscall: "siggetmask" ret: "int" args: */
                    184: #define        LINUX_SYS_siggetmask    68
                    185:
                    186: /* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
                    187: #define        LINUX_SYS_sigsetmask    69
                    188:
1.26      fvdl      189: /* syscall: "setreuid16" ret: "int" args: "int" "int" */
                    190: #define        LINUX_SYS_setreuid16    70
1.1       itohy     191:
1.26      fvdl      192: /* syscall: "setregid16" ret: "int" args: "int" "int" */
                    193: #define        LINUX_SYS_setregid16    71
1.1       itohy     194:
                    195: /* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
                    196: #define        LINUX_SYS_sigsuspend    72
                    197:
                    198: /* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
                    199: #define        LINUX_SYS_sigpending    73
                    200:
1.49      jdolecek  201: #if !defined(_KERNEL) || defined(COMPAT_43)
1.1       itohy     202: /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
                    203: #define        LINUX_SYS_sethostname   74
                    204:
1.49      jdolecek  205: #else
                    206: #endif
1.1       itohy     207: /* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
                    208: #define        LINUX_SYS_setrlimit     75
                    209:
                    210: /* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
                    211: #define        LINUX_SYS_getrlimit     76
                    212:
                    213: /* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
                    214: #define        LINUX_SYS_getrusage     77
                    215:
                    216: /* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
                    217: #define        LINUX_SYS_gettimeofday  78
                    218:
                    219: /* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
                    220: #define        LINUX_SYS_settimeofday  79
                    221:
1.28      fvdl      222: /* syscall: "getgroups16" ret: "int" args: "u_int" "linux_gid_t *" */
                    223: #define        LINUX_SYS_getgroups16   80
1.1       itohy     224:
1.28      fvdl      225: /* syscall: "setgroups16" ret: "int" args: "u_int" "linux_gid_t *" */
                    226: #define        LINUX_SYS_setgroups16   81
1.1       itohy     227:
                    228: /* syscall: "oldselect" ret: "int" args: "struct linux_oldselect *" */
                    229: #define        LINUX_SYS_oldselect     82
                    230:
1.2       itohy     231: /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
1.1       itohy     232: #define        LINUX_SYS_symlink       83
                    233:
1.49      jdolecek  234: #if !defined(_KERNEL) || defined(COMPAT_43)
1.2       itohy     235: /* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
1.1       itohy     236: #define        LINUX_SYS_oolstat       84
                    237:
1.49      jdolecek  238: #else
                    239: #endif
1.2       itohy     240: /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
1.1       itohy     241: #define        LINUX_SYS_readlink      85
                    242:
1.53      joerg     243: #ifdef EXEC_AOUT
1.2       itohy     244: /* syscall: "uselib" ret: "int" args: "const char *" */
1.1       itohy     245: #define        LINUX_SYS_uselib        86
                    246:
1.53      joerg     247: #else
                    248: #endif
1.1       itohy     249: /* syscall: "swapon" ret: "int" args: "char *" */
                    250: #define        LINUX_SYS_swapon        87
                    251:
1.14      erh       252: /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
1.1       itohy     253: #define        LINUX_SYS_reboot        88
                    254:
                    255: /* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
                    256: #define        LINUX_SYS_readdir       89
                    257:
                    258: /* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
                    259: #define        LINUX_SYS_old_mmap      90
                    260:
                    261: /* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
                    262: #define        LINUX_SYS_munmap        91
                    263:
1.2       itohy     264: /* syscall: "truncate" ret: "int" args: "const char *" "long" */
1.1       itohy     265: #define        LINUX_SYS_truncate      92
                    266:
1.49      jdolecek  267: #if !defined(_KERNEL) || defined(COMPAT_43)
1.1       itohy     268: /* syscall: "ftruncate" ret: "int" args: "int" "long" */
                    269: #define        LINUX_SYS_ftruncate     93
                    270:
1.49      jdolecek  271: #else
                    272: #endif
1.1       itohy     273: /* syscall: "fchmod" ret: "int" args: "int" "int" */
                    274: #define        LINUX_SYS_fchmod        94
                    275:
1.26      fvdl      276: /* syscall: "fchown16" ret: "int" args: "int" "int" "int" */
                    277: #define        LINUX_SYS_fchown16      95
1.1       itohy     278:
                    279: /* syscall: "getpriority" ret: "int" args: "int" "int" */
                    280: #define        LINUX_SYS_getpriority   96
                    281:
                    282: /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
                    283: #define        LINUX_SYS_setpriority   97
                    284:
                    285: /* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
                    286: #define        LINUX_SYS_profil        98
                    287:
1.2       itohy     288: /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
1.1       itohy     289: #define        LINUX_SYS_statfs        99
                    290:
                    291: /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
                    292: #define        LINUX_SYS_fstatfs       100
                    293:
                    294: /* syscall: "socketcall" ret: "int" args: "int" "void *" */
                    295: #define        LINUX_SYS_socketcall    102
                    296:
                    297: /* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
                    298: #define        LINUX_SYS_setitimer     104
                    299:
                    300: /* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
                    301: #define        LINUX_SYS_getitimer     105
                    302:
1.2       itohy     303: /* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
1.1       itohy     304: #define        LINUX_SYS_stat  106
                    305:
1.2       itohy     306: /* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
1.1       itohy     307: #define        LINUX_SYS_lstat 107
                    308:
                    309: /* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
                    310: #define        LINUX_SYS_fstat 108
                    311:
                    312: /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
                    313: #define        LINUX_SYS_wait4 114
1.20      jdolecek  314:
                    315: /* syscall: "swapoff" ret: "int" args: "const char *" */
                    316: #define        LINUX_SYS_swapoff       115
1.25      jdolecek  317:
                    318: /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
                    319: #define        LINUX_SYS_sysinfo       116
1.1       itohy     320:
                    321: /* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
                    322: #define        LINUX_SYS_ipc   117
                    323:
                    324: /* syscall: "fsync" ret: "int" args: "int" */
                    325: #define        LINUX_SYS_fsync 118
                    326:
                    327: /* syscall: "sigreturn" ret: "int" args: */
                    328: #define        LINUX_SYS_sigreturn     119
1.6       thorpej   329:
                    330: /* syscall: "clone" ret: "int" args: "int" "void *" */
                    331: #define        LINUX_SYS_clone 120
1.1       itohy     332:
                    333: /* syscall: "setdomainname" ret: "int" args: "char *" "int" */
                    334: #define        LINUX_SYS_setdomainname 121
                    335:
                    336: /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
                    337: #define        LINUX_SYS_uname 122
                    338:
                    339: /* syscall: "cacheflush" ret: "int" args: "unsigned long" "int" "int" "unsigned long" */
                    340: #define        LINUX_SYS_cacheflush    123
                    341:
1.40      christos  342: /* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */
1.1       itohy     343: #define        LINUX_SYS_mprotect      125
                    344:
                    345: /* syscall: "sigprocmask" ret: "int" args: "int" "const linux_old_sigset_t *" "linux_old_sigset_t *" */
                    346: #define        LINUX_SYS_sigprocmask   126
                    347:
                    348: /* syscall: "getpgid" ret: "int" args: "int" */
                    349: #define        LINUX_SYS_getpgid       132
                    350:
                    351: /* syscall: "fchdir" ret: "int" args: "int" */
                    352: #define        LINUX_SYS_fchdir        133
                    353:
                    354: /* syscall: "personality" ret: "int" args: "int" */
                    355: #define        LINUX_SYS_personality   136
                    356:
1.28      fvdl      357: /* syscall: "linux_setfsuid16" ret: "int" args: "uid_t" */
                    358: #define        LINUX_SYS_linux_setfsuid16      138
1.13      abs       359:
1.28      fvdl      360: /* syscall: "linux_getfsuid16" ret: "int" args: */
                    361: #define        LINUX_SYS_linux_getfsuid16      139
1.13      abs       362:
1.1       itohy     363: /* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
                    364: #define        LINUX_SYS_llseek        140
                    365:
                    366: /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */
                    367: #define        LINUX_SYS_getdents      141
                    368:
                    369: /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
                    370: #define        LINUX_SYS_select        142
                    371:
                    372: /* syscall: "flock" ret: "int" args: "int" "int" */
                    373: #define        LINUX_SYS_flock 143
                    374:
                    375: /* syscall: "msync" ret: "int" args: "caddr_t" "int" "int" */
                    376: #define        LINUX_SYS_msync 144
                    377:
                    378: /* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
                    379: #define        LINUX_SYS_readv 145
                    380:
                    381: /* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
                    382: #define        LINUX_SYS_writev        146
                    383:
                    384: /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
                    385: #define        LINUX_SYS_getsid        147
                    386:
                    387: /* syscall: "fdatasync" ret: "int" args: "int" */
                    388: #define        LINUX_SYS_fdatasync     148
                    389:
                    390: /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
                    391: #define        LINUX_SYS___sysctl      149
                    392:
                    393: /* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
                    394: #define        LINUX_SYS_mlock 150
                    395:
                    396: /* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
                    397: #define        LINUX_SYS_munlock       151
1.18      jdolecek  398:
                    399: /* syscall: "mlockall" ret: "int" args: "int" */
                    400: #define        LINUX_SYS_mlockall      152
                    401:
                    402: /* syscall: "munlockall" ret: "int" args: */
                    403: #define        LINUX_SYS_munlockall    153
1.9       tron      404:
                    405: /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */
                    406: #define        LINUX_SYS_sched_setparam        154
                    407:
                    408: /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */
                    409: #define        LINUX_SYS_sched_getparam        155
                    410:
                    411: /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */
                    412: #define        LINUX_SYS_sched_setscheduler    156
                    413:
                    414: /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */
                    415: #define        LINUX_SYS_sched_getscheduler    157
                    416:
                    417: /* syscall: "sched_yield" ret: "int" args: */
                    418: #define        LINUX_SYS_sched_yield   158
                    419:
                    420: /* syscall: "sched_get_priority_max" ret: "int" args: "int" */
                    421: #define        LINUX_SYS_sched_get_priority_max        159
                    422:
                    423: /* syscall: "sched_get_priority_min" ret: "int" args: "int" */
                    424: #define        LINUX_SYS_sched_get_priority_min        160
1.1       itohy     425:
                    426: /* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
                    427: #define        LINUX_SYS_nanosleep     162
                    428:
                    429: /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
                    430: #define        LINUX_SYS_mremap        163
1.5       tron      431:
1.28      fvdl      432: /* syscall: "setresuid16" ret: "int" args: "uid_t" "uid_t" "uid_t" */
                    433: #define        LINUX_SYS_setresuid16   164
1.7       thorpej   434:
1.28      fvdl      435: /* syscall: "linux_getresuid16" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
                    436: #define        LINUX_SYS_linux_getresuid16     165
1.7       thorpej   437:
1.5       tron      438: /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
                    439: #define        LINUX_SYS_poll  168
1.1       itohy     440:
1.28      fvdl      441: /* syscall: "setresgid16" ret: "int" args: "gid_t" "gid_t" "gid_t" */
                    442: #define        LINUX_SYS_setresgid16   170
1.7       thorpej   443:
1.28      fvdl      444: /* syscall: "linux_getresgid16" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
                    445: #define        LINUX_SYS_linux_getresgid16     171
1.7       thorpej   446:
1.1       itohy     447: /* syscall: "rt_sigreturn" ret: "int" args: */
                    448: #define        LINUX_SYS_rt_sigreturn  173
                    449:
                    450: /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
                    451: #define        LINUX_SYS_rt_sigaction  174
                    452:
                    453: /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
                    454: #define        LINUX_SYS_rt_sigprocmask        175
                    455:
                    456: /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
                    457: #define        LINUX_SYS_rt_sigpending 176
                    458:
                    459: /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "void *" */
                    460: #define        LINUX_SYS_rt_queueinfo  178
                    461:
                    462: /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
                    463: #define        LINUX_SYS_rt_sigsuspend 179
1.3       thorpej   464:
1.11      tron      465: /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
1.3       thorpej   466: #define        LINUX_SYS_pread 180
                    467:
1.11      tron      468: /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
1.3       thorpej   469: #define        LINUX_SYS_pwrite        181
1.1       itohy     470:
1.27      itohy     471: /* syscall: "lchown16" ret: "int" args: "const char *" "int" "int" */
                    472: #define        LINUX_SYS_lchown16      182
1.4       tron      473:
                    474: /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
                    475: #define        LINUX_SYS___getcwd      183
1.17      itohy     476:
                    477: /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
                    478: #define        LINUX_SYS_sigaltstack   186
1.1       itohy     479:
1.7       thorpej   480: /* syscall: "__vfork14" ret: "int" args: */
                    481: #define        LINUX_SYS___vfork14     190
1.39      christos  482:
                    483: /* syscall: "ugetrlimit" ret: "int" args: "int" "struct orlimit *" */
                    484: #define        LINUX_SYS_ugetrlimit    191
1.46      christos  485:
                    486: /* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
                    487: #define        LINUX_SYS_mmap2 192
1.38      christos  488:
1.23      jdolecek  489: /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */
                    490: #define        LINUX_SYS_truncate64    193
                    491:
1.48      jdolecek  492: /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */
1.23      jdolecek  493: #define        LINUX_SYS_ftruncate64   194
                    494:
                    495: /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
                    496: #define        LINUX_SYS_stat64        195
                    497:
                    498: /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */
                    499: #define        LINUX_SYS_lstat64       196
                    500:
                    501: /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
                    502: #define        LINUX_SYS_fstat64       197
1.26      fvdl      503:
1.28      fvdl      504: /* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
                    505: #define        LINUX_SYS_chown 198
1.26      fvdl      506:
                    507: /* syscall: "getuid" ret: "uid_t" args: */
                    508: #define        LINUX_SYS_getuid        199
                    509:
                    510: /* syscall: "getgid" ret: "gid_t" args: */
                    511: #define        LINUX_SYS_getgid        200
                    512:
                    513: /* syscall: "geteuid" ret: "uid_t" args: */
                    514: #define        LINUX_SYS_geteuid       201
                    515:
                    516: /* syscall: "getegid" ret: "gid_t" args: */
                    517: #define        LINUX_SYS_getegid       202
                    518:
                    519: /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
                    520: #define        LINUX_SYS_setreuid      203
                    521:
                    522: /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
                    523: #define        LINUX_SYS_setregid      204
                    524:
1.28      fvdl      525: /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
                    526: #define        LINUX_SYS_getgroups     205
                    527:
                    528: /* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
                    529: #define        LINUX_SYS_setgroups     206
                    530:
1.26      fvdl      531: /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
                    532: #define        LINUX_SYS___posix_fchown        207
                    533:
1.28      fvdl      534: /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
                    535: #define        LINUX_SYS_setresuid     208
                    536:
                    537: /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
                    538: #define        LINUX_SYS_getresuid     209
                    539:
                    540: /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
                    541: #define        LINUX_SYS_setresgid     210
                    542:
                    543: /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
                    544: #define        LINUX_SYS_getresgid     211
                    545:
                    546: /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
                    547: #define        LINUX_SYS_lchown        212
1.26      fvdl      548:
                    549: /* syscall: "setuid" ret: "int" args: "uid_t" */
                    550: #define        LINUX_SYS_setuid        213
                    551:
                    552: /* syscall: "setgid" ret: "int" args: "gid_t" */
                    553: #define        LINUX_SYS_setgid        214
1.28      fvdl      554:
                    555: /* syscall: "setfsuid" ret: "int" args: "uid_t" */
                    556: #define        LINUX_SYS_setfsuid      215
                    557:
                    558: /* syscall: "getfsuid" ret: "int" args: */
                    559: #define        LINUX_SYS_getfsuid      216
1.41      christos  560:
                    561: /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */
                    562: #define        LINUX_SYS_getdents64    220
1.7       thorpej   563:
1.51      fvdl      564: /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
                    565: #define        LINUX_SYS_setxattr      223
                    566:
                    567: /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */
                    568: #define        LINUX_SYS_lsetxattr     224
                    569:
                    570: /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */
                    571: #define        LINUX_SYS_fsetxattr     225
                    572:
                    573: /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
                    574: #define        LINUX_SYS_getxattr      226
                    575:
                    576: /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */
                    577: #define        LINUX_SYS_lgetxattr     227
                    578:
                    579: /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */
                    580: #define        LINUX_SYS_fgetxattr     228
                    581:
                    582: /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
                    583: #define        LINUX_SYS_listxattr     229
                    584:
                    585: /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */
                    586: #define        LINUX_SYS_llistxattr    230
                    587:
                    588: /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */
                    589: #define        LINUX_SYS_flistxattr    231
                    590:
                    591: /* syscall: "removexattr" ret: "int" args: "char *" "char *" */
                    592: #define        LINUX_SYS_removexattr   232
                    593:
                    594: /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */
                    595: #define        LINUX_SYS_lremovexattr  233
                    596:
                    597: /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */
                    598: #define        LINUX_SYS_fremovexattr  234
                    599:
1.52      jmc       600: /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
                    601: #define        LINUX_SYS_clock_settime 259
                    602:
                    603: /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
                    604: #define        LINUX_SYS_clock_gettime 260
                    605:
                    606: /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
                    607: #define        LINUX_SYS_clock_getres  261
                    608:
                    609: /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */
                    610: #define        LINUX_SYS_clock_nanosleep       262
                    611:
                    612: #define        LINUX_SYS_MAXSYSCALL    263
1.49      jdolecek  613: #define        LINUX_SYS_NSYSENT       512

CVSweb <webmaster@jp.NetBSD.org>