07be3b5e76
linux_sched_get_priority_min().
219 lines
15 KiB
C
219 lines
15 KiB
C
/*
|
|
* System call switch table.
|
|
*
|
|
* DO NOT EDIT-- this file is automatically generated.
|
|
* $FreeBSD$
|
|
* created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.40 2001/04/01 06:37:40 alc Exp
|
|
*/
|
|
|
|
#include "opt_compat.h"
|
|
#include <sys/param.h>
|
|
#include <sys/sysent.h>
|
|
#include <sys/sysproto.h>
|
|
#include <i386/linux/linux.h>
|
|
#include <i386/linux/linux_proto.h>
|
|
|
|
#define AS(name) (sizeof(struct name) / sizeof(register_t))
|
|
|
|
/* The casts are bogus but will do for now. */
|
|
struct sysent linux_sysent[] = {
|
|
{ 0, (sy_call_t *)linux_setup }, /* 0 = linux_setup */
|
|
{ AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
|
|
{ 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */
|
|
{ AS(read_args), (sy_call_t *)read }, /* 3 = read */
|
|
{ AS(write_args), (sy_call_t *)write }, /* 4 = write */
|
|
{ AS(linux_open_args), (sy_call_t *)linux_open }, /* 5 = linux_open */
|
|
{ AS(close_args), (sy_call_t *)close }, /* 6 = close */
|
|
{ AS(linux_waitpid_args), (sy_call_t *)linux_waitpid }, /* 7 = linux_waitpid */
|
|
{ AS(linux_creat_args), (sy_call_t *)linux_creat }, /* 8 = linux_creat */
|
|
{ AS(linux_link_args), (sy_call_t *)linux_link }, /* 9 = linux_link */
|
|
{ AS(linux_unlink_args), (sy_call_t *)linux_unlink }, /* 10 = linux_unlink */
|
|
{ AS(linux_execve_args), (sy_call_t *)linux_execve }, /* 11 = linux_execve */
|
|
{ AS(linux_chdir_args), (sy_call_t *)linux_chdir }, /* 12 = linux_chdir */
|
|
{ AS(linux_time_args), (sy_call_t *)linux_time }, /* 13 = linux_time */
|
|
{ AS(linux_mknod_args), (sy_call_t *)linux_mknod }, /* 14 = linux_mknod */
|
|
{ AS(linux_chmod_args), (sy_call_t *)linux_chmod }, /* 15 = linux_chmod */
|
|
{ AS(linux_lchown_args), (sy_call_t *)linux_lchown }, /* 16 = linux_lchown */
|
|
{ AS(linux_break_args), (sy_call_t *)linux_break }, /* 17 = linux_break */
|
|
{ AS(linux_stat_args), (sy_call_t *)linux_stat }, /* 18 = linux_stat */
|
|
{ AS(linux_lseek_args), (sy_call_t *)linux_lseek }, /* 19 = linux_lseek */
|
|
{ 0, (sy_call_t *)getpid }, /* 20 = getpid */
|
|
{ AS(linux_mount_args), (sy_call_t *)linux_mount }, /* 21 = linux_mount */
|
|
{ AS(linux_umount_args), (sy_call_t *)linux_umount }, /* 22 = linux_umount */
|
|
{ AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */
|
|
{ 0, (sy_call_t *)getuid }, /* 24 = getuid */
|
|
{ 0, (sy_call_t *)linux_stime }, /* 25 = linux_stime */
|
|
{ 0, (sy_call_t *)linux_ptrace }, /* 26 = linux_ptrace */
|
|
{ AS(linux_alarm_args), (sy_call_t *)linux_alarm }, /* 27 = linux_alarm */
|
|
{ AS(linux_fstat_args), (sy_call_t *)linux_fstat }, /* 28 = linux_fstat */
|
|
{ 0, (sy_call_t *)linux_pause }, /* 29 = linux_pause */
|
|
{ AS(linux_utime_args), (sy_call_t *)linux_utime }, /* 30 = linux_utime */
|
|
{ 0, (sy_call_t *)linux_stty }, /* 31 = linux_stty */
|
|
{ 0, (sy_call_t *)linux_gtty }, /* 32 = linux_gtty */
|
|
{ AS(linux_access_args), (sy_call_t *)linux_access }, /* 33 = linux_access */
|
|
{ AS(linux_nice_args), (sy_call_t *)linux_nice }, /* 34 = linux_nice */
|
|
{ 0, (sy_call_t *)linux_ftime }, /* 35 = linux_ftime */
|
|
{ 0, (sy_call_t *)sync }, /* 36 = sync */
|
|
{ AS(linux_kill_args), (sy_call_t *)linux_kill }, /* 37 = linux_kill */
|
|
{ AS(linux_rename_args), (sy_call_t *)linux_rename }, /* 38 = linux_rename */
|
|
{ AS(linux_mkdir_args), (sy_call_t *)linux_mkdir }, /* 39 = linux_mkdir */
|
|
{ AS(linux_rmdir_args), (sy_call_t *)linux_rmdir }, /* 40 = linux_rmdir */
|
|
{ AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
|
|
{ AS(linux_pipe_args), (sy_call_t *)linux_pipe }, /* 42 = linux_pipe */
|
|
{ AS(linux_times_args), (sy_call_t *)linux_times }, /* 43 = linux_times */
|
|
{ 0, (sy_call_t *)linux_prof }, /* 44 = linux_prof */
|
|
{ AS(linux_brk_args), (sy_call_t *)linux_brk }, /* 45 = linux_brk */
|
|
{ AS(setgid_args), (sy_call_t *)setgid }, /* 46 = setgid */
|
|
{ 0, (sy_call_t *)getgid }, /* 47 = getgid */
|
|
{ AS(linux_signal_args), (sy_call_t *)linux_signal }, /* 48 = linux_signal */
|
|
{ 0, (sy_call_t *)geteuid }, /* 49 = geteuid */
|
|
{ 0, (sy_call_t *)getegid }, /* 50 = getegid */
|
|
{ AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */
|
|
{ AS(linux_umount2_args), (sy_call_t *)linux_umount2 }, /* 52 = linux_umount2 */
|
|
{ 0, (sy_call_t *)linux_lock }, /* 53 = linux_lock */
|
|
{ AS(linux_ioctl_args), (sy_call_t *)linux_ioctl }, /* 54 = linux_ioctl */
|
|
{ AS(linux_fcntl_args), (sy_call_t *)linux_fcntl }, /* 55 = linux_fcntl */
|
|
{ 0, (sy_call_t *)linux_mpx }, /* 56 = linux_mpx */
|
|
{ AS(setpgid_args), (sy_call_t *)setpgid }, /* 57 = setpgid */
|
|
{ 0, (sy_call_t *)linux_ulimit }, /* 58 = linux_ulimit */
|
|
{ 0, (sy_call_t *)linux_olduname }, /* 59 = linux_olduname */
|
|
{ AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */
|
|
{ AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */
|
|
{ AS(linux_ustat_args), (sy_call_t *)linux_ustat }, /* 62 = linux_ustat */
|
|
{ AS(dup2_args), (sy_call_t *)dup2 }, /* 63 = dup2 */
|
|
{ 0, (sy_call_t *)getppid }, /* 64 = getppid */
|
|
{ 0, (sy_call_t *)getpgrp }, /* 65 = getpgrp */
|
|
{ 0, (sy_call_t *)setsid }, /* 66 = setsid */
|
|
{ AS(linux_sigaction_args), (sy_call_t *)linux_sigaction }, /* 67 = linux_sigaction */
|
|
{ 0, (sy_call_t *)linux_siggetmask }, /* 68 = linux_siggetmask */
|
|
{ AS(linux_sigsetmask_args), (sy_call_t *)linux_sigsetmask }, /* 69 = linux_sigsetmask */
|
|
{ AS(setreuid_args), (sy_call_t *)setreuid }, /* 70 = setreuid */
|
|
{ AS(setregid_args), (sy_call_t *)setregid }, /* 71 = setregid */
|
|
{ AS(linux_sigsuspend_args), (sy_call_t *)linux_sigsuspend }, /* 72 = linux_sigsuspend */
|
|
{ AS(linux_sigpending_args), (sy_call_t *)linux_sigpending }, /* 73 = linux_sigpending */
|
|
{ AS(sethostname_args), (sy_call_t *)osethostname }, /* 74 = osethostname */
|
|
{ AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit }, /* 75 = linux_setrlimit */
|
|
{ AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit }, /* 76 = linux_getrlimit */
|
|
{ AS(getrusage_args), (sy_call_t *)getrusage }, /* 77 = getrusage */
|
|
{ AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 78 = gettimeofday */
|
|
{ AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 79 = settimeofday */
|
|
{ AS(linux_getgroups_args), (sy_call_t *)linux_getgroups }, /* 80 = linux_getgroups */
|
|
{ AS(linux_setgroups_args), (sy_call_t *)linux_setgroups }, /* 81 = linux_setgroups */
|
|
{ AS(linux_select_args), (sy_call_t *)linux_select }, /* 82 = linux_select */
|
|
{ AS(linux_symlink_args), (sy_call_t *)linux_symlink }, /* 83 = linux_symlink */
|
|
{ AS(ostat_args), (sy_call_t *)ostat }, /* 84 = ostat */
|
|
{ AS(linux_readlink_args), (sy_call_t *)linux_readlink }, /* 85 = linux_readlink */
|
|
{ AS(linux_uselib_args), (sy_call_t *)linux_uselib }, /* 86 = linux_uselib */
|
|
{ AS(swapon_args), (sy_call_t *)swapon }, /* 87 = swapon */
|
|
{ AS(linux_reboot_args), (sy_call_t *)linux_reboot }, /* 88 = linux_reboot */
|
|
{ AS(linux_readdir_args), (sy_call_t *)linux_readdir }, /* 89 = linux_readdir */
|
|
{ AS(linux_mmap_args), (sy_call_t *)linux_mmap }, /* 90 = linux_mmap */
|
|
{ AS(munmap_args), (sy_call_t *)munmap }, /* 91 = munmap */
|
|
{ AS(linux_truncate_args), (sy_call_t *)linux_truncate }, /* 92 = linux_truncate */
|
|
{ AS(oftruncate_args), (sy_call_t *)oftruncate }, /* 93 = oftruncate */
|
|
{ AS(fchmod_args), (sy_call_t *)fchmod }, /* 94 = fchmod */
|
|
{ AS(fchown_args), (sy_call_t *)fchown }, /* 95 = fchown */
|
|
{ AS(getpriority_args), (sy_call_t *)getpriority }, /* 96 = getpriority */
|
|
{ AS(setpriority_args), (sy_call_t *)setpriority }, /* 97 = setpriority */
|
|
{ AS(profil_args), (sy_call_t *)profil }, /* 98 = profil */
|
|
{ AS(linux_statfs_args), (sy_call_t *)linux_statfs }, /* 99 = linux_statfs */
|
|
{ AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs }, /* 100 = linux_fstatfs */
|
|
{ AS(linux_ioperm_args), (sy_call_t *)linux_ioperm }, /* 101 = linux_ioperm */
|
|
{ AS(linux_socketcall_args), (sy_call_t *)linux_socketcall }, /* 102 = linux_socketcall */
|
|
{ AS(linux_ksyslog_args), (sy_call_t *)linux_ksyslog }, /* 103 = linux_ksyslog */
|
|
{ AS(linux_setitimer_args), (sy_call_t *)linux_setitimer }, /* 104 = linux_setitimer */
|
|
{ AS(linux_getitimer_args), (sy_call_t *)linux_getitimer }, /* 105 = linux_getitimer */
|
|
{ AS(linux_newstat_args), (sy_call_t *)linux_newstat }, /* 106 = linux_newstat */
|
|
{ AS(linux_newlstat_args), (sy_call_t *)linux_newlstat }, /* 107 = linux_newlstat */
|
|
{ AS(linux_newfstat_args), (sy_call_t *)linux_newfstat }, /* 108 = linux_newfstat */
|
|
{ 0, (sy_call_t *)linux_uname }, /* 109 = linux_uname */
|
|
{ AS(linux_iopl_args), (sy_call_t *)linux_iopl }, /* 110 = linux_iopl */
|
|
{ 0, (sy_call_t *)linux_vhangup }, /* 111 = linux_vhangup */
|
|
{ 0, (sy_call_t *)linux_idle }, /* 112 = linux_idle */
|
|
{ 0, (sy_call_t *)linux_vm86old }, /* 113 = linux_vm86old */
|
|
{ AS(linux_wait4_args), (sy_call_t *)linux_wait4 }, /* 114 = linux_wait4 */
|
|
{ 0, (sy_call_t *)linux_swapoff }, /* 115 = linux_swapoff */
|
|
{ 0, (sy_call_t *)linux_sysinfo }, /* 116 = linux_sysinfo */
|
|
{ AS(linux_ipc_args), (sy_call_t *)linux_ipc }, /* 117 = linux_ipc */
|
|
{ AS(fsync_args), (sy_call_t *)fsync }, /* 118 = fsync */
|
|
{ AS(linux_sigreturn_args), (sy_call_t *)linux_sigreturn }, /* 119 = linux_sigreturn */
|
|
{ AS(linux_clone_args), (sy_call_t *)linux_clone }, /* 120 = linux_clone */
|
|
{ AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 121 = setdomainname */
|
|
{ AS(linux_newuname_args), (sy_call_t *)linux_newuname }, /* 122 = linux_newuname */
|
|
{ AS(linux_modify_ldt_args), (sy_call_t *)linux_modify_ldt }, /* 123 = linux_modify_ldt */
|
|
{ 0, (sy_call_t *)linux_adjtimex }, /* 124 = linux_adjtimex */
|
|
{ AS(mprotect_args), (sy_call_t *)mprotect }, /* 125 = mprotect */
|
|
{ AS(linux_sigprocmask_args), (sy_call_t *)linux_sigprocmask }, /* 126 = linux_sigprocmask */
|
|
{ 0, (sy_call_t *)linux_create_module }, /* 127 = linux_create_module */
|
|
{ 0, (sy_call_t *)linux_init_module }, /* 128 = linux_init_module */
|
|
{ 0, (sy_call_t *)linux_delete_module }, /* 129 = linux_delete_module */
|
|
{ 0, (sy_call_t *)linux_get_kernel_syms }, /* 130 = linux_get_kernel_syms */
|
|
{ 0, (sy_call_t *)linux_quotactl }, /* 131 = linux_quotactl */
|
|
{ AS(linux_getpgid_args), (sy_call_t *)linux_getpgid }, /* 132 = linux_getpgid */
|
|
{ AS(fchdir_args), (sy_call_t *)fchdir }, /* 133 = fchdir */
|
|
{ 0, (sy_call_t *)linux_bdflush }, /* 134 = linux_bdflush */
|
|
{ AS(linux_sysfs_args), (sy_call_t *)linux_sysfs }, /* 135 = linux_sysfs */
|
|
{ AS(linux_personality_args), (sy_call_t *)linux_personality }, /* 136 = linux_personality */
|
|
{ 0, (sy_call_t *)linux_afs_syscall }, /* 137 = linux_afs_syscall */
|
|
{ AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid }, /* 138 = linux_setfsuid */
|
|
{ AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid }, /* 139 = linux_setfsgid */
|
|
{ AS(linux_llseek_args), (sy_call_t *)linux_llseek }, /* 140 = linux_llseek */
|
|
{ AS(linux_getdents_args), (sy_call_t *)linux_getdents }, /* 141 = linux_getdents */
|
|
{ AS(linux_newselect_args), (sy_call_t *)linux_newselect }, /* 142 = linux_newselect */
|
|
{ AS(flock_args), (sy_call_t *)flock }, /* 143 = flock */
|
|
{ AS(linux_msync_args), (sy_call_t *)linux_msync }, /* 144 = linux_msync */
|
|
{ AS(readv_args), (sy_call_t *)readv }, /* 145 = readv */
|
|
{ AS(writev_args), (sy_call_t *)writev }, /* 146 = writev */
|
|
{ AS(linux_getsid_args), (sy_call_t *)linux_getsid }, /* 147 = linux_getsid */
|
|
{ AS(linux_fdatasync_args), (sy_call_t *)linux_fdatasync }, /* 148 = linux_fdatasync */
|
|
{ 0, (sy_call_t *)linux_sysctl }, /* 149 = linux_sysctl */
|
|
{ AS(mlock_args), (sy_call_t *)mlock }, /* 150 = mlock */
|
|
{ AS(munlock_args), (sy_call_t *)munlock }, /* 151 = munlock */
|
|
{ AS(mlockall_args), (sy_call_t *)mlockall }, /* 152 = mlockall */
|
|
{ 0, (sy_call_t *)munlockall }, /* 153 = munlockall */
|
|
{ AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 154 = sched_setparam */
|
|
{ AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 155 = sched_getparam */
|
|
{ AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler }, /* 156 = linux_sched_setscheduler */
|
|
{ AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler }, /* 157 = linux_sched_getscheduler */
|
|
{ 0, (sy_call_t *)sched_yield }, /* 158 = sched_yield */
|
|
{ AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max }, /* 159 = linux_sched_get_priority_max */
|
|
{ AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min }, /* 160 = linux_sched_get_priority_min */
|
|
{ AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 161 = sched_rr_get_interval */
|
|
{ AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 162 = nanosleep */
|
|
{ AS(linux_mremap_args), (sy_call_t *)linux_mremap }, /* 163 = linux_mremap */
|
|
{ AS(setresuid_args), (sy_call_t *)setresuid }, /* 164 = setresuid */
|
|
{ AS(linux_getresuid_args), (sy_call_t *)linux_getresuid }, /* 165 = linux_getresuid */
|
|
{ 0, (sy_call_t *)linux_vm86 }, /* 166 = linux_vm86 */
|
|
{ 0, (sy_call_t *)linux_query_module }, /* 167 = linux_query_module */
|
|
{ AS(poll_args), (sy_call_t *)poll }, /* 168 = poll */
|
|
{ 0, (sy_call_t *)linux_nfsservctl }, /* 169 = linux_nfsservctl */
|
|
{ AS(setresgid_args), (sy_call_t *)setresgid }, /* 170 = setresgid */
|
|
{ AS(linux_getresgid_args), (sy_call_t *)linux_getresgid }, /* 171 = linux_getresgid */
|
|
{ 0, (sy_call_t *)linux_prctl }, /* 172 = linux_prctl */
|
|
{ AS(linux_rt_sigreturn_args), (sy_call_t *)linux_rt_sigreturn }, /* 173 = linux_rt_sigreturn */
|
|
{ AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction }, /* 174 = linux_rt_sigaction */
|
|
{ AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask }, /* 175 = linux_rt_sigprocmask */
|
|
{ 0, (sy_call_t *)linux_rt_sigpending }, /* 176 = linux_rt_sigpending */
|
|
{ 0, (sy_call_t *)linux_rt_sigtimedwait }, /* 177 = linux_rt_sigtimedwait */
|
|
{ 0, (sy_call_t *)linux_rt_sigqueueinfo }, /* 178 = linux_rt_sigqueueinfo */
|
|
{ AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend }, /* 179 = linux_rt_sigsuspend */
|
|
{ AS(linux_pread_args), (sy_call_t *)linux_pread }, /* 180 = linux_pread */
|
|
{ AS(linux_pwrite_args), (sy_call_t *)linux_pwrite }, /* 181 = linux_pwrite */
|
|
{ AS(linux_chown_args), (sy_call_t *)linux_chown }, /* 182 = linux_chown */
|
|
{ AS(linux_getcwd_args), (sy_call_t *)linux_getcwd }, /* 183 = linux_getcwd */
|
|
{ 0, (sy_call_t *)linux_capget }, /* 184 = linux_capget */
|
|
{ 0, (sy_call_t *)linux_capset }, /* 185 = linux_capset */
|
|
{ AS(linux_sigaltstack_args), (sy_call_t *)linux_sigaltstack }, /* 186 = linux_sigaltstack */
|
|
{ 0, (sy_call_t *)linux_sendfile }, /* 187 = linux_sendfile */
|
|
{ 0, (sy_call_t *)linux_getpmsg }, /* 188 = linux_getpmsg */
|
|
{ 0, (sy_call_t *)linux_putpmsg }, /* 189 = linux_putpmsg */
|
|
{ 0, (sy_call_t *)linux_vfork }, /* 190 = linux_vfork */
|
|
{ 0, (sy_call_t *)linux_ugetrlimit }, /* 191 = linux_ugetrlimit */
|
|
{ 0, (sy_call_t *)linux_mmap2 }, /* 192 = linux_mmap2 */
|
|
{ 0, (sy_call_t *)linux_truncate64 }, /* 193 = linux_truncate64 */
|
|
{ 0, (sy_call_t *)linux_ftruncate64 }, /* 194 = linux_ftruncate64 */
|
|
{ 0, (sy_call_t *)linux_stat64 }, /* 195 = linux_stat64 */
|
|
{ 0, (sy_call_t *)linux_lstat64 }, /* 196 = linux_lstat64 */
|
|
{ 0, (sy_call_t *)linux_fstat64 }, /* 197 = linux_fstat64 */
|
|
};
|