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