linux_syscall.h (75057) | linux_syscall.h (83221) |
---|---|
1/* 2 * System call numbers. 3 * 4 * DO NOT EDIT-- this file is automatically generated. | 1/* 2 * System call numbers. 3 * 4 * DO NOT EDIT-- this file is automatically generated. |
5 * $FreeBSD: head/sys/i386/linux/linux_syscall.h 75057 2001-04-01 06:43:09Z alc $ 6 * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.40 2001/04/01 06:37:40 alc Exp | 5 * $FreeBSD: head/sys/i386/linux/linux_syscall.h 83221 2001-09-08 19:07:04Z marcel $ 6 * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.43 2001/09/08 18:48:40 marcel Exp |
7 */ 8 | 7 */ 8 |
9#define LINUX_SYS_linux_setup 0 | |
10#define LINUX_SYS_exit 1 11#define LINUX_SYS_linux_fork 2 12#define LINUX_SYS_read 3 13#define LINUX_SYS_write 4 14#define LINUX_SYS_linux_open 5 15#define LINUX_SYS_close 6 16#define LINUX_SYS_linux_waitpid 7 17#define LINUX_SYS_linux_creat 8 18#define LINUX_SYS_linux_link 9 19#define LINUX_SYS_linux_unlink 10 20#define LINUX_SYS_linux_execve 11 21#define LINUX_SYS_linux_chdir 12 22#define LINUX_SYS_linux_time 13 23#define LINUX_SYS_linux_mknod 14 24#define LINUX_SYS_linux_chmod 15 | 9#define LINUX_SYS_exit 1 10#define LINUX_SYS_linux_fork 2 11#define LINUX_SYS_read 3 12#define LINUX_SYS_write 4 13#define LINUX_SYS_linux_open 5 14#define LINUX_SYS_close 6 15#define LINUX_SYS_linux_waitpid 7 16#define LINUX_SYS_linux_creat 8 17#define LINUX_SYS_linux_link 9 18#define LINUX_SYS_linux_unlink 10 19#define LINUX_SYS_linux_execve 11 20#define LINUX_SYS_linux_chdir 12 21#define LINUX_SYS_linux_time 13 22#define LINUX_SYS_linux_mknod 14 23#define LINUX_SYS_linux_chmod 15 |
25#define LINUX_SYS_linux_lchown 16 26#define LINUX_SYS_linux_break 17 | 24#define LINUX_SYS_linux_lchown16 16 |
27#define LINUX_SYS_linux_stat 18 28#define LINUX_SYS_linux_lseek 19 | 25#define LINUX_SYS_linux_stat 18 26#define LINUX_SYS_linux_lseek 19 |
29#define LINUX_SYS_getpid 20 | 27#define LINUX_SYS_linux_getpid 20 |
30#define LINUX_SYS_linux_mount 21 | 28#define LINUX_SYS_linux_mount 21 |
31#define LINUX_SYS_linux_umount 22 32#define LINUX_SYS_setuid 23 33#define LINUX_SYS_getuid 24 | 29#define LINUX_SYS_linux_oldumount 22 30#define LINUX_SYS_linux_setuid16 23 31#define LINUX_SYS_linux_getuid16 24 |
34#define LINUX_SYS_linux_stime 25 35#define LINUX_SYS_linux_ptrace 26 36#define LINUX_SYS_linux_alarm 27 37#define LINUX_SYS_linux_fstat 28 38#define LINUX_SYS_linux_pause 29 39#define LINUX_SYS_linux_utime 30 | 32#define LINUX_SYS_linux_stime 25 33#define LINUX_SYS_linux_ptrace 26 34#define LINUX_SYS_linux_alarm 27 35#define LINUX_SYS_linux_fstat 28 36#define LINUX_SYS_linux_pause 29 37#define LINUX_SYS_linux_utime 30 |
40#define LINUX_SYS_linux_stty 31 41#define LINUX_SYS_linux_gtty 32 | |
42#define LINUX_SYS_linux_access 33 43#define LINUX_SYS_linux_nice 34 | 38#define LINUX_SYS_linux_access 33 39#define LINUX_SYS_linux_nice 34 |
44#define LINUX_SYS_linux_ftime 35 | |
45#define LINUX_SYS_sync 36 46#define LINUX_SYS_linux_kill 37 47#define LINUX_SYS_linux_rename 38 48#define LINUX_SYS_linux_mkdir 39 49#define LINUX_SYS_linux_rmdir 40 50#define LINUX_SYS_dup 41 51#define LINUX_SYS_linux_pipe 42 52#define LINUX_SYS_linux_times 43 | 40#define LINUX_SYS_sync 36 41#define LINUX_SYS_linux_kill 37 42#define LINUX_SYS_linux_rename 38 43#define LINUX_SYS_linux_mkdir 39 44#define LINUX_SYS_linux_rmdir 40 45#define LINUX_SYS_dup 41 46#define LINUX_SYS_linux_pipe 42 47#define LINUX_SYS_linux_times 43 |
53#define LINUX_SYS_linux_prof 44 | |
54#define LINUX_SYS_linux_brk 45 | 48#define LINUX_SYS_linux_brk 45 |
55#define LINUX_SYS_setgid 46 56#define LINUX_SYS_getgid 47 | 49#define LINUX_SYS_linux_setgid16 46 50#define LINUX_SYS_linux_getgid16 47 |
57#define LINUX_SYS_linux_signal 48 | 51#define LINUX_SYS_linux_signal 48 |
58#define LINUX_SYS_geteuid 49 59#define LINUX_SYS_getegid 50 | 52#define LINUX_SYS_linux_geteuid16 49 53#define LINUX_SYS_linux_getegid16 50 |
60#define LINUX_SYS_acct 51 | 54#define LINUX_SYS_acct 51 |
61#define LINUX_SYS_linux_umount2 52 62#define LINUX_SYS_linux_lock 53 | 55#define LINUX_SYS_linux_umount 52 |
63#define LINUX_SYS_linux_ioctl 54 64#define LINUX_SYS_linux_fcntl 55 | 56#define LINUX_SYS_linux_ioctl 54 57#define LINUX_SYS_linux_fcntl 55 |
65#define LINUX_SYS_linux_mpx 56 | |
66#define LINUX_SYS_setpgid 57 | 58#define LINUX_SYS_setpgid 57 |
67#define LINUX_SYS_linux_ulimit 58 | |
68#define LINUX_SYS_linux_olduname 59 69#define LINUX_SYS_umask 60 70#define LINUX_SYS_chroot 61 71#define LINUX_SYS_linux_ustat 62 72#define LINUX_SYS_dup2 63 73#define LINUX_SYS_getppid 64 74#define LINUX_SYS_getpgrp 65 75#define LINUX_SYS_setsid 66 76#define LINUX_SYS_linux_sigaction 67 | 59#define LINUX_SYS_linux_olduname 59 60#define LINUX_SYS_umask 60 61#define LINUX_SYS_chroot 61 62#define LINUX_SYS_linux_ustat 62 63#define LINUX_SYS_dup2 63 64#define LINUX_SYS_getppid 64 65#define LINUX_SYS_getpgrp 65 66#define LINUX_SYS_setsid 66 67#define LINUX_SYS_linux_sigaction 67 |
77#define LINUX_SYS_linux_siggetmask 68 78#define LINUX_SYS_linux_sigsetmask 69 79#define LINUX_SYS_setreuid 70 80#define LINUX_SYS_setregid 71 | 68#define LINUX_SYS_linux_sgetmask 68 69#define LINUX_SYS_linux_ssetmask 69 70#define LINUX_SYS_linux_setreuid16 70 71#define LINUX_SYS_linux_setregid16 71 |
81#define LINUX_SYS_linux_sigsuspend 72 82#define LINUX_SYS_linux_sigpending 73 83#define LINUX_SYS_osethostname 74 84#define LINUX_SYS_linux_setrlimit 75 | 72#define LINUX_SYS_linux_sigsuspend 72 73#define LINUX_SYS_linux_sigpending 73 74#define LINUX_SYS_osethostname 74 75#define LINUX_SYS_linux_setrlimit 75 |
85#define LINUX_SYS_linux_getrlimit 76 | 76#define LINUX_SYS_linux_old_getrlimit 76 |
86#define LINUX_SYS_getrusage 77 87#define LINUX_SYS_gettimeofday 78 88#define LINUX_SYS_settimeofday 79 | 77#define LINUX_SYS_getrusage 77 78#define LINUX_SYS_gettimeofday 78 79#define LINUX_SYS_settimeofday 79 |
89#define LINUX_SYS_linux_getgroups 80 90#define LINUX_SYS_linux_setgroups 81 91#define LINUX_SYS_linux_select 82 | 80#define LINUX_SYS_linux_getgroups16 80 81#define LINUX_SYS_linux_setgroups16 81 82#define LINUX_SYS_linux_old_select 82 |
92#define LINUX_SYS_linux_symlink 83 93#define LINUX_SYS_ostat 84 94#define LINUX_SYS_linux_readlink 85 95#define LINUX_SYS_linux_uselib 86 96#define LINUX_SYS_swapon 87 97#define LINUX_SYS_linux_reboot 88 98#define LINUX_SYS_linux_readdir 89 99#define LINUX_SYS_linux_mmap 90 100#define LINUX_SYS_munmap 91 101#define LINUX_SYS_linux_truncate 92 102#define LINUX_SYS_oftruncate 93 103#define LINUX_SYS_fchmod 94 104#define LINUX_SYS_fchown 95 105#define LINUX_SYS_getpriority 96 106#define LINUX_SYS_setpriority 97 | 83#define LINUX_SYS_linux_symlink 83 84#define LINUX_SYS_ostat 84 85#define LINUX_SYS_linux_readlink 85 86#define LINUX_SYS_linux_uselib 86 87#define LINUX_SYS_swapon 87 88#define LINUX_SYS_linux_reboot 88 89#define LINUX_SYS_linux_readdir 89 90#define LINUX_SYS_linux_mmap 90 91#define LINUX_SYS_munmap 91 92#define LINUX_SYS_linux_truncate 92 93#define LINUX_SYS_oftruncate 93 94#define LINUX_SYS_fchmod 94 95#define LINUX_SYS_fchown 95 96#define LINUX_SYS_getpriority 96 97#define LINUX_SYS_setpriority 97 |
107#define LINUX_SYS_profil 98 | |
108#define LINUX_SYS_linux_statfs 99 109#define LINUX_SYS_linux_fstatfs 100 110#define LINUX_SYS_linux_ioperm 101 111#define LINUX_SYS_linux_socketcall 102 | 98#define LINUX_SYS_linux_statfs 99 99#define LINUX_SYS_linux_fstatfs 100 100#define LINUX_SYS_linux_ioperm 101 101#define LINUX_SYS_linux_socketcall 102 |
112#define LINUX_SYS_linux_ksyslog 103 | 102#define LINUX_SYS_linux_syslog 103 |
113#define LINUX_SYS_linux_setitimer 104 114#define LINUX_SYS_linux_getitimer 105 115#define LINUX_SYS_linux_newstat 106 116#define LINUX_SYS_linux_newlstat 107 117#define LINUX_SYS_linux_newfstat 108 118#define LINUX_SYS_linux_uname 109 119#define LINUX_SYS_linux_iopl 110 120#define LINUX_SYS_linux_vhangup 111 | 103#define LINUX_SYS_linux_setitimer 104 104#define LINUX_SYS_linux_getitimer 105 105#define LINUX_SYS_linux_newstat 106 106#define LINUX_SYS_linux_newlstat 107 107#define LINUX_SYS_linux_newfstat 108 108#define LINUX_SYS_linux_uname 109 109#define LINUX_SYS_linux_iopl 110 110#define LINUX_SYS_linux_vhangup 111 |
121#define LINUX_SYS_linux_idle 112 | |
122#define LINUX_SYS_linux_vm86old 113 123#define LINUX_SYS_linux_wait4 114 124#define LINUX_SYS_linux_swapoff 115 125#define LINUX_SYS_linux_sysinfo 116 126#define LINUX_SYS_linux_ipc 117 127#define LINUX_SYS_fsync 118 128#define LINUX_SYS_linux_sigreturn 119 129#define LINUX_SYS_linux_clone 120 --- 8 unchanged lines hidden (view full) --- 138#define LINUX_SYS_linux_delete_module 129 139#define LINUX_SYS_linux_get_kernel_syms 130 140#define LINUX_SYS_linux_quotactl 131 141#define LINUX_SYS_linux_getpgid 132 142#define LINUX_SYS_fchdir 133 143#define LINUX_SYS_linux_bdflush 134 144#define LINUX_SYS_linux_sysfs 135 145#define LINUX_SYS_linux_personality 136 | 111#define LINUX_SYS_linux_vm86old 113 112#define LINUX_SYS_linux_wait4 114 113#define LINUX_SYS_linux_swapoff 115 114#define LINUX_SYS_linux_sysinfo 116 115#define LINUX_SYS_linux_ipc 117 116#define LINUX_SYS_fsync 118 117#define LINUX_SYS_linux_sigreturn 119 118#define LINUX_SYS_linux_clone 120 --- 8 unchanged lines hidden (view full) --- 127#define LINUX_SYS_linux_delete_module 129 128#define LINUX_SYS_linux_get_kernel_syms 130 129#define LINUX_SYS_linux_quotactl 131 130#define LINUX_SYS_linux_getpgid 132 131#define LINUX_SYS_fchdir 133 132#define LINUX_SYS_linux_bdflush 134 133#define LINUX_SYS_linux_sysfs 135 134#define LINUX_SYS_linux_personality 136 |
146#define LINUX_SYS_linux_afs_syscall 137 147#define LINUX_SYS_linux_setfsuid 138 148#define LINUX_SYS_linux_setfsgid 139 | 135#define LINUX_SYS_linux_setfsuid16 138 136#define LINUX_SYS_linux_setfsgid16 139 |
149#define LINUX_SYS_linux_llseek 140 150#define LINUX_SYS_linux_getdents 141 | 137#define LINUX_SYS_linux_llseek 140 138#define LINUX_SYS_linux_getdents 141 |
151#define LINUX_SYS_linux_newselect 142 | 139#define LINUX_SYS_linux_select 142 |
152#define LINUX_SYS_flock 143 153#define LINUX_SYS_linux_msync 144 154#define LINUX_SYS_readv 145 155#define LINUX_SYS_writev 146 156#define LINUX_SYS_linux_getsid 147 157#define LINUX_SYS_linux_fdatasync 148 158#define LINUX_SYS_linux_sysctl 149 159#define LINUX_SYS_mlock 150 --- 5 unchanged lines hidden (view full) --- 165#define LINUX_SYS_linux_sched_setscheduler 156 166#define LINUX_SYS_linux_sched_getscheduler 157 167#define LINUX_SYS_sched_yield 158 168#define LINUX_SYS_linux_sched_get_priority_max 159 169#define LINUX_SYS_linux_sched_get_priority_min 160 170#define LINUX_SYS_sched_rr_get_interval 161 171#define LINUX_SYS_nanosleep 162 172#define LINUX_SYS_linux_mremap 163 | 140#define LINUX_SYS_flock 143 141#define LINUX_SYS_linux_msync 144 142#define LINUX_SYS_readv 145 143#define LINUX_SYS_writev 146 144#define LINUX_SYS_linux_getsid 147 145#define LINUX_SYS_linux_fdatasync 148 146#define LINUX_SYS_linux_sysctl 149 147#define LINUX_SYS_mlock 150 --- 5 unchanged lines hidden (view full) --- 153#define LINUX_SYS_linux_sched_setscheduler 156 154#define LINUX_SYS_linux_sched_getscheduler 157 155#define LINUX_SYS_sched_yield 158 156#define LINUX_SYS_linux_sched_get_priority_max 159 157#define LINUX_SYS_linux_sched_get_priority_min 160 158#define LINUX_SYS_sched_rr_get_interval 161 159#define LINUX_SYS_nanosleep 162 160#define LINUX_SYS_linux_mremap 163 |
173#define LINUX_SYS_setresuid 164 174#define LINUX_SYS_linux_getresuid 165 | 161#define LINUX_SYS_linux_setresuid16 164 162#define LINUX_SYS_linux_getresuid16 165 |
175#define LINUX_SYS_linux_vm86 166 176#define LINUX_SYS_linux_query_module 167 177#define LINUX_SYS_poll 168 178#define LINUX_SYS_linux_nfsservctl 169 | 163#define LINUX_SYS_linux_vm86 166 164#define LINUX_SYS_linux_query_module 167 165#define LINUX_SYS_poll 168 166#define LINUX_SYS_linux_nfsservctl 169 |
179#define LINUX_SYS_setresgid 170 180#define LINUX_SYS_linux_getresgid 171 | 167#define LINUX_SYS_linux_setresgid16 170 168#define LINUX_SYS_linux_getresgid16 171 |
181#define LINUX_SYS_linux_prctl 172 182#define LINUX_SYS_linux_rt_sigreturn 173 183#define LINUX_SYS_linux_rt_sigaction 174 184#define LINUX_SYS_linux_rt_sigprocmask 175 185#define LINUX_SYS_linux_rt_sigpending 176 186#define LINUX_SYS_linux_rt_sigtimedwait 177 187#define LINUX_SYS_linux_rt_sigqueueinfo 178 188#define LINUX_SYS_linux_rt_sigsuspend 179 189#define LINUX_SYS_linux_pread 180 190#define LINUX_SYS_linux_pwrite 181 | 169#define LINUX_SYS_linux_prctl 172 170#define LINUX_SYS_linux_rt_sigreturn 173 171#define LINUX_SYS_linux_rt_sigaction 174 172#define LINUX_SYS_linux_rt_sigprocmask 175 173#define LINUX_SYS_linux_rt_sigpending 176 174#define LINUX_SYS_linux_rt_sigtimedwait 177 175#define LINUX_SYS_linux_rt_sigqueueinfo 178 176#define LINUX_SYS_linux_rt_sigsuspend 179 177#define LINUX_SYS_linux_pread 180 178#define LINUX_SYS_linux_pwrite 181 |
191#define LINUX_SYS_linux_chown 182 | 179#define LINUX_SYS_linux_chown16 182 |
192#define LINUX_SYS_linux_getcwd 183 193#define LINUX_SYS_linux_capget 184 194#define LINUX_SYS_linux_capset 185 195#define LINUX_SYS_linux_sigaltstack 186 196#define LINUX_SYS_linux_sendfile 187 | 180#define LINUX_SYS_linux_getcwd 183 181#define LINUX_SYS_linux_capget 184 182#define LINUX_SYS_linux_capset 185 183#define LINUX_SYS_linux_sigaltstack 186 184#define LINUX_SYS_linux_sendfile 187 |
197#define LINUX_SYS_linux_getpmsg 188 198#define LINUX_SYS_linux_putpmsg 189 | |
199#define LINUX_SYS_linux_vfork 190 | 185#define LINUX_SYS_linux_vfork 190 |
200#define LINUX_SYS_linux_ugetrlimit 191 | 186#define LINUX_SYS_linux_getrlimit 191 |
201#define LINUX_SYS_linux_mmap2 192 202#define LINUX_SYS_linux_truncate64 193 203#define LINUX_SYS_linux_ftruncate64 194 204#define LINUX_SYS_linux_stat64 195 205#define LINUX_SYS_linux_lstat64 196 206#define LINUX_SYS_linux_fstat64 197 | 187#define LINUX_SYS_linux_mmap2 192 188#define LINUX_SYS_linux_truncate64 193 189#define LINUX_SYS_linux_ftruncate64 194 190#define LINUX_SYS_linux_stat64 195 191#define LINUX_SYS_linux_lstat64 196 192#define LINUX_SYS_linux_fstat64 197 |
207#define LINUX_SYS_MAXSYSCALL 198 | 193#define LINUX_SYS_linux_lchown 198 194#define LINUX_SYS_linux_getuid 199 195#define LINUX_SYS_linux_getgid 200 196#define LINUX_SYS_geteuid 201 197#define LINUX_SYS_getegid 202 198#define LINUX_SYS_setreuid 203 199#define LINUX_SYS_setregid 204 200#define LINUX_SYS_linux_getgroups 205 201#define LINUX_SYS_linux_setgroups 206 202#define LINUX_SYS_linux_fchown 207 203#define LINUX_SYS_setresuid 208 204#define LINUX_SYS_getresuid 209 205#define LINUX_SYS_setresgid 210 206#define LINUX_SYS_getresgid 211 207#define LINUX_SYS_linux_chown 212 208#define LINUX_SYS_setuid 213 209#define LINUX_SYS_setgid 214 210#define LINUX_SYS_linux_setfsuid 215 211#define LINUX_SYS_linux_setfsgid 216 212#define LINUX_SYS_linux_pivot_root 217 213#define LINUX_SYS_linux_mincore 218 214#define LINUX_SYS_linux_madvise 219 215#define LINUX_SYS_linux_getdents64 220 216#define LINUX_SYS_linux_fcntl64 221 217#define LINUX_SYS_MAXSYSCALL 222 |