1 /* $NetBSD: linux_syscall.h,v 1.60 2016/07/24 13:23:25 njoly 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.57 2016/07/24 13:22:01 njoly Exp 8 */ 9 10 #ifndef _LINUX_SYS_SYSCALL_H_ 11 #define _LINUX_SYS_SYSCALL_H_ 12 13 #define LINUX_SYS_MAXSYSARGS 8 14 15 /* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */ 16 #define LINUX_SYS_read 0 17 18 /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */ 19 #define LINUX_SYS_write 1 20 21 /* syscall: "open" ret: "int" args: "const char *" "int" "linux_umode_t" */ 22 #define LINUX_SYS_open 2 23 24 /* syscall: "close" ret: "int" args: "int" */ 25 #define LINUX_SYS_close 3 26 27 /* syscall: "stat64" ret: "int" args: "const char *" "struct linux_stat64 *" */ 28 #define LINUX_SYS_stat64 4 29 30 /* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */ 31 #define LINUX_SYS_fstat64 5 32 33 /* syscall: "lstat64" ret: "int" args: "const char *" "struct linux_stat64 *" */ 34 #define LINUX_SYS_lstat64 6 35 36 /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */ 37 #define LINUX_SYS_poll 7 38 39 /* syscall: "lseek" ret: "long" args: "int" "long" "int" */ 40 #define LINUX_SYS_lseek 8 41 42 /* syscall: "mmap" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */ 43 #define LINUX_SYS_mmap 9 44 45 /* syscall: "mprotect" ret: "int" args: "const void *" "unsigned long" "int" */ 46 #define LINUX_SYS_mprotect 10 47 48 /* syscall: "munmap" ret: "int" args: "void *" "size_t" */ 49 #define LINUX_SYS_munmap 11 50 51 /* syscall: "brk" ret: "int" args: "char *" */ 52 #define LINUX_SYS_brk 12 53 54 /* syscall: "rt_sigaction" ret: "int" args: "int" "const struct linux_sigaction *" "struct linux_sigaction *" "size_t" */ 55 #define LINUX_SYS_rt_sigaction 13 56 57 /* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */ 58 #define LINUX_SYS_rt_sigprocmask 14 59 60 /* syscall: "rt_sigreturn" ret: "int" args: */ 61 #define LINUX_SYS_rt_sigreturn 15 62 63 /* syscall: "ioctl" ret: "int" args: "int" "u_long" "void *" */ 64 #define LINUX_SYS_ioctl 16 65 66 /* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "off_t" */ 67 #define LINUX_SYS_pread 17 68 69 /* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "off_t" */ 70 #define LINUX_SYS_pwrite 18 71 72 /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ 73 #define LINUX_SYS_readv 19 74 75 /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ 76 #define LINUX_SYS_writev 20 77 78 /* syscall: "access" ret: "int" args: "const char *" "int" */ 79 #define LINUX_SYS_access 21 80 81 /* syscall: "pipe" ret: "int" args: "int *" */ 82 #define LINUX_SYS_pipe 22 83 84 /* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */ 85 #define LINUX_SYS_select 23 86 87 /* syscall: "sched_yield" ret: "int" args: */ 88 #define LINUX_SYS_sched_yield 24 89 90 /* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */ 91 #define LINUX_SYS_mremap 25 92 93 /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */ 94 #define LINUX_SYS___msync13 26 95 96 /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */ 97 #define LINUX_SYS_mincore 27 98 99 /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */ 100 #define LINUX_SYS_madvise 28 101 102 #ifdef SYSVSHM 103 /* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */ 104 #define LINUX_SYS_shmget 29 105 106 /* syscall: "shmat" ret: "int" args: "int" "void *" "int" */ 107 #define LINUX_SYS_shmat 30 108 109 /* syscall: "shmctl" ret: "int" args: "int" "int" "struct linux_shmid_ds *" */ 110 #define LINUX_SYS_shmctl 31 111 112 #else 113 #endif 114 /* syscall: "dup" ret: "int" args: "int" */ 115 #define LINUX_SYS_dup 32 116 117 /* syscall: "dup2" ret: "int" args: "int" "int" */ 118 #define LINUX_SYS_dup2 33 119 120 /* syscall: "pause" ret: "int" args: */ 121 #define LINUX_SYS_pause 34 122 123 /* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */ 124 #define LINUX_SYS_nanosleep 35 125 126 /* syscall: "getitimer" ret: "int" args: "int" "struct itimerval50 *" */ 127 #define LINUX_SYS_getitimer 36 128 129 /* syscall: "alarm" ret: "int" args: "unsigned int" */ 130 #define LINUX_SYS_alarm 37 131 132 /* syscall: "setitimer" ret: "int" args: "int" "struct itimerval50 *" "struct itimerval50 *" */ 133 #define LINUX_SYS_setitimer 38 134 135 /* syscall: "getpid" ret: "pid_t" args: */ 136 #define LINUX_SYS_getpid 39 137 138 /* syscall: "socket" ret: "int" args: "int" "int" "int" */ 139 #define LINUX_SYS_socket 41 140 141 /* syscall: "connect" ret: "int" args: "int" "const struct osockaddr *" "unsigned int" */ 142 #define LINUX_SYS_connect 42 143 144 /* syscall: "oaccept" ret: "int" args: "int" "struct osockaddr *" "int *" */ 145 #define LINUX_SYS_oaccept 43 146 147 /* syscall: "sendto" ret: "ssize_t" args: "int" "void *" "int" "int" "struct osockaddr *" "int" */ 148 #define LINUX_SYS_sendto 44 149 150 /* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct osockaddr *" "unsigned int *" */ 151 #define LINUX_SYS_recvfrom 45 152 153 /* syscall: "sendmsg" ret: "int" args: "int" "const struct linux_msghdr *" "int" */ 154 #define LINUX_SYS_sendmsg 46 155 156 /* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct linux_msghdr *" "int" */ 157 #define LINUX_SYS_recvmsg 47 158 159 /* syscall: "shutdown" ret: "int" args: "int" "int" */ 160 #define LINUX_SYS_shutdown 48 161 162 /* syscall: "bind" ret: "int" args: "int" "const struct osockaddr *" "unsigned int" */ 163 #define LINUX_SYS_bind 49 164 165 /* syscall: "listen" ret: "int" args: "int" "int" */ 166 #define LINUX_SYS_listen 50 167 168 /* syscall: "getsockname" ret: "int" args: "int" "void *" "int *" */ 169 #define LINUX_SYS_getsockname 51 170 171 /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */ 172 #define LINUX_SYS_getpeername 52 173 174 /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */ 175 #define LINUX_SYS_socketpair 53 176 177 /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "void *" "int" */ 178 #define LINUX_SYS_setsockopt 54 179 180 /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */ 181 #define LINUX_SYS_getsockopt 55 182 183 /* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" "void *" */ 184 #define LINUX_SYS_clone 56 185 186 /* syscall: "fork" ret: "int" args: */ 187 #define LINUX_SYS_fork 57 188 189 /* syscall: "__vfork14" ret: "int" args: */ 190 #define LINUX_SYS___vfork14 58 191 192 /* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */ 193 #define LINUX_SYS_execve 59 194 195 /* syscall: "exit" ret: "int" args: "int" */ 196 #define LINUX_SYS_exit 60 197 198 /* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */ 199 #define LINUX_SYS_wait4 61 200 201 /* syscall: "kill" ret: "int" args: "int" "int" */ 202 #define LINUX_SYS_kill 62 203 204 /* syscall: "uname" ret: "int" args: "struct linux_utsname *" */ 205 #define LINUX_SYS_uname 63 206 207 #ifdef SYSVSEM 208 /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */ 209 #define LINUX_SYS_semget 64 210 211 /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */ 212 #define LINUX_SYS_semop 65 213 214 /* syscall: "semctl" ret: "int" args: "int" "int" "int" "union linux_semun" */ 215 #define LINUX_SYS_semctl 66 216 217 #else 218 #endif 219 #ifdef SYSVSHM 220 /* syscall: "shmdt" ret: "int" args: "const void *" */ 221 #define LINUX_SYS_shmdt 67 222 223 #else 224 #endif 225 #ifdef SYSVMSG 226 /* syscall: "msgget" ret: "int" args: "key_t" "int" */ 227 #define LINUX_SYS_msgget 68 228 229 /* syscall: "msgsnd" ret: "int" args: "int" "void *" "size_t" "int" */ 230 #define LINUX_SYS_msgsnd 69 231 232 /* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */ 233 #define LINUX_SYS_msgrcv 70 234 235 /* syscall: "msgctl" ret: "int" args: "int" "int" "struct linux_msqid_ds *" */ 236 #define LINUX_SYS_msgctl 71 237 238 #else 239 #endif 240 /* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */ 241 #define LINUX_SYS_fcntl 72 242 243 /* syscall: "flock" ret: "int" args: "int" "int" */ 244 #define LINUX_SYS_flock 73 245 246 /* syscall: "fsync" ret: "int" args: "int" */ 247 #define LINUX_SYS_fsync 74 248 249 /* syscall: "fdatasync" ret: "int" args: "int" */ 250 #define LINUX_SYS_fdatasync 75 251 252 /* syscall: "truncate64" ret: "int" args: "const char *" "off_t" */ 253 #define LINUX_SYS_truncate64 76 254 255 /* syscall: "ftruncate64" ret: "int" args: "unsigned int" "off_t" */ 256 #define LINUX_SYS_ftruncate64 77 257 258 /* syscall: "getdents" ret: "int" args: "int" "struct linux_dirent *" "unsigned int" */ 259 #define LINUX_SYS_getdents 78 260 261 /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */ 262 #define LINUX_SYS___getcwd 79 263 264 /* syscall: "chdir" ret: "int" args: "const char *" */ 265 #define LINUX_SYS_chdir 80 266 267 /* syscall: "fchdir" ret: "int" args: "int" */ 268 #define LINUX_SYS_fchdir 81 269 270 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */ 271 #define LINUX_SYS___posix_rename 82 272 273 /* syscall: "mkdir" ret: "int" args: "const char *" "linux_umode_t" */ 274 #define LINUX_SYS_mkdir 83 275 276 /* syscall: "rmdir" ret: "int" args: "const char *" */ 277 #define LINUX_SYS_rmdir 84 278 279 /* syscall: "creat" ret: "int" args: "const char *" "linux_umode_t" */ 280 #define LINUX_SYS_creat 85 281 282 /* syscall: "link" ret: "int" args: "const char *" "const char *" */ 283 #define LINUX_SYS_link 86 284 285 /* syscall: "unlink" ret: "int" args: "const char *" */ 286 #define LINUX_SYS_unlink 87 287 288 /* syscall: "symlink" ret: "int" args: "const char *" "const char *" */ 289 #define LINUX_SYS_symlink 88 290 291 /* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */ 292 #define LINUX_SYS_readlink 89 293 294 /* syscall: "chmod" ret: "int" args: "const char *" "linux_umode_t" */ 295 #define LINUX_SYS_chmod 90 296 297 /* syscall: "fchmod" ret: "int" args: "int" "linux_umode_t" */ 298 #define LINUX_SYS_fchmod 91 299 300 /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */ 301 #define LINUX_SYS___posix_chown 92 302 303 /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 304 #define LINUX_SYS___posix_fchown 93 305 306 /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ 307 #define LINUX_SYS___posix_lchown 94 308 309 /* syscall: "umask" ret: "int" args: "int" */ 310 #define LINUX_SYS_umask 95 311 312 /* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */ 313 #define LINUX_SYS_gettimeofday 96 314 315 /* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */ 316 #define LINUX_SYS_getrlimit 97 317 318 /* syscall: "getrusage" ret: "int" args: "int" "struct rusage50 *" */ 319 #define LINUX_SYS_getrusage 98 320 321 /* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */ 322 #define LINUX_SYS_sysinfo 99 323 324 /* syscall: "times" ret: "int" args: "struct times *" */ 325 #define LINUX_SYS_times 100 326 327 /* syscall: "ptrace" ret: "int" args: "long" "long" "long" "long" */ 328 #define LINUX_SYS_ptrace 101 329 330 /* syscall: "getuid" ret: "uid_t" args: */ 331 #define LINUX_SYS_getuid 102 332 333 /* syscall: "getgid" ret: "gid_t" args: */ 334 #define LINUX_SYS_getgid 104 335 336 /* syscall: "setuid" ret: "int" args: "uid_t" */ 337 #define LINUX_SYS_setuid 105 338 339 /* syscall: "setgid" ret: "int" args: "gid_t" */ 340 #define LINUX_SYS_setgid 106 341 342 /* syscall: "geteuid" ret: "uid_t" args: */ 343 #define LINUX_SYS_geteuid 107 344 345 /* syscall: "getegid" ret: "gid_t" args: */ 346 #define LINUX_SYS_getegid 108 347 348 /* syscall: "setpgid" ret: "int" args: "int" "int" */ 349 #define LINUX_SYS_setpgid 109 350 351 /* syscall: "getppid" ret: "pid_t" args: */ 352 #define LINUX_SYS_getppid 110 353 354 /* syscall: "getpgrp" ret: "int" args: */ 355 #define LINUX_SYS_getpgrp 111 356 357 /* syscall: "setsid" ret: "int" args: */ 358 #define LINUX_SYS_setsid 112 359 360 /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */ 361 #define LINUX_SYS_setreuid 113 362 363 /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */ 364 #define LINUX_SYS_setregid 114 365 366 /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */ 367 #define LINUX_SYS_getgroups 115 368 369 /* syscall: "setgroups" ret: "int" args: "int" "gid_t *" */ 370 #define LINUX_SYS_setgroups 116 371 372 /* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */ 373 #define LINUX_SYS_setresuid 117 374 375 /* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */ 376 #define LINUX_SYS_getresuid 118 377 378 /* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */ 379 #define LINUX_SYS_setresgid 119 380 381 /* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */ 382 #define LINUX_SYS_getresgid 120 383 384 /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ 385 #define LINUX_SYS_getpgid 121 386 387 /* syscall: "setfsuid" ret: "int" args: "uid_t" */ 388 #define LINUX_SYS_setfsuid 122 389 390 /* syscall: "setfsgid" ret: "int" args: "gid_t" */ 391 #define LINUX_SYS_setfsgid 123 392 393 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */ 394 #define LINUX_SYS_getsid 124 395 396 /* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */ 397 #define LINUX_SYS_rt_sigpending 127 398 399 /* syscall: "rt_sigtimedwait" ret: "int" args: "const linux_sigset_t *" "linux_siginfo_t *" "const struct linux_timespec *" */ 400 #define LINUX_SYS_rt_sigtimedwait 128 401 402 /* syscall: "rt_queueinfo" ret: "int" args: "int" "int" "linux_siginfo_t *" */ 403 #define LINUX_SYS_rt_queueinfo 129 404 405 /* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */ 406 #define LINUX_SYS_rt_sigsuspend 130 407 408 /* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */ 409 #define LINUX_SYS_sigaltstack 131 410 411 /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */ 412 #define LINUX_SYS_utime 132 413 414 /* syscall: "mknod" ret: "int" args: "const char *" "linux_umode_t" "unsigned" */ 415 #define LINUX_SYS_mknod 133 416 417 #ifdef EXEC_AOUT 418 /* syscall: "uselib" ret: "int" args: "const char *" */ 419 #define LINUX_SYS_uselib 134 420 421 #else 422 #endif 423 /* syscall: "personality" ret: "int" args: "unsigned long" */ 424 #define LINUX_SYS_personality 135 425 426 /* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */ 427 #define LINUX_SYS_statfs 137 428 429 /* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */ 430 #define LINUX_SYS_fstatfs 138 431 432 /* syscall: "getpriority" ret: "int" args: "int" "int" */ 433 #define LINUX_SYS_getpriority 140 434 435 /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */ 436 #define LINUX_SYS_setpriority 141 437 438 /* syscall: "sched_setparam" ret: "int" args: "pid_t" "const struct linux_sched_param *" */ 439 #define LINUX_SYS_sched_setparam 142 440 441 /* syscall: "sched_getparam" ret: "int" args: "pid_t" "struct linux_sched_param *" */ 442 #define LINUX_SYS_sched_getparam 143 443 444 /* syscall: "sched_setscheduler" ret: "int" args: "pid_t" "int" "const struct linux_sched_param *" */ 445 #define LINUX_SYS_sched_setscheduler 144 446 447 /* syscall: "sched_getscheduler" ret: "int" args: "pid_t" */ 448 #define LINUX_SYS_sched_getscheduler 145 449 450 /* syscall: "sched_get_priority_max" ret: "int" args: "int" */ 451 #define LINUX_SYS_sched_get_priority_max 146 452 453 /* syscall: "sched_get_priority_min" ret: "int" args: "int" */ 454 #define LINUX_SYS_sched_get_priority_min 147 455 456 /* syscall: "mlock" ret: "int" args: "void *" "size_t" */ 457 #define LINUX_SYS_mlock 149 458 459 /* syscall: "munlock" ret: "int" args: "void *" "size_t" */ 460 #define LINUX_SYS_munlock 150 461 462 /* syscall: "mlockall" ret: "int" args: "int" */ 463 #define LINUX_SYS_mlockall 151 464 465 /* syscall: "munlockall" ret: "int" args: */ 466 #define LINUX_SYS_munlockall 152 467 468 /* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */ 469 #define LINUX_SYS_modify_ldt 154 470 471 /* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */ 472 #define LINUX_SYS___sysctl 156 473 474 /* syscall: "arch_prctl" ret: "int" args: "int" "unsigned long" */ 475 #define LINUX_SYS_arch_prctl 158 476 477 /* syscall: "setrlimit" ret: "int" args: "u_int" "struct rlimit *" */ 478 #define LINUX_SYS_setrlimit 160 479 480 /* syscall: "chroot" ret: "int" args: "char *" */ 481 #define LINUX_SYS_chroot 161 482 483 /* syscall: "sync" ret: "int" args: */ 484 #define LINUX_SYS_sync 162 485 486 /* syscall: "acct" ret: "int" args: "char *" */ 487 #define LINUX_SYS_acct 163 488 489 /* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */ 490 #define LINUX_SYS_settimeofday 164 491 492 /* syscall: "swapon" ret: "int" args: "char *" */ 493 #define LINUX_SYS_swapon 167 494 495 /* syscall: "swapoff" ret: "int" args: "const char *" */ 496 #define LINUX_SYS_swapoff 168 497 498 /* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */ 499 #define LINUX_SYS_reboot 169 500 501 /* syscall: "sethostname" ret: "int" args: "char *" "u_int" */ 502 #define LINUX_SYS_sethostname 170 503 504 /* syscall: "setdomainname" ret: "int" args: "char *" "int" */ 505 #define LINUX_SYS_setdomainname 171 506 507 /* syscall: "iopl" ret: "int" args: "int" */ 508 #define LINUX_SYS_iopl 172 509 510 /* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */ 511 #define LINUX_SYS_ioperm 173 512 513 /* syscall: "gettid" ret: "pid_t" args: */ 514 #define LINUX_SYS_gettid 186 515 516 /* syscall: "setxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ 517 #define LINUX_SYS_setxattr 188 518 519 /* syscall: "lsetxattr" ret: "int" args: "char *" "char *" "void *" "size_t" "int" */ 520 #define LINUX_SYS_lsetxattr 189 521 522 /* syscall: "fsetxattr" ret: "int" args: "int" "char *" "void *" "size_t" "int" */ 523 #define LINUX_SYS_fsetxattr 190 524 525 /* syscall: "getxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */ 526 #define LINUX_SYS_getxattr 191 527 528 /* syscall: "lgetxattr" ret: "ssize_t" args: "char *" "char *" "void *" "size_t" */ 529 #define LINUX_SYS_lgetxattr 192 530 531 /* syscall: "fgetxattr" ret: "ssize_t" args: "int" "char *" "void *" "size_t" */ 532 #define LINUX_SYS_fgetxattr 193 533 534 /* syscall: "listxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */ 535 #define LINUX_SYS_listxattr 194 536 537 /* syscall: "llistxattr" ret: "ssize_t" args: "char *" "char *" "size_t" */ 538 #define LINUX_SYS_llistxattr 195 539 540 /* syscall: "flistxattr" ret: "ssize_t" args: "int" "char *" "size_t" */ 541 #define LINUX_SYS_flistxattr 196 542 543 /* syscall: "removexattr" ret: "int" args: "char *" "char *" */ 544 #define LINUX_SYS_removexattr 197 545 546 /* syscall: "lremovexattr" ret: "int" args: "char *" "char *" */ 547 #define LINUX_SYS_lremovexattr 198 548 549 /* syscall: "fremovexattr" ret: "int" args: "int" "char *" */ 550 #define LINUX_SYS_fremovexattr 199 551 552 /* syscall: "tkill" ret: "int" args: "int" "int" */ 553 #define LINUX_SYS_tkill 200 554 555 /* syscall: "time" ret: "int" args: "linux_time_t *" */ 556 #define LINUX_SYS_time 201 557 558 /* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */ 559 #define LINUX_SYS_futex 202 560 561 /* syscall: "sched_setaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */ 562 #define LINUX_SYS_sched_setaffinity 203 563 564 /* syscall: "sched_getaffinity" ret: "int" args: "pid_t" "unsigned int" "unsigned long *" */ 565 #define LINUX_SYS_sched_getaffinity 204 566 567 /* syscall: "getdents64" ret: "int" args: "int" "struct linux_dirent64 *" "unsigned int" */ 568 #define LINUX_SYS_getdents64 217 569 570 /* syscall: "set_tid_address" ret: "int" args: "int *" */ 571 #define LINUX_SYS_set_tid_address 218 572 573 /* syscall: "fadvise64" ret: "int" args: "int" "off_t" "size_t" "int" */ 574 #define LINUX_SYS_fadvise64 221 575 576 /* syscall: "clock_settime" ret: "int" args: "clockid_t" "struct linux_timespec *" */ 577 #define LINUX_SYS_clock_settime 227 578 579 /* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */ 580 #define LINUX_SYS_clock_gettime 228 581 582 /* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */ 583 #define LINUX_SYS_clock_getres 229 584 585 /* syscall: "clock_nanosleep" ret: "int" args: "clockid_t" "int" "struct linux_timespec *" "struct linux_timespec *" */ 586 #define LINUX_SYS_clock_nanosleep 230 587 588 /* syscall: "exit_group" ret: "int" args: "int" */ 589 #define LINUX_SYS_exit_group 231 590 591 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */ 592 #define LINUX_SYS_tgkill 234 593 594 /* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval50 *" */ 595 #define LINUX_SYS_utimes 235 596 597 /* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */ 598 #define LINUX_SYS_openat 257 599 600 /* syscall: "mkdirat" ret: "int" args: "int" "const char *" "linux_umode_t" */ 601 #define LINUX_SYS_mkdirat 258 602 603 /* syscall: "mknodat" ret: "int" args: "int" "const char *" "linux_umode_t" "unsigned" */ 604 #define LINUX_SYS_mknodat 259 605 606 /* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */ 607 #define LINUX_SYS_fchownat 260 608 609 /* syscall: "fstatat64" ret: "int" args: "int" "const char *" "struct linux_stat *" "int" */ 610 #define LINUX_SYS_fstatat64 262 611 612 /* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */ 613 #define LINUX_SYS_unlinkat 263 614 615 /* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */ 616 #define LINUX_SYS_renameat 264 617 618 /* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */ 619 #define LINUX_SYS_linkat 265 620 621 /* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */ 622 #define LINUX_SYS_symlinkat 266 623 624 /* syscall: "readlinkat" ret: "ssize_t" args: "int" "const char *" "char *" "size_t" */ 625 #define LINUX_SYS_readlinkat 267 626 627 /* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */ 628 #define LINUX_SYS_fchmodat 268 629 630 /* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */ 631 #define LINUX_SYS_faccessat 269 632 633 /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */ 634 #define LINUX_SYS_ppoll 271 635 636 /* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */ 637 #define LINUX_SYS_set_robust_list 273 638 639 /* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */ 640 #define LINUX_SYS_get_robust_list 274 641 642 /* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */ 643 #define LINUX_SYS_utimensat 280 644 645 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */ 646 #define LINUX_SYS_dup3 292 647 648 /* syscall: "pipe2" ret: "int" args: "int *" "int" */ 649 #define LINUX_SYS_pipe2 293 650 651 /* syscall: "nosys" ret: "int" args: */ 652 #define LINUX_SYS_nosys 314 653 654 #define LINUX_SYS_MAXSYSCALL 315 655 #define LINUX_SYS_NSYSENT 512 656 #endif /* _LINUX_SYS_SYSCALL_H_ */ 657