linux_syscalls.c revision 234354
1/* 2 * System call names. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD: head/sys/i386/linux/linux_syscalls.c 234354 2012-04-16 21:24:23Z jkim $ 6 * created from FreeBSD: head/sys/i386/linux/syscalls.master 234352 2012-04-16 21:22:02Z jkim 7 */ 8 9const char *linux_syscallnames[] = { 10#define nosys linux_nosys 11 "#0", /* 0 = setup */ 12 "exit", /* 1 = exit */ 13 "linux_fork", /* 2 = linux_fork */ 14 "read", /* 3 = read */ 15 "write", /* 4 = write */ 16 "linux_open", /* 5 = linux_open */ 17 "close", /* 6 = close */ 18 "linux_waitpid", /* 7 = linux_waitpid */ 19 "linux_creat", /* 8 = linux_creat */ 20 "linux_link", /* 9 = linux_link */ 21 "linux_unlink", /* 10 = linux_unlink */ 22 "linux_execve", /* 11 = linux_execve */ 23 "linux_chdir", /* 12 = linux_chdir */ 24 "linux_time", /* 13 = linux_time */ 25 "linux_mknod", /* 14 = linux_mknod */ 26 "linux_chmod", /* 15 = linux_chmod */ 27 "linux_lchown16", /* 16 = linux_lchown16 */ 28 "#17", /* 17 = break */ 29 "linux_stat", /* 18 = linux_stat */ 30 "linux_lseek", /* 19 = linux_lseek */ 31 "linux_getpid", /* 20 = linux_getpid */ 32 "linux_mount", /* 21 = linux_mount */ 33 "linux_oldumount", /* 22 = linux_oldumount */ 34 "linux_setuid16", /* 23 = linux_setuid16 */ 35 "linux_getuid16", /* 24 = linux_getuid16 */ 36 "linux_stime", /* 25 = linux_stime */ 37 "linux_ptrace", /* 26 = linux_ptrace */ 38 "linux_alarm", /* 27 = linux_alarm */ 39 "linux_fstat", /* 28 = linux_fstat */ 40 "linux_pause", /* 29 = linux_pause */ 41 "linux_utime", /* 30 = linux_utime */ 42 "#31", /* 31 = stty */ 43 "#32", /* 32 = gtty */ 44 "linux_access", /* 33 = linux_access */ 45 "linux_nice", /* 34 = linux_nice */ 46 "#35", /* 35 = ftime */ 47 "sync", /* 36 = sync */ 48 "linux_kill", /* 37 = linux_kill */ 49 "linux_rename", /* 38 = linux_rename */ 50 "linux_mkdir", /* 39 = linux_mkdir */ 51 "linux_rmdir", /* 40 = linux_rmdir */ 52 "dup", /* 41 = dup */ 53 "linux_pipe", /* 42 = linux_pipe */ 54 "linux_times", /* 43 = linux_times */ 55 "#44", /* 44 = prof */ 56 "linux_brk", /* 45 = linux_brk */ 57 "linux_setgid16", /* 46 = linux_setgid16 */ 58 "linux_getgid16", /* 47 = linux_getgid16 */ 59 "linux_signal", /* 48 = linux_signal */ 60 "linux_geteuid16", /* 49 = linux_geteuid16 */ 61 "linux_getegid16", /* 50 = linux_getegid16 */ 62 "acct", /* 51 = acct */ 63 "linux_umount", /* 52 = linux_umount */ 64 "#53", /* 53 = lock */ 65 "linux_ioctl", /* 54 = linux_ioctl */ 66 "linux_fcntl", /* 55 = linux_fcntl */ 67 "#56", /* 56 = mpx */ 68 "setpgid", /* 57 = setpgid */ 69 "#58", /* 58 = ulimit */ 70 "linux_olduname", /* 59 = linux_olduname */ 71 "umask", /* 60 = umask */ 72 "chroot", /* 61 = chroot */ 73 "linux_ustat", /* 62 = linux_ustat */ 74 "dup2", /* 63 = dup2 */ 75 "linux_getppid", /* 64 = linux_getppid */ 76 "getpgrp", /* 65 = getpgrp */ 77 "setsid", /* 66 = setsid */ 78 "linux_sigaction", /* 67 = linux_sigaction */ 79 "linux_sgetmask", /* 68 = linux_sgetmask */ 80 "linux_ssetmask", /* 69 = linux_ssetmask */ 81 "linux_setreuid16", /* 70 = linux_setreuid16 */ 82 "linux_setregid16", /* 71 = linux_setregid16 */ 83 "linux_sigsuspend", /* 72 = linux_sigsuspend */ 84 "linux_sigpending", /* 73 = linux_sigpending */ 85 "linux_sethostname", /* 74 = linux_sethostname */ 86 "linux_setrlimit", /* 75 = linux_setrlimit */ 87 "linux_old_getrlimit", /* 76 = linux_old_getrlimit */ 88 "getrusage", /* 77 = getrusage */ 89 "gettimeofday", /* 78 = gettimeofday */ 90 "settimeofday", /* 79 = settimeofday */ 91 "linux_getgroups16", /* 80 = linux_getgroups16 */ 92 "linux_setgroups16", /* 81 = linux_setgroups16 */ 93 "linux_old_select", /* 82 = linux_old_select */ 94 "linux_symlink", /* 83 = linux_symlink */ 95 "linux_lstat", /* 84 = linux_lstat */ 96 "linux_readlink", /* 85 = linux_readlink */ 97 "linux_uselib", /* 86 = linux_uselib */ 98 "swapon", /* 87 = swapon */ 99 "linux_reboot", /* 88 = linux_reboot */ 100 "linux_readdir", /* 89 = linux_readdir */ 101 "linux_mmap", /* 90 = linux_mmap */ 102 "munmap", /* 91 = munmap */ 103 "linux_truncate", /* 92 = linux_truncate */ 104 "linux_ftruncate", /* 93 = linux_ftruncate */ 105 "fchmod", /* 94 = fchmod */ 106 "fchown", /* 95 = fchown */ 107 "linux_getpriority", /* 96 = linux_getpriority */ 108 "setpriority", /* 97 = setpriority */ 109 "#98", /* 98 = profil */ 110 "linux_statfs", /* 99 = linux_statfs */ 111 "linux_fstatfs", /* 100 = linux_fstatfs */ 112 "linux_ioperm", /* 101 = linux_ioperm */ 113 "linux_socketcall", /* 102 = linux_socketcall */ 114 "linux_syslog", /* 103 = linux_syslog */ 115 "linux_setitimer", /* 104 = linux_setitimer */ 116 "linux_getitimer", /* 105 = linux_getitimer */ 117 "linux_newstat", /* 106 = linux_newstat */ 118 "linux_newlstat", /* 107 = linux_newlstat */ 119 "linux_newfstat", /* 108 = linux_newfstat */ 120 "linux_uname", /* 109 = linux_uname */ 121 "linux_iopl", /* 110 = linux_iopl */ 122 "linux_vhangup", /* 111 = linux_vhangup */ 123 "#112", /* 112 = idle */ 124 "linux_vm86old", /* 113 = linux_vm86old */ 125 "linux_wait4", /* 114 = linux_wait4 */ 126 "linux_swapoff", /* 115 = linux_swapoff */ 127 "linux_sysinfo", /* 116 = linux_sysinfo */ 128 "linux_ipc", /* 117 = linux_ipc */ 129 "fsync", /* 118 = fsync */ 130 "linux_sigreturn", /* 119 = linux_sigreturn */ 131 "linux_clone", /* 120 = linux_clone */ 132 "linux_setdomainname", /* 121 = linux_setdomainname */ 133 "linux_newuname", /* 122 = linux_newuname */ 134 "linux_modify_ldt", /* 123 = linux_modify_ldt */ 135 "linux_adjtimex", /* 124 = linux_adjtimex */ 136 "linux_mprotect", /* 125 = linux_mprotect */ 137 "linux_sigprocmask", /* 126 = linux_sigprocmask */ 138 "linux_create_module", /* 127 = linux_create_module */ 139 "linux_init_module", /* 128 = linux_init_module */ 140 "linux_delete_module", /* 129 = linux_delete_module */ 141 "linux_get_kernel_syms", /* 130 = linux_get_kernel_syms */ 142 "linux_quotactl", /* 131 = linux_quotactl */ 143 "getpgid", /* 132 = getpgid */ 144 "fchdir", /* 133 = fchdir */ 145 "linux_bdflush", /* 134 = linux_bdflush */ 146 "linux_sysfs", /* 135 = linux_sysfs */ 147 "linux_personality", /* 136 = linux_personality */ 148 "#137", /* 137 = afs_syscall */ 149 "linux_setfsuid16", /* 138 = linux_setfsuid16 */ 150 "linux_setfsgid16", /* 139 = linux_setfsgid16 */ 151 "linux_llseek", /* 140 = linux_llseek */ 152 "linux_getdents", /* 141 = linux_getdents */ 153 "linux_select", /* 142 = linux_select */ 154 "flock", /* 143 = flock */ 155 "linux_msync", /* 144 = linux_msync */ 156 "readv", /* 145 = readv */ 157 "writev", /* 146 = writev */ 158 "linux_getsid", /* 147 = linux_getsid */ 159 "linux_fdatasync", /* 148 = linux_fdatasync */ 160 "linux_sysctl", /* 149 = linux_sysctl */ 161 "mlock", /* 150 = mlock */ 162 "munlock", /* 151 = munlock */ 163 "mlockall", /* 152 = mlockall */ 164 "munlockall", /* 153 = munlockall */ 165 "sched_setparam", /* 154 = sched_setparam */ 166 "sched_getparam", /* 155 = sched_getparam */ 167 "linux_sched_setscheduler", /* 156 = linux_sched_setscheduler */ 168 "linux_sched_getscheduler", /* 157 = linux_sched_getscheduler */ 169 "sched_yield", /* 158 = sched_yield */ 170 "linux_sched_get_priority_max", /* 159 = linux_sched_get_priority_max */ 171 "linux_sched_get_priority_min", /* 160 = linux_sched_get_priority_min */ 172 "sched_rr_get_interval", /* 161 = sched_rr_get_interval */ 173 "linux_nanosleep", /* 162 = linux_nanosleep */ 174 "linux_mremap", /* 163 = linux_mremap */ 175 "linux_setresuid16", /* 164 = linux_setresuid16 */ 176 "linux_getresuid16", /* 165 = linux_getresuid16 */ 177 "linux_vm86", /* 166 = linux_vm86 */ 178 "linux_query_module", /* 167 = linux_query_module */ 179 "poll", /* 168 = poll */ 180 "linux_nfsservctl", /* 169 = linux_nfsservctl */ 181 "linux_setresgid16", /* 170 = linux_setresgid16 */ 182 "linux_getresgid16", /* 171 = linux_getresgid16 */ 183 "linux_prctl", /* 172 = linux_prctl */ 184 "linux_rt_sigreturn", /* 173 = linux_rt_sigreturn */ 185 "linux_rt_sigaction", /* 174 = linux_rt_sigaction */ 186 "linux_rt_sigprocmask", /* 175 = linux_rt_sigprocmask */ 187 "linux_rt_sigpending", /* 176 = linux_rt_sigpending */ 188 "linux_rt_sigtimedwait", /* 177 = linux_rt_sigtimedwait */ 189 "linux_rt_sigqueueinfo", /* 178 = linux_rt_sigqueueinfo */ 190 "linux_rt_sigsuspend", /* 179 = linux_rt_sigsuspend */ 191 "linux_pread", /* 180 = linux_pread */ 192 "linux_pwrite", /* 181 = linux_pwrite */ 193 "linux_chown16", /* 182 = linux_chown16 */ 194 "linux_getcwd", /* 183 = linux_getcwd */ 195 "linux_capget", /* 184 = linux_capget */ 196 "linux_capset", /* 185 = linux_capset */ 197 "linux_sigaltstack", /* 186 = linux_sigaltstack */ 198 "linux_sendfile", /* 187 = linux_sendfile */ 199 "#188", /* 188 = getpmsg */ 200 "#189", /* 189 = putpmsg */ 201 "linux_vfork", /* 190 = linux_vfork */ 202 "linux_getrlimit", /* 191 = linux_getrlimit */ 203 "linux_mmap2", /* 192 = linux_mmap2 */ 204 "linux_truncate64", /* 193 = linux_truncate64 */ 205 "linux_ftruncate64", /* 194 = linux_ftruncate64 */ 206 "linux_stat64", /* 195 = linux_stat64 */ 207 "linux_lstat64", /* 196 = linux_lstat64 */ 208 "linux_fstat64", /* 197 = linux_fstat64 */ 209 "linux_lchown", /* 198 = linux_lchown */ 210 "linux_getuid", /* 199 = linux_getuid */ 211 "linux_getgid", /* 200 = linux_getgid */ 212 "geteuid", /* 201 = geteuid */ 213 "getegid", /* 202 = getegid */ 214 "setreuid", /* 203 = setreuid */ 215 "setregid", /* 204 = setregid */ 216 "linux_getgroups", /* 205 = linux_getgroups */ 217 "linux_setgroups", /* 206 = linux_setgroups */ 218 "fchown", /* 207 = fchown */ 219 "setresuid", /* 208 = setresuid */ 220 "getresuid", /* 209 = getresuid */ 221 "setresgid", /* 210 = setresgid */ 222 "getresgid", /* 211 = getresgid */ 223 "linux_chown", /* 212 = linux_chown */ 224 "setuid", /* 213 = setuid */ 225 "setgid", /* 214 = setgid */ 226 "linux_setfsuid", /* 215 = linux_setfsuid */ 227 "linux_setfsgid", /* 216 = linux_setfsgid */ 228 "linux_pivot_root", /* 217 = linux_pivot_root */ 229 "linux_mincore", /* 218 = linux_mincore */ 230 "madvise", /* 219 = madvise */ 231 "linux_getdents64", /* 220 = linux_getdents64 */ 232 "linux_fcntl64", /* 221 = linux_fcntl64 */ 233 "#222", /* 222 = */ 234 "#223", /* 223 = */ 235 "linux_gettid", /* 224 = linux_gettid */ 236 "#225", /* 225 = linux_readahead */ 237 "linux_setxattr", /* 226 = linux_setxattr */ 238 "linux_lsetxattr", /* 227 = linux_lsetxattr */ 239 "linux_fsetxattr", /* 228 = linux_fsetxattr */ 240 "linux_getxattr", /* 229 = linux_getxattr */ 241 "linux_lgetxattr", /* 230 = linux_lgetxattr */ 242 "linux_fgetxattr", /* 231 = linux_fgetxattr */ 243 "linux_listxattr", /* 232 = linux_listxattr */ 244 "linux_llistxattr", /* 233 = linux_llistxattr */ 245 "linux_flistxattr", /* 234 = linux_flistxattr */ 246 "linux_removexattr", /* 235 = linux_removexattr */ 247 "linux_lremovexattr", /* 236 = linux_lremovexattr */ 248 "linux_fremovexattr", /* 237 = linux_fremovexattr */ 249 "linux_tkill", /* 238 = linux_tkill */ 250 "#239", /* 239 = linux_sendfile64 */ 251 "linux_sys_futex", /* 240 = linux_sys_futex */ 252 "linux_sched_setaffinity", /* 241 = linux_sched_setaffinity */ 253 "linux_sched_getaffinity", /* 242 = linux_sched_getaffinity */ 254 "linux_set_thread_area", /* 243 = linux_set_thread_area */ 255 "linux_get_thread_area", /* 244 = linux_get_thread_area */ 256 "#245", /* 245 = linux_io_setup */ 257 "#246", /* 246 = linux_io_destroy */ 258 "#247", /* 247 = linux_io_getevents */ 259 "#248", /* 248 = linux_io_submit */ 260 "#249", /* 249 = linux_io_cancel */ 261 "linux_fadvise64", /* 250 = linux_fadvise64 */ 262 "#251", /* 251 = */ 263 "linux_exit_group", /* 252 = linux_exit_group */ 264 "linux_lookup_dcookie", /* 253 = linux_lookup_dcookie */ 265 "linux_epoll_create", /* 254 = linux_epoll_create */ 266 "linux_epoll_ctl", /* 255 = linux_epoll_ctl */ 267 "linux_epoll_wait", /* 256 = linux_epoll_wait */ 268 "linux_remap_file_pages", /* 257 = linux_remap_file_pages */ 269 "linux_set_tid_address", /* 258 = linux_set_tid_address */ 270 "linux_timer_create", /* 259 = linux_timer_create */ 271 "linux_timer_settime", /* 260 = linux_timer_settime */ 272 "linux_timer_gettime", /* 261 = linux_timer_gettime */ 273 "linux_timer_getoverrun", /* 262 = linux_timer_getoverrun */ 274 "linux_timer_delete", /* 263 = linux_timer_delete */ 275 "linux_clock_settime", /* 264 = linux_clock_settime */ 276 "linux_clock_gettime", /* 265 = linux_clock_gettime */ 277 "linux_clock_getres", /* 266 = linux_clock_getres */ 278 "linux_clock_nanosleep", /* 267 = linux_clock_nanosleep */ 279 "linux_statfs64", /* 268 = linux_statfs64 */ 280 "linux_fstatfs64", /* 269 = linux_fstatfs64 */ 281 "linux_tgkill", /* 270 = linux_tgkill */ 282 "linux_utimes", /* 271 = linux_utimes */ 283 "linux_fadvise64_64", /* 272 = linux_fadvise64_64 */ 284 "#273", /* 273 = vserver */ 285 "linux_mbind", /* 274 = linux_mbind */ 286 "linux_get_mempolicy", /* 275 = linux_get_mempolicy */ 287 "linux_set_mempolicy", /* 276 = linux_set_mempolicy */ 288 "linux_mq_open", /* 277 = linux_mq_open */ 289 "linux_mq_unlink", /* 278 = linux_mq_unlink */ 290 "linux_mq_timedsend", /* 279 = linux_mq_timedsend */ 291 "linux_mq_timedreceive", /* 280 = linux_mq_timedreceive */ 292 "linux_mq_notify", /* 281 = linux_mq_notify */ 293 "linux_mq_getsetattr", /* 282 = linux_mq_getsetattr */ 294 "linux_kexec_load", /* 283 = linux_kexec_load */ 295 "linux_waitid", /* 284 = linux_waitid */ 296 "#285", /* 285 = */ 297 "linux_add_key", /* 286 = linux_add_key */ 298 "linux_request_key", /* 287 = linux_request_key */ 299 "linux_keyctl", /* 288 = linux_keyctl */ 300 "linux_ioprio_set", /* 289 = linux_ioprio_set */ 301 "linux_ioprio_get", /* 290 = linux_ioprio_get */ 302 "linux_inotify_init", /* 291 = linux_inotify_init */ 303 "linux_inotify_add_watch", /* 292 = linux_inotify_add_watch */ 304 "linux_inotify_rm_watch", /* 293 = linux_inotify_rm_watch */ 305 "linux_migrate_pages", /* 294 = linux_migrate_pages */ 306 "linux_openat", /* 295 = linux_openat */ 307 "linux_mkdirat", /* 296 = linux_mkdirat */ 308 "linux_mknodat", /* 297 = linux_mknodat */ 309 "linux_fchownat", /* 298 = linux_fchownat */ 310 "linux_futimesat", /* 299 = linux_futimesat */ 311 "linux_fstatat64", /* 300 = linux_fstatat64 */ 312 "linux_unlinkat", /* 301 = linux_unlinkat */ 313 "linux_renameat", /* 302 = linux_renameat */ 314 "linux_linkat", /* 303 = linux_linkat */ 315 "linux_symlinkat", /* 304 = linux_symlinkat */ 316 "linux_readlinkat", /* 305 = linux_readlinkat */ 317 "linux_fchmodat", /* 306 = linux_fchmodat */ 318 "linux_faccessat", /* 307 = linux_faccessat */ 319 "linux_pselect6", /* 308 = linux_pselect6 */ 320 "linux_ppoll", /* 309 = linux_ppoll */ 321 "linux_unshare", /* 310 = linux_unshare */ 322 "linux_set_robust_list", /* 311 = linux_set_robust_list */ 323 "linux_get_robust_list", /* 312 = linux_get_robust_list */ 324 "linux_splice", /* 313 = linux_splice */ 325 "linux_sync_file_range", /* 314 = linux_sync_file_range */ 326 "linux_tee", /* 315 = linux_tee */ 327 "linux_vmsplice", /* 316 = linux_vmsplice */ 328 "linux_move_pages", /* 317 = linux_move_pages */ 329 "linux_getcpu", /* 318 = linux_getcpu */ 330 "linux_epoll_pwait", /* 319 = linux_epoll_pwait */ 331 "linux_utimensat", /* 320 = linux_utimensat */ 332 "linux_signalfd", /* 321 = linux_signalfd */ 333 "linux_timerfd_create", /* 322 = linux_timerfd_create */ 334 "linux_eventfd", /* 323 = linux_eventfd */ 335 "linux_fallocate", /* 324 = linux_fallocate */ 336 "linux_timerfd_settime", /* 325 = linux_timerfd_settime */ 337 "linux_timerfd_gettime", /* 326 = linux_timerfd_gettime */ 338 "linux_signalfd4", /* 327 = linux_signalfd4 */ 339 "linux_eventfd2", /* 328 = linux_eventfd2 */ 340 "linux_epoll_create1", /* 329 = linux_epoll_create1 */ 341 "linux_dup3", /* 330 = linux_dup3 */ 342 "linux_pipe2", /* 331 = linux_pipe2 */ 343 "linux_inotify_init1", /* 332 = linux_inotify_init1 */ 344 "linux_preadv", /* 333 = linux_preadv */ 345 "linux_pwritev", /* 334 = linux_pwritev */ 346 "linux_rt_tsigqueueinfo", /* 335 = linux_rt_tsigqueueinfo */ 347 "linux_perf_event_open", /* 336 = linux_perf_event_open */ 348 "linux_recvmmsg", /* 337 = linux_recvmmsg */ 349 "linux_fanotify_init", /* 338 = linux_fanotify_init */ 350 "linux_fanotify_mark", /* 339 = linux_fanotify_mark */ 351 "linux_prlimit64", /* 340 = linux_prlimit64 */ 352 "linux_name_to_handle_at", /* 341 = linux_name_to_handle_at */ 353 "linux_open_by_handle_at", /* 342 = linux_open_by_handle_at */ 354 "linux_clock_adjtime", /* 343 = linux_clock_adjtime */ 355 "linux_syncfs", /* 344 = linux_syncfs */ 356 "linux_sendmmsg", /* 345 = linux_sendmmsg */ 357 "linux_setns", /* 346 = linux_setns */ 358 "linux_process_vm_readv", /* 347 = linux_process_vm_readv */ 359 "linux_process_vm_writev", /* 348 = linux_process_vm_writev */ 360}; 361