diff options
-rw-r--r-- | linux-user/alpha/syscall_nr.h | 32 | ||||
-rw-r--r-- | linux-user/arm/syscall_nr.h | 31 | ||||
-rw-r--r-- | linux-user/i386/syscall_nr.h | 58 | ||||
-rw-r--r-- | linux-user/m68k/syscall_nr.h | 39 | ||||
-rw-r--r-- | linux-user/ppc/syscall_nr.h | 55 | ||||
-rw-r--r-- | linux-user/ppc64/syscall_nr.h | 55 | ||||
-rw-r--r-- | linux-user/sh4/syscall_nr.h | 40 | ||||
-rw-r--r-- | linux-user/sparc/syscall_nr.h | 60 | ||||
-rw-r--r-- | linux-user/sparc64/syscall_nr.h | 31 | ||||
-rw-r--r-- | linux-user/x86_64/syscall_nr.h | 6 |
10 files changed, 401 insertions, 6 deletions
diff --git a/linux-user/alpha/syscall_nr.h b/linux-user/alpha/syscall_nr.h index 2c505a1..d3c19cc 100644 --- a/linux-user/alpha/syscall_nr.h +++ b/linux-user/alpha/syscall_nr.h @@ -379,3 +379,35 @@ #define TARGET_NR_inotify_init 444 #define TARGET_NR_inotify_add_watch 445 #define TARGET_NR_inotify_rm_watch 446 +#define TARGET_NR_fdatasync 447 +#define TARGET_NR_kexec_load 448 +#define TARGET_NR_migrate_pages 449 +#define TARGET_NR_openat 450 +#define TARGET_NR_mkdirat 451 +#define TARGET_NR_mknodat 452 +#define TARGET_NR_fchownat 453 +#define TARGET_NR_futimesat 454 +#define TARGET_NR_fstatat64 455 +#define TARGET_NR_unlinkat 456 +#define TARGET_NR_renameat 457 +#define TARGET_NR_linkat 458 +#define TARGET_NR_symlinkat 459 +#define TARGET_NR_readlinkat 460 +#define TARGET_NR_fchmodat 461 +#define TARGET_NR_faccessat 462 +#define TARGET_NR_pselect6 463 +#define TARGET_NR_ppoll 464 +#define TARGET_NR_unshare 465 +#define TARGET_NR_set_robust_list 466 +#define TARGET_NR_get_robust_list 467 +#define TARGET_NR_splice 468 +#define TARGET_NR_sync_file_range 469 +#define TARGET_NR_tee 470 +#define TARGET_NR_vmsplice 471 +#define TARGET_NR_move_pages 472 +#define TARGET_NR_getcpu 473 +#define TARGET_NR_epoll_pwait 474 +#define TARGET_NR_utimensat 475 +#define TARGET_NR_signalfd 476 +#define TARGET_NR_timerfd 477 +#define TARGET_NR_eventfd 478 diff --git a/linux-user/arm/syscall_nr.h b/linux-user/arm/syscall_nr.h index c48be98..9ca3a5d 100644 --- a/linux-user/arm/syscall_nr.h +++ b/linux-user/arm/syscall_nr.h @@ -325,3 +325,34 @@ #define TARGET_NR_mbind 319 #define TARGET_NR_get_mempolicy 320 #define TARGET_NR_set_mempolicy 321 +#define TARGET_NR_openat (322) +#define TARGET_NR_mkdirat (323) +#define TARGET_NR_mknodat (324) +#define TARGET_NR_fchownat (325) +#define TARGET_NR_futimesat (326) +#define TARGET_NR_fstatat64 (327) +#define TARGET_NR_unlinkat (328) +#define TARGET_NR_renameat (329) +#define TARGET_NR_linkat (330) +#define TARGET_NR_symlinkat (331) +#define TARGET_NR_readlinkat (332) +#define TARGET_NR_fchmodat (333) +#define TARGET_NR_faccessat (334) + /* 335 for pselect6 */ + /* 336 for ppoll */ +#define TARGET_NR_unshare (337) +#define TARGET_NR_set_robust_list (338) +#define TARGET_NR_get_robust_list (339) +#define TARGET_NR_splice (340) +#define TARGET_NR_arm_sync_file_range (341) +#define TARGET_NR_sync_file_range2 TARGET_NR_arm_sync_file_range +#define TARGET_NR_tee (342) +#define TARGET_NR_vmsplice (343) +#define TARGET_NR_move_pages (344) +#define TARGET_NR_getcpu (345) + /* 346 for epoll_pwait */ +#define TARGET_NR_kexec_load (347) +#define TARGET_NR_utimensat (348) +#define TARGET_NR_signalfd (349) +#define TARGET_NR_timerfd (350) +#define TARGET_NR_eventfd (351) diff --git a/linux-user/i386/syscall_nr.h b/linux-user/i386/syscall_nr.h index 75fb559..62662cc 100644 --- a/linux-user/i386/syscall_nr.h +++ b/linux-user/i386/syscall_nr.h @@ -253,7 +253,7 @@ #define TARGET_NR_io_submit 248 #define TARGET_NR_io_cancel 249 #define TARGET_NR_fadvise64 250 - +/* 251 is available for reuse (was briefly sys_set_zone_reclaim) */ #define TARGET_NR_exit_group 252 #define TARGET_NR_lookup_dcookie 253 #define TARGET_NR_epoll_create 254 @@ -270,8 +270,60 @@ #define TARGET_NR_clock_gettime (TARGET_NR_timer_create+6) #define TARGET_NR_clock_getres (TARGET_NR_timer_create+7) #define TARGET_NR_clock_nanosleep (TARGET_NR_timer_create+8) - +#define TARGET_NR_statfs64 268 +#define TARGET_NR_fstatfs64 269 #define TARGET_NR_tgkill 270 #define TARGET_NR_utimes 271 - +#define TARGET_NR_fadvise64_64 272 +#define TARGET_NR_vserver 273 +#define TARGET_NR_mbind 274 +#define TARGET_NR_get_mempolicy 275 +#define TARGET_NR_set_mempolicy 276 +#define TARGET_NR_mq_open 277 +#define TARGET_NR_mq_unlink (TARGET_NR_mq_open+1) +#define TARGET_NR_mq_timedsend (TARGET_NR_mq_open+2) +#define TARGET_NR_mq_timedreceive (TARGET_NR_mq_open+3) +#define TARGET_NR_mq_notify (TARGET_NR_mq_open+4) +#define TARGET_NR_mq_getsetattr (TARGET_NR_mq_open+5) +#define TARGET_NR_kexec_load 283 +#define TARGET_NR_waitid 284 +/* #define TARGET_NR_sys_setaltroot 285 */ +#define TARGET_NR_add_key 286 +#define TARGET_NR_request_key 287 +#define TARGET_NR_keyctl 288 +#define TARGET_NR_ioprio_set 289 +#define TARGET_NR_ioprio_get 290 +#define TARGET_NR_inotify_init 291 +#define TARGET_NR_inotify_add_watch 292 +#define TARGET_NR_inotify_rm_watch 293 +#define TARGET_NR_migrate_pages 294 +#define TARGET_NR_openat 295 +#define TARGET_NR_mkdirat 296 +#define TARGET_NR_mknodat 297 +#define TARGET_NR_fchownat 298 +#define TARGET_NR_futimesat 299 +#define TARGET_NR_fstatat64 300 +#define TARGET_NR_unlinkat 301 +#define TARGET_NR_renameat 302 +#define TARGET_NR_linkat 303 +#define TARGET_NR_symlinkat 304 +#define TARGET_NR_readlinkat 305 +#define TARGET_NR_fchmodat 306 +#define TARGET_NR_faccessat 307 +#define TARGET_NR_pselect6 308 +#define TARGET_NR_ppoll 309 +#define TARGET_NR_unshare 310 #define TARGET_NR_set_robust_list 311 +#define TARGET_NR_get_robust_list 312 +#define TARGET_NR_splice 313 +#define TARGET_NR_sync_file_range 314 +#define TARGET_NR_tee 315 +#define TARGET_NR_vmsplice 316 +#define TARGET_NR_move_pages 317 +#define TARGET_NR_getcpu 318 +#define TARGET_NR_epoll_pwait 319 +#define TARGET_NR_utimensat 320 +#define TARGET_NR_signalfd 321 +#define TARGET_NR_timerfd 322 +#define TARGET_NR_eventfd 323 +#define TARGET_NR_fallocate 324 diff --git a/linux-user/m68k/syscall_nr.h b/linux-user/m68k/syscall_nr.h index a39535f..0a802f4 100644 --- a/linux-user/m68k/syscall_nr.h +++ b/linux-user/m68k/syscall_nr.h @@ -281,3 +281,42 @@ #define TARGET_NR_add_key 279 #define TARGET_NR_request_key 280 #define TARGET_NR_keyctl 281 +#define TARGET_NR_ioprio_set 282 +#define TARGET_NR_ioprio_get 283 +#define TARGET_NR_inotify_init 284 +#define TARGET_NR_inotify_add_watch 285 +#define TARGET_NR_inotify_rm_watch 286 +#define TARGET_NR_migrate_pages 287 +#define TARGET_NR_openat 288 +#define TARGET_NR_mkdirat 289 +#define TARGET_NR_mknodat 290 +#define TARGET_NR_fchownat 291 +#define TARGET_NR_futimesat 292 +#define TARGET_NR_fstatat64 293 +#define TARGET_NR_unlinkat 294 +#define TARGET_NR_renameat 295 +#define TARGET_NR_linkat 296 +#define TARGET_NR_symlinkat 297 +#define TARGET_NR_readlinkat 298 +#define TARGET_NR_fchmodat 299 +#define TARGET_NR_faccessat 300 +#define TARGET_NR_pselect6 301 +#define TARGET_NR_ppoll 302 +#define TARGET_NR_unshare 303 +#define TARGET_NR_set_robust_list 304 +#define TARGET_NR_get_robust_list 305 +#define TARGET_NR_splice 306 +#define TARGET_NR_sync_file_range 307 +#define TARGET_NR_tee 308 +#define TARGET_NR_vmsplice 309 +#define TARGET_NR_move_pages 310 +#define TARGET_NR_sched_setaffinity 311 +#define TARGET_NR_sched_getaffinity 312 +#define TARGET_NR_kexec_load 313 +#define TARGET_NR_getcpu 314 +#define TARGET_NR_epoll_pwait 315 +#define TARGET_NR_utimensat 316 +#define TARGET_NR_signalfd 317 +#define TARGET_NR_timerfd 318 +#define TARGET_NR_eventfd 319 +#define TARGET_NR_fallocate 320 diff --git a/linux-user/ppc/syscall_nr.h b/linux-user/ppc/syscall_nr.h index b97189a..1e5ced7 100644 --- a/linux-user/ppc/syscall_nr.h +++ b/linux-user/ppc/syscall_nr.h @@ -256,3 +256,58 @@ #define TARGET_NR_statfs64 252 #define TARGET_NR_fstatfs64 253 #define TARGET_NR_fadvise64_64 254 +#define TARGET_NR_rtas 255 +#define TARGET_NR_sys_debug_setcontext 256 +/* Number 257 is reserved for vserver */ +#define TARGET_NR_migrate_pages 258 +#define TARGET_NR_mbind 259 +#define TARGET_NR_get_mempolicy 260 +#define TARGET_NR_set_mempolicy 261 +#define TARGET_NR_mq_open 262 +#define TARGET_NR_mq_unlink 263 +#define TARGET_NR_mq_timedsend 264 +#define TARGET_NR_mq_timedreceive 265 +#define TARGET_NR_mq_notify 266 +#define TARGET_NR_mq_getsetattr 267 +#define TARGET_NR_kexec_load 268 +#define TARGET_NR_add_key 269 +#define TARGET_NR_request_key 270 +#define TARGET_NR_keyctl 271 +#define TARGET_NR_waitid 272 +#define TARGET_NR_ioprio_set 273 +#define TARGET_NR_ioprio_get 274 +#define TARGET_NR_inotify_init 275 +#define TARGET_NR_inotify_add_watch 276 +#define TARGET_NR_inotify_rm_watch 277 +#define TARGET_NR_spu_run 278 +#define TARGET_NR_spu_create 279 +#define TARGET_NR_pselect6 280 +#define TARGET_NR_ppoll 281 +#define TARGET_NR_unshare 282 +#define TARGET_NR_splice 283 +#define TARGET_NR_tee 284 +#define TARGET_NR_vmsplice 285 +#define TARGET_NR_openat 286 +#define TARGET_NR_mkdirat 287 +#define TARGET_NR_mknodat 288 +#define TARGET_NR_fchownat 289 +#define TARGET_NR_futimesat 290 +#define TARGET_NR_fstatat64 291 +#define TARGET_NR_unlinkat 292 +#define TARGET_NR_renameat 293 +#define TARGET_NR_linkat 294 +#define TARGET_NR_symlinkat 295 +#define TARGET_NR_readlinkat 296 +#define TARGET_NR_fchmodat 297 +#define TARGET_NR_faccessat 298 +#define TARGET_NR_get_robust_list 299 +#define TARGET_NR_set_robust_list 300 +#define TARGET_NR_move_pages 301 +#define TARGET_NR_getcpu 302 +#define TARGET_NR_epoll_pwait 303 +#define TARGET_NR_utimensat 304 +#define TARGET_NR_signalfd 305 +#define TARGET_NR_timerfd 306 +#define TARGET_NR_eventfd 307 +#define TARGET_NR_sync_file_range2 308 +#define TARGET_NR_fallocate 309 diff --git a/linux-user/ppc64/syscall_nr.h b/linux-user/ppc64/syscall_nr.h index b97189a..d78ce53 100644 --- a/linux-user/ppc64/syscall_nr.h +++ b/linux-user/ppc64/syscall_nr.h @@ -256,3 +256,58 @@ #define TARGET_NR_statfs64 252 #define TARGET_NR_fstatfs64 253 #define TARGET_NR_fadvise64_64 254 +#define TARGET_NR_rtas 255 +#define TARGET_NR_sys_debug_setcontext 256 +/* Number 257 is reserved for vserver */ +#define TARGET_NR_migrate_pages 258 +#define TARGET_NR_mbind 259 +#define TARGET_NR_get_mempolicy 260 +#define TARGET_NR_set_mempolicy 261 +#define TARGET_NR_mq_open 262 +#define TARGET_NR_mq_unlink 263 +#define TARGET_NR_mq_timedsend 264 +#define TARGET_NR_mq_timedreceive 265 +#define TARGET_NR_mq_notify 266 +#define TARGET_NR_mq_getsetattr 267 +#define TARGET_NR_kexec_load 268 +#define TARGET_NR_add_key 269 +#define TARGET_NR_request_key 270 +#define TARGET_NR_keyctl 271 +#define TARGET_NR_waitid 272 +#define TARGET_NR_ioprio_set 273 +#define TARGET_NR_ioprio_get 274 +#define TARGET_NR_inotify_init 275 +#define TARGET_NR_inotify_add_watch 276 +#define TARGET_NR_inotify_rm_watch 277 +#define TARGET_NR_spu_run 278 +#define TARGET_NR_spu_create 279 +#define TARGET_NR_pselect6 280 +#define TARGET_NR_ppoll 281 +#define TARGET_NR_unshare 282 +#define TARGET_NR_splice 283 +#define TARGET_NR_tee 284 +#define TARGET_NR_vmsplice 285 +#define TARGET_NR_openat 286 +#define TARGET_NR_mkdirat 287 +#define TARGET_NR_mknodat 288 +#define TARGET_NR_fchownat 289 +#define TARGET_NR_futimesat 290 +#define TARGET_NR_newfstatat 291 +#define TARGET_NR_unlinkat 292 +#define TARGET_NR_renameat 293 +#define TARGET_NR_linkat 294 +#define TARGET_NR_symlinkat 295 +#define TARGET_NR_readlinkat 296 +#define TARGET_NR_fchmodat 297 +#define TARGET_NR_faccessat 298 +#define TARGET_NR_get_robust_list 299 +#define TARGET_NR_set_robust_list 300 +#define TARGET_NR_move_pages 301 +#define TARGET_NR_getcpu 302 +#define TARGET_NR_epoll_pwait 303 +#define TARGET_NR_utimensat 304 +#define TARGET_NR_signalfd 305 +#define TARGET_NR_timerfd 306 +#define TARGET_NR_eventfd 307 +#define TARGET_NR_sync_file_range2 308 +#define TARGET_NR_fallocate 309 diff --git a/linux-user/sh4/syscall_nr.h b/linux-user/sh4/syscall_nr.h index c91ba1b..b29705c 100644 --- a/linux-user/sh4/syscall_nr.h +++ b/linux-user/sh4/syscall_nr.h @@ -226,6 +226,7 @@ #define TARGET_NR_fcntl64 221 /* 223 is unused */ #define TARGET_NR_gettid 224 +#define TARGET_NR_readahead 225 #define TARGET_NR_setxattr 226 #define TARGET_NR_lsetxattr 227 #define TARGET_NR_fsetxattr 228 @@ -288,5 +289,40 @@ #define TARGET_NR_add_key 285 #define TARGET_NR_request_key 286 #define TARGET_NR_keyctl 287 - -#define TARGET_NR_readahead 225 /* XXXXX */ +#define TARGET_NR_ioprio_set 288 +#define TARGET_NR_ioprio_get 289 +#define TARGET_NR_inotify_init 290 +#define TARGET_NR_inotify_add_watch 291 +#define TARGET_NR_inotify_rm_watch 292 +/* 293 is unused */ +#define TARGET_NR_migrate_pages 294 +#define TARGET_NR_openat 295 +#define TARGET_NR_mkdirat 296 +#define TARGET_NR_mknodat 297 +#define TARGET_NR_fchownat 298 +#define TARGET_NR_futimesat 299 +#define TARGET_NR_fstatat64 300 +#define TARGET_NR_unlinkat 301 +#define TARGET_NR_renameat 302 +#define TARGET_NR_linkat 303 +#define TARGET_NR_symlinkat 304 +#define TARGET_NR_readlinkat 305 +#define TARGET_NR_fchmodat 306 +#define TARGET_NR_faccessat 307 +#define TARGET_NR_pselect6 308 +#define TARGET_NR_ppoll 309 +#define TARGET_NR_unshare 310 +#define TARGET_NR_set_robust_list 311 +#define TARGET_NR_get_robust_list 312 +#define TARGET_NR_splice 313 +#define TARGET_NR_sync_file_range 314 +#define TARGET_NR_tee 315 +#define TARGET_NR_vmsplice 316 +#define TARGET_NR_move_pages 317 +#define TARGET_NR_getcpu 318 +#define TARGET_NR_epoll_pwait 319 +#define TARGET_NR_utimensat 320 +#define TARGET_NR_signalfd 321 +#define TARGET_NR_timerfd 322 +#define TARGET_NR_eventfd 323 +#define TARGET_NR_fallocate 324 diff --git a/linux-user/sparc/syscall_nr.h b/linux-user/sparc/syscall_nr.h index afb364f..6419570 100644 --- a/linux-user/sparc/syscall_nr.h +++ b/linux-user/sparc/syscall_nr.h @@ -217,4 +217,62 @@ #define TARGET_NR_fdatasync 253 #define TARGET_NR_nfsservctl 254 #define TARGET_NR_aplib 255 -#define TARGET_NR__exit TARGET_NR_exit +#define TARGET_NR_clock_settime 256 +#define TARGET_NR_clock_gettime 257 +#define TARGET_NR_clock_getres 258 +#define TARGET_NR_clock_nanosleep 259 +#define TARGET_NR_sched_getaffinity 260 +#define TARGET_NR_sched_setaffinity 261 +#define TARGET_NR_timer_settime 262 +#define TARGET_NR_timer_gettime 263 +#define TARGET_NR_timer_getoverrun 264 +#define TARGET_NR_timer_delete 265 +#define TARGET_NR_timer_create 266 +/* #define TARGET_NR_vserver 267 Reserved for VSERVER */ +#define TARGET_NR_io_setup 268 +#define TARGET_NR_io_destroy 269 +#define TARGET_NR_io_submit 270 +#define TARGET_NR_io_cancel 271 +#define TARGET_NR_io_getevents 272 +#define TARGET_NR_mq_open 273 +#define TARGET_NR_mq_unlink 274 +#define TARGET_NR_mq_timedsend 275 +#define TARGET_NR_mq_timedreceive 276 +#define TARGET_NR_mq_notify 277 +#define TARGET_NR_mq_getsetattr 278 +#define TARGET_NR_waitid 279 +#define TARGET_NR_tee 280 +#define TARGET_NR_add_key 281 +#define TARGET_NR_request_key 282 +#define TARGET_NR_keyctl 283 +#define TARGET_NR_openat 284 +#define TARGET_NR_mkdirat 285 +#define TARGET_NR_mknodat 286 +#define TARGET_NR_fchownat 287 +#define TARGET_NR_futimesat 288 +#define TARGET_NR_fstatat64 289 +#define TARGET_NR_unlinkat 290 +#define TARGET_NR_renameat 291 +#define TARGET_NR_linkat 292 +#define TARGET_NR_symlinkat 293 +#define TARGET_NR_readlinkat 294 +#define TARGET_NR_fchmodat 295 +#define TARGET_NR_faccessat 296 +#define TARGET_NR_pselect6 297 +#define TARGET_NR_ppoll 298 +#define TARGET_NR_unshare 299 +#define TARGET_NR_set_robust_list 300 +#define TARGET_NR_get_robust_list 301 +#define TARGET_NR_migrate_pages 302 +#define TARGET_NR_mbind 303 +#define TARGET_NR_get_mempolicy 304 +#define TARGET_NR_set_mempolicy 305 +#define TARGET_NR_kexec_load 306 +#define TARGET_NR_move_pages 307 +#define TARGET_NR_getcpu 308 +#define TARGET_NR_epoll_pwait 309 +#define TARGET_NR_utimensat 310 +#define TARGET_NR_signalfd 311 +#define TARGET_NR_timerfd 312 +#define TARGET_NR_eventfd 313 +#define TARGET_NR_fallocate 314 diff --git a/linux-user/sparc64/syscall_nr.h b/linux-user/sparc64/syscall_nr.h index 9274c85..5310294 100644 --- a/linux-user/sparc64/syscall_nr.h +++ b/linux-user/sparc64/syscall_nr.h @@ -284,3 +284,34 @@ #define TARGET_NR_add_key 281 #define TARGET_NR_request_key 282 #define TARGET_NR_keyctl 283 +#define TARGET_NR_openat 284 +#define TARGET_NR_mkdirat 285 +#define TARGET_NR_mknodat 286 +#define TARGET_NR_fchownat 287 +#define TARGET_NR_futimesat 288 +#define TARGET_NR_fstatat64 289 +#define TARGET_NR_unlinkat 290 +#define TARGET_NR_renameat 291 +#define TARGET_NR_linkat 292 +#define TARGET_NR_symlinkat 293 +#define TARGET_NR_readlinkat 294 +#define TARGET_NR_fchmodat 295 +#define TARGET_NR_faccessat 296 +#define TARGET_NR_pselect6 297 +#define TARGET_NR_ppoll 298 +#define TARGET_NR_unshare 299 +#define TARGET_NR_set_robust_list 300 +#define TARGET_NR_get_robust_list 301 +#define TARGET_NR_migrate_pages 302 +#define TARGET_NR_mbind 303 +#define TARGET_NR_get_mempolicy 304 +#define TARGET_NR_set_mempolicy 305 +#define TARGET_NR_kexec_load 306 +#define TARGET_NR_move_pages 307 +#define TARGET_NR_getcpu 308 +#define TARGET_NR_epoll_pwait 309 +#define TARGET_NR_utimensat 310 +#define TARGET_NR_signalfd 311 +#define TARGET_NR_timerfd 312 +#define TARGET_NR_eventfd 313 +#define TARGET_NR_fallocate 314 diff --git a/linux-user/x86_64/syscall_nr.h b/linux-user/x86_64/syscall_nr.h index c58de2b..e6a4c27 100644 --- a/linux-user/x86_64/syscall_nr.h +++ b/linux-user/x86_64/syscall_nr.h @@ -278,3 +278,9 @@ #define TARGET_NR_sync_file_range 277 #define TARGET_NR_vmsplice 278 #define TARGET_NR_move_pages 279 +#define TARGET_NR_utimensat 280 +#define TARGET_NR_epoll_pwait 281 +#define TARGET_NR_signalfd 282 +#define TARGET_NR_timerfd 283 +#define TARGET_NR_eventfd 284 +#define TARGET_NR_fallocate 285 |