Home | History | Annotate | Line # | Download | only in freebsd
freebsd_syscalls.c revision 1.1
      1  1.1  mycroft /*
      2  1.1  mycroft  * System call names.
      3  1.1  mycroft  *
      4  1.1  mycroft  * DO NOT EDIT-- this file is automatically generated.
      5  1.1  mycroft  * created from	NetBSD: syscalls.master,v 1.1 1995/10/10 01:19:39 mycroft Exp
      6  1.1  mycroft  */
      7  1.1  mycroft 
      8  1.1  mycroft char *freebsd_syscallnames[] = {
      9  1.1  mycroft 	"syscall",			/* 0 = syscall */
     10  1.1  mycroft 	"exit",			/* 1 = exit */
     11  1.1  mycroft 	"fork",			/* 2 = fork */
     12  1.1  mycroft 	"read",			/* 3 = read */
     13  1.1  mycroft 	"write",			/* 4 = write */
     14  1.1  mycroft 	"open",			/* 5 = open */
     15  1.1  mycroft 	"close",			/* 6 = close */
     16  1.1  mycroft 	"wait4",			/* 7 = wait4 */
     17  1.1  mycroft 	"ocreat",			/* 8 = ocreat */
     18  1.1  mycroft 	"link",			/* 9 = link */
     19  1.1  mycroft 	"unlink",			/* 10 = unlink */
     20  1.1  mycroft 	"#11 (obsolete execv)",		/* 11 = obsolete execv */
     21  1.1  mycroft 	"chdir",			/* 12 = chdir */
     22  1.1  mycroft 	"fchdir",			/* 13 = fchdir */
     23  1.1  mycroft 	"mknod",			/* 14 = mknod */
     24  1.1  mycroft 	"chmod",			/* 15 = chmod */
     25  1.1  mycroft 	"chown",			/* 16 = chown */
     26  1.1  mycroft 	"break",			/* 17 = break */
     27  1.1  mycroft 	"getfsstat",			/* 18 = getfsstat */
     28  1.1  mycroft 	"olseek",			/* 19 = olseek */
     29  1.1  mycroft 	"getpid",			/* 20 = getpid */
     30  1.1  mycroft 	"mount",			/* 21 = mount */
     31  1.1  mycroft 	"unmount",			/* 22 = unmount */
     32  1.1  mycroft 	"setuid",			/* 23 = setuid */
     33  1.1  mycroft 	"getuid",			/* 24 = getuid */
     34  1.1  mycroft 	"geteuid",			/* 25 = geteuid */
     35  1.1  mycroft 	"ptrace",			/* 26 = ptrace */
     36  1.1  mycroft 	"recvmsg",			/* 27 = recvmsg */
     37  1.1  mycroft 	"sendmsg",			/* 28 = sendmsg */
     38  1.1  mycroft 	"recvfrom",			/* 29 = recvfrom */
     39  1.1  mycroft 	"accept",			/* 30 = accept */
     40  1.1  mycroft 	"getpeername",			/* 31 = getpeername */
     41  1.1  mycroft 	"getsockname",			/* 32 = getsockname */
     42  1.1  mycroft 	"access",			/* 33 = access */
     43  1.1  mycroft 	"chflags",			/* 34 = chflags */
     44  1.1  mycroft 	"fchflags",			/* 35 = fchflags */
     45  1.1  mycroft 	"sync",			/* 36 = sync */
     46  1.1  mycroft 	"kill",			/* 37 = kill */
     47  1.1  mycroft 	"ostat",			/* 38 = ostat */
     48  1.1  mycroft 	"getppid",			/* 39 = getppid */
     49  1.1  mycroft 	"olstat",			/* 40 = olstat */
     50  1.1  mycroft 	"dup",			/* 41 = dup */
     51  1.1  mycroft 	"pipe",			/* 42 = pipe */
     52  1.1  mycroft 	"getegid",			/* 43 = getegid */
     53  1.1  mycroft 	"profil",			/* 44 = profil */
     54  1.1  mycroft #ifdef KTRACE
     55  1.1  mycroft 	"ktrace",			/* 45 = ktrace */
     56  1.1  mycroft #else
     57  1.1  mycroft 	"#45 (unimplemented ktrace)",		/* 45 = unimplemented ktrace */
     58  1.1  mycroft #endif
     59  1.1  mycroft 	"sigaction",			/* 46 = sigaction */
     60  1.1  mycroft 	"getgid",			/* 47 = getgid */
     61  1.1  mycroft 	"sigprocmask",			/* 48 = sigprocmask */
     62  1.1  mycroft 	"getlogin",			/* 49 = getlogin */
     63  1.1  mycroft 	"setlogin",			/* 50 = setlogin */
     64  1.1  mycroft 	"acct",			/* 51 = acct */
     65  1.1  mycroft 	"sigpending",			/* 52 = sigpending */
     66  1.1  mycroft 	"sigaltstack",			/* 53 = sigaltstack */
     67  1.1  mycroft 	"ioctl",			/* 54 = ioctl */
     68  1.1  mycroft 	"reboot",			/* 55 = reboot */
     69  1.1  mycroft 	"revoke",			/* 56 = revoke */
     70  1.1  mycroft 	"symlink",			/* 57 = symlink */
     71  1.1  mycroft 	"readlink",			/* 58 = readlink */
     72  1.1  mycroft 	"execve",			/* 59 = execve */
     73  1.1  mycroft 	"umask",			/* 60 = umask */
     74  1.1  mycroft 	"chroot",			/* 61 = chroot */
     75  1.1  mycroft 	"ofstat",			/* 62 = ofstat */
     76  1.1  mycroft 	"ogetkerninfo",			/* 63 = ogetkerninfo */
     77  1.1  mycroft 	"ogetpagesize",			/* 64 = ogetpagesize */
     78  1.1  mycroft 	"msync",			/* 65 = msync */
     79  1.1  mycroft 	"vfork",			/* 66 = vfork */
     80  1.1  mycroft 	"#67 (obsolete vread)",		/* 67 = obsolete vread */
     81  1.1  mycroft 	"#68 (obsolete vwrite)",		/* 68 = obsolete vwrite */
     82  1.1  mycroft 	"sbrk",			/* 69 = sbrk */
     83  1.1  mycroft 	"sstk",			/* 70 = sstk */
     84  1.1  mycroft 	"ommap",			/* 71 = ommap */
     85  1.1  mycroft 	"vadvise",			/* 72 = vadvise */
     86  1.1  mycroft 	"munmap",			/* 73 = munmap */
     87  1.1  mycroft 	"mprotect",			/* 74 = mprotect */
     88  1.1  mycroft 	"madvise",			/* 75 = madvise */
     89  1.1  mycroft 	"#76 (obsolete vhangup)",		/* 76 = obsolete vhangup */
     90  1.1  mycroft 	"#77 (obsolete vlimit)",		/* 77 = obsolete vlimit */
     91  1.1  mycroft 	"mincore",			/* 78 = mincore */
     92  1.1  mycroft 	"getgroups",			/* 79 = getgroups */
     93  1.1  mycroft 	"setgroups",			/* 80 = setgroups */
     94  1.1  mycroft 	"getpgrp",			/* 81 = getpgrp */
     95  1.1  mycroft 	"setpgid",			/* 82 = setpgid */
     96  1.1  mycroft 	"setitimer",			/* 83 = setitimer */
     97  1.1  mycroft 	"owait",			/* 84 = owait */
     98  1.1  mycroft 	"swapon",			/* 85 = swapon */
     99  1.1  mycroft 	"getitimer",			/* 86 = getitimer */
    100  1.1  mycroft 	"ogethostname",			/* 87 = ogethostname */
    101  1.1  mycroft 	"osethostname",			/* 88 = osethostname */
    102  1.1  mycroft 	"ogetdtablesize",			/* 89 = ogetdtablesize */
    103  1.1  mycroft 	"dup2",			/* 90 = dup2 */
    104  1.1  mycroft 	"#91 (unimplemented getdopt)",		/* 91 = unimplemented getdopt */
    105  1.1  mycroft 	"fcntl",			/* 92 = fcntl */
    106  1.1  mycroft 	"select",			/* 93 = select */
    107  1.1  mycroft 	"#94 (unimplemented setdopt)",		/* 94 = unimplemented setdopt */
    108  1.1  mycroft 	"fsync",			/* 95 = fsync */
    109  1.1  mycroft 	"setpriority",			/* 96 = setpriority */
    110  1.1  mycroft 	"socket",			/* 97 = socket */
    111  1.1  mycroft 	"connect",			/* 98 = connect */
    112  1.1  mycroft 	"oaccept",			/* 99 = oaccept */
    113  1.1  mycroft 	"getpriority",			/* 100 = getpriority */
    114  1.1  mycroft 	"osend",			/* 101 = osend */
    115  1.1  mycroft 	"orecv",			/* 102 = orecv */
    116  1.1  mycroft 	"sigreturn",			/* 103 = sigreturn */
    117  1.1  mycroft 	"bind",			/* 104 = bind */
    118  1.1  mycroft 	"setsockopt",			/* 105 = setsockopt */
    119  1.1  mycroft 	"listen",			/* 106 = listen */
    120  1.1  mycroft 	"#107 (obsolete vtimes)",		/* 107 = obsolete vtimes */
    121  1.1  mycroft 	"osigvec",			/* 108 = osigvec */
    122  1.1  mycroft 	"osigblock",			/* 109 = osigblock */
    123  1.1  mycroft 	"osigsetmask",			/* 110 = osigsetmask */
    124  1.1  mycroft 	"sigsuspend",			/* 111 = sigsuspend */
    125  1.1  mycroft 	"osigstack",			/* 112 = osigstack */
    126  1.1  mycroft 	"orecvmsg",			/* 113 = orecvmsg */
    127  1.1  mycroft 	"osendmsg",			/* 114 = osendmsg */
    128  1.1  mycroft #ifdef TRACE
    129  1.1  mycroft 	"vtrace",			/* 115 = vtrace */
    130  1.1  mycroft #else
    131  1.1  mycroft 	"#115 (obsolete vtrace)",		/* 115 = obsolete vtrace */
    132  1.1  mycroft #endif
    133  1.1  mycroft 	"gettimeofday",			/* 116 = gettimeofday */
    134  1.1  mycroft 	"getrusage",			/* 117 = getrusage */
    135  1.1  mycroft 	"getsockopt",			/* 118 = getsockopt */
    136  1.1  mycroft 	"#119 (obsolete resuba)",		/* 119 = obsolete resuba */
    137  1.1  mycroft 	"readv",			/* 120 = readv */
    138  1.1  mycroft 	"writev",			/* 121 = writev */
    139  1.1  mycroft 	"settimeofday",			/* 122 = settimeofday */
    140  1.1  mycroft 	"fchown",			/* 123 = fchown */
    141  1.1  mycroft 	"fchmod",			/* 124 = fchmod */
    142  1.1  mycroft 	"orecvfrom",			/* 125 = orecvfrom */
    143  1.1  mycroft 	"osetreuid",			/* 126 = osetreuid */
    144  1.1  mycroft 	"osetregid",			/* 127 = osetregid */
    145  1.1  mycroft 	"rename",			/* 128 = rename */
    146  1.1  mycroft 	"otruncate",			/* 129 = otruncate */
    147  1.1  mycroft 	"ftruncate",			/* 130 = ftruncate */
    148  1.1  mycroft 	"oftruncate",			/* 131 = oftruncate */
    149  1.1  mycroft 	"mkfifo",			/* 132 = mkfifo */
    150  1.1  mycroft 	"sendto",			/* 133 = sendto */
    151  1.1  mycroft 	"shutdown",			/* 134 = shutdown */
    152  1.1  mycroft 	"socketpair",			/* 135 = socketpair */
    153  1.1  mycroft 	"mkdir",			/* 136 = mkdir */
    154  1.1  mycroft 	"rmdir",			/* 137 = rmdir */
    155  1.1  mycroft 	"utimes",			/* 138 = utimes */
    156  1.1  mycroft 	"#139 (obsolete 4.2 sigreturn)",		/* 139 = obsolete 4.2 sigreturn */
    157  1.1  mycroft 	"adjtime",			/* 140 = adjtime */
    158  1.1  mycroft 	"ogetpeername",			/* 141 = ogetpeername */
    159  1.1  mycroft 	"ogethostid",			/* 142 = ogethostid */
    160  1.1  mycroft 	"osethostid",			/* 143 = osethostid */
    161  1.1  mycroft 	"ogetrlimit",			/* 144 = ogetrlimit */
    162  1.1  mycroft 	"osetrlimit",			/* 145 = osetrlimit */
    163  1.1  mycroft 	"okillpg",			/* 146 = okillpg */
    164  1.1  mycroft 	"setsid",			/* 147 = setsid */
    165  1.1  mycroft 	"quotactl",			/* 148 = quotactl */
    166  1.1  mycroft 	"oquota",			/* 149 = oquota */
    167  1.1  mycroft 	"ogetsockname",			/* 150 = ogetsockname */
    168  1.1  mycroft 	"#151 (unimplemented)",		/* 151 = unimplemented */
    169  1.1  mycroft 	"#152 (unimplemented)",		/* 152 = unimplemented */
    170  1.1  mycroft 	"#153 (unimplemented)",		/* 153 = unimplemented */
    171  1.1  mycroft 	"#154 (unimplemented)",		/* 154 = unimplemented */
    172  1.1  mycroft #if defined(NFSCLIENT) || defined(NFSSERVER)
    173  1.1  mycroft 	"nfssvc",			/* 155 = nfssvc */
    174  1.1  mycroft #else
    175  1.1  mycroft 	"#155 (unimplemented)",		/* 155 = unimplemented */
    176  1.1  mycroft #endif
    177  1.1  mycroft 	"ogetdirentries",			/* 156 = ogetdirentries */
    178  1.1  mycroft 	"statfs",			/* 157 = statfs */
    179  1.1  mycroft 	"fstatfs",			/* 158 = fstatfs */
    180  1.1  mycroft 	"#159 (unimplemented)",		/* 159 = unimplemented */
    181  1.1  mycroft 	"#160 (unimplemented)",		/* 160 = unimplemented */
    182  1.1  mycroft #ifdef NFSCLIENT
    183  1.1  mycroft 	"getfh",			/* 161 = getfh */
    184  1.1  mycroft #else
    185  1.1  mycroft 	"#161 (unimplemented getfh)",		/* 161 = unimplemented getfh */
    186  1.1  mycroft #endif
    187  1.1  mycroft 	"getdomainname",			/* 162 = getdomainname */
    188  1.1  mycroft 	"setdomainname",			/* 163 = setdomainname */
    189  1.1  mycroft 	"uname",			/* 164 = uname */
    190  1.1  mycroft 	"sysarch",			/* 165 = sysarch */
    191  1.1  mycroft 	"rtprio",			/* 166 = rtprio */
    192  1.1  mycroft 	"#167 (unimplemented)",		/* 167 = unimplemented */
    193  1.1  mycroft 	"#168 (unimplemented)",		/* 168 = unimplemented */
    194  1.1  mycroft #if defined(SYSVSEM) && !defined(alpha)
    195  1.1  mycroft 	"semsys",			/* 169 = semsys */
    196  1.1  mycroft #else
    197  1.1  mycroft 	"#169 (unimplemented 1.0 semsys)",		/* 169 = unimplemented 1.0 semsys */
    198  1.1  mycroft #endif
    199  1.1  mycroft #if defined(SYSVMSG) && !defined(alpha)
    200  1.1  mycroft 	"msgsys",			/* 170 = msgsys */
    201  1.1  mycroft #else
    202  1.1  mycroft 	"#170 (unimplemented 1.0 msgsys)",		/* 170 = unimplemented 1.0 msgsys */
    203  1.1  mycroft #endif
    204  1.1  mycroft #if defined(SYSVSHM) && !defined(alpha)
    205  1.1  mycroft 	"shmsys",			/* 171 = shmsys */
    206  1.1  mycroft #else
    207  1.1  mycroft 	"#171 (unimplemented 1.0 shmsys)",		/* 171 = unimplemented 1.0 shmsys */
    208  1.1  mycroft #endif
    209  1.1  mycroft 	"#172 (unimplemented)",		/* 172 = unimplemented */
    210  1.1  mycroft 	"#173 (unimplemented)",		/* 173 = unimplemented */
    211  1.1  mycroft 	"#174 (unimplemented)",		/* 174 = unimplemented */
    212  1.1  mycroft 	"#175 (unimplemented)",		/* 175 = unimplemented */
    213  1.1  mycroft 	"freebsd_ntp_adjtime",			/* 176 = freebsd_ntp_adjtime */
    214  1.1  mycroft 	"#177 (unimplemented)",		/* 177 = unimplemented */
    215  1.1  mycroft 	"#178 (unimplemented)",		/* 178 = unimplemented */
    216  1.1  mycroft 	"#179 (unimplemented)",		/* 179 = unimplemented */
    217  1.1  mycroft 	"#180 (unimplemented)",		/* 180 = unimplemented */
    218  1.1  mycroft 	"setgid",			/* 181 = setgid */
    219  1.1  mycroft 	"setegid",			/* 182 = setegid */
    220  1.1  mycroft 	"seteuid",			/* 183 = seteuid */
    221  1.1  mycroft #ifdef LFS
    222  1.1  mycroft 	"lfs_bmapv",			/* 184 = lfs_bmapv */
    223  1.1  mycroft 	"lfs_markv",			/* 185 = lfs_markv */
    224  1.1  mycroft 	"lfs_segclean",			/* 186 = lfs_segclean */
    225  1.1  mycroft 	"lfs_segwait",			/* 187 = lfs_segwait */
    226  1.1  mycroft #else
    227  1.1  mycroft 	"#184 (unimplemented)",		/* 184 = unimplemented */
    228  1.1  mycroft 	"#185 (unimplemented)",		/* 185 = unimplemented */
    229  1.1  mycroft 	"#186 (unimplemented)",		/* 186 = unimplemented */
    230  1.1  mycroft 	"#187 (unimplemented)",		/* 187 = unimplemented */
    231  1.1  mycroft #endif
    232  1.1  mycroft 	"stat",			/* 188 = stat */
    233  1.1  mycroft 	"fstat",			/* 189 = fstat */
    234  1.1  mycroft 	"lstat",			/* 190 = lstat */
    235  1.1  mycroft 	"pathconf",			/* 191 = pathconf */
    236  1.1  mycroft 	"fpathconf",			/* 192 = fpathconf */
    237  1.1  mycroft 	"#193 (unimplemented)",		/* 193 = unimplemented */
    238  1.1  mycroft 	"getrlimit",			/* 194 = getrlimit */
    239  1.1  mycroft 	"setrlimit",			/* 195 = setrlimit */
    240  1.1  mycroft 	"getdirentries",			/* 196 = getdirentries */
    241  1.1  mycroft 	"mmap",			/* 197 = mmap */
    242  1.1  mycroft 	"__syscall",			/* 198 = __syscall */
    243  1.1  mycroft 	"lseek",			/* 199 = lseek */
    244  1.1  mycroft 	"truncate",			/* 200 = truncate */
    245  1.1  mycroft 	"ftruncate",			/* 201 = ftruncate */
    246  1.1  mycroft 	"__sysctl",			/* 202 = __sysctl */
    247  1.1  mycroft 	"mlock",			/* 203 = mlock */
    248  1.1  mycroft 	"munlock",			/* 204 = munlock */
    249  1.1  mycroft #ifdef FREEBSD_BASED_ON_44LITE_R2
    250  1.1  mycroft 	"undelete",			/* 205 = undelete */
    251  1.1  mycroft #else
    252  1.1  mycroft 	"#205 (unimplemented)",		/* 205 = unimplemented */
    253  1.1  mycroft #endif
    254  1.1  mycroft 	"#206 (unimplemented)",		/* 206 = unimplemented */
    255  1.1  mycroft 	"#207 (unimplemented)",		/* 207 = unimplemented */
    256  1.1  mycroft 	"#208 (unimplemented)",		/* 208 = unimplemented */
    257  1.1  mycroft 	"#209 (unimplemented)",		/* 209 = unimplemented */
    258  1.1  mycroft 	"#210 (unimplemented)",		/* 210 = unimplemented */
    259  1.1  mycroft 	"#211 (unimplemented)",		/* 211 = unimplemented */
    260  1.1  mycroft 	"#212 (unimplemented)",		/* 212 = unimplemented */
    261  1.1  mycroft 	"#213 (unimplemented)",		/* 213 = unimplemented */
    262  1.1  mycroft 	"#214 (unimplemented)",		/* 214 = unimplemented */
    263  1.1  mycroft 	"#215 (unimplemented)",		/* 215 = unimplemented */
    264  1.1  mycroft 	"#216 (unimplemented)",		/* 216 = unimplemented */
    265  1.1  mycroft 	"#217 (unimplemented)",		/* 217 = unimplemented */
    266  1.1  mycroft 	"#218 (unimplemented)",		/* 218 = unimplemented */
    267  1.1  mycroft 	"#219 (unimplemented)",		/* 219 = unimplemented */
    268  1.1  mycroft };
    269