Commit 8dd77cca03ac6325bda61dbdb8b8a2021fe524c3
1 parent
f05d35d2
Update Linux kernel syscall list.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3216 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
10 changed files
with
401 additions
and
6 deletions
linux-user/alpha/syscall_nr.h
@@ -379,3 +379,35 @@ | @@ -379,3 +379,35 @@ | ||
379 | #define TARGET_NR_inotify_init 444 | 379 | #define TARGET_NR_inotify_init 444 |
380 | #define TARGET_NR_inotify_add_watch 445 | 380 | #define TARGET_NR_inotify_add_watch 445 |
381 | #define TARGET_NR_inotify_rm_watch 446 | 381 | #define TARGET_NR_inotify_rm_watch 446 |
382 | +#define TARGET_NR_fdatasync 447 | ||
383 | +#define TARGET_NR_kexec_load 448 | ||
384 | +#define TARGET_NR_migrate_pages 449 | ||
385 | +#define TARGET_NR_openat 450 | ||
386 | +#define TARGET_NR_mkdirat 451 | ||
387 | +#define TARGET_NR_mknodat 452 | ||
388 | +#define TARGET_NR_fchownat 453 | ||
389 | +#define TARGET_NR_futimesat 454 | ||
390 | +#define TARGET_NR_fstatat64 455 | ||
391 | +#define TARGET_NR_unlinkat 456 | ||
392 | +#define TARGET_NR_renameat 457 | ||
393 | +#define TARGET_NR_linkat 458 | ||
394 | +#define TARGET_NR_symlinkat 459 | ||
395 | +#define TARGET_NR_readlinkat 460 | ||
396 | +#define TARGET_NR_fchmodat 461 | ||
397 | +#define TARGET_NR_faccessat 462 | ||
398 | +#define TARGET_NR_pselect6 463 | ||
399 | +#define TARGET_NR_ppoll 464 | ||
400 | +#define TARGET_NR_unshare 465 | ||
401 | +#define TARGET_NR_set_robust_list 466 | ||
402 | +#define TARGET_NR_get_robust_list 467 | ||
403 | +#define TARGET_NR_splice 468 | ||
404 | +#define TARGET_NR_sync_file_range 469 | ||
405 | +#define TARGET_NR_tee 470 | ||
406 | +#define TARGET_NR_vmsplice 471 | ||
407 | +#define TARGET_NR_move_pages 472 | ||
408 | +#define TARGET_NR_getcpu 473 | ||
409 | +#define TARGET_NR_epoll_pwait 474 | ||
410 | +#define TARGET_NR_utimensat 475 | ||
411 | +#define TARGET_NR_signalfd 476 | ||
412 | +#define TARGET_NR_timerfd 477 | ||
413 | +#define TARGET_NR_eventfd 478 |
linux-user/arm/syscall_nr.h
@@ -325,3 +325,34 @@ | @@ -325,3 +325,34 @@ | ||
325 | #define TARGET_NR_mbind 319 | 325 | #define TARGET_NR_mbind 319 |
326 | #define TARGET_NR_get_mempolicy 320 | 326 | #define TARGET_NR_get_mempolicy 320 |
327 | #define TARGET_NR_set_mempolicy 321 | 327 | #define TARGET_NR_set_mempolicy 321 |
328 | +#define TARGET_NR_openat (322) | ||
329 | +#define TARGET_NR_mkdirat (323) | ||
330 | +#define TARGET_NR_mknodat (324) | ||
331 | +#define TARGET_NR_fchownat (325) | ||
332 | +#define TARGET_NR_futimesat (326) | ||
333 | +#define TARGET_NR_fstatat64 (327) | ||
334 | +#define TARGET_NR_unlinkat (328) | ||
335 | +#define TARGET_NR_renameat (329) | ||
336 | +#define TARGET_NR_linkat (330) | ||
337 | +#define TARGET_NR_symlinkat (331) | ||
338 | +#define TARGET_NR_readlinkat (332) | ||
339 | +#define TARGET_NR_fchmodat (333) | ||
340 | +#define TARGET_NR_faccessat (334) | ||
341 | + /* 335 for pselect6 */ | ||
342 | + /* 336 for ppoll */ | ||
343 | +#define TARGET_NR_unshare (337) | ||
344 | +#define TARGET_NR_set_robust_list (338) | ||
345 | +#define TARGET_NR_get_robust_list (339) | ||
346 | +#define TARGET_NR_splice (340) | ||
347 | +#define TARGET_NR_arm_sync_file_range (341) | ||
348 | +#define TARGET_NR_sync_file_range2 TARGET_NR_arm_sync_file_range | ||
349 | +#define TARGET_NR_tee (342) | ||
350 | +#define TARGET_NR_vmsplice (343) | ||
351 | +#define TARGET_NR_move_pages (344) | ||
352 | +#define TARGET_NR_getcpu (345) | ||
353 | + /* 346 for epoll_pwait */ | ||
354 | +#define TARGET_NR_kexec_load (347) | ||
355 | +#define TARGET_NR_utimensat (348) | ||
356 | +#define TARGET_NR_signalfd (349) | ||
357 | +#define TARGET_NR_timerfd (350) | ||
358 | +#define TARGET_NR_eventfd (351) |
linux-user/i386/syscall_nr.h
@@ -253,7 +253,7 @@ | @@ -253,7 +253,7 @@ | ||
253 | #define TARGET_NR_io_submit 248 | 253 | #define TARGET_NR_io_submit 248 |
254 | #define TARGET_NR_io_cancel 249 | 254 | #define TARGET_NR_io_cancel 249 |
255 | #define TARGET_NR_fadvise64 250 | 255 | #define TARGET_NR_fadvise64 250 |
256 | - | 256 | +/* 251 is available for reuse (was briefly sys_set_zone_reclaim) */ |
257 | #define TARGET_NR_exit_group 252 | 257 | #define TARGET_NR_exit_group 252 |
258 | #define TARGET_NR_lookup_dcookie 253 | 258 | #define TARGET_NR_lookup_dcookie 253 |
259 | #define TARGET_NR_epoll_create 254 | 259 | #define TARGET_NR_epoll_create 254 |
@@ -270,8 +270,60 @@ | @@ -270,8 +270,60 @@ | ||
270 | #define TARGET_NR_clock_gettime (TARGET_NR_timer_create+6) | 270 | #define TARGET_NR_clock_gettime (TARGET_NR_timer_create+6) |
271 | #define TARGET_NR_clock_getres (TARGET_NR_timer_create+7) | 271 | #define TARGET_NR_clock_getres (TARGET_NR_timer_create+7) |
272 | #define TARGET_NR_clock_nanosleep (TARGET_NR_timer_create+8) | 272 | #define TARGET_NR_clock_nanosleep (TARGET_NR_timer_create+8) |
273 | - | 273 | +#define TARGET_NR_statfs64 268 |
274 | +#define TARGET_NR_fstatfs64 269 | ||
274 | #define TARGET_NR_tgkill 270 | 275 | #define TARGET_NR_tgkill 270 |
275 | #define TARGET_NR_utimes 271 | 276 | #define TARGET_NR_utimes 271 |
276 | - | 277 | +#define TARGET_NR_fadvise64_64 272 |
278 | +#define TARGET_NR_vserver 273 | ||
279 | +#define TARGET_NR_mbind 274 | ||
280 | +#define TARGET_NR_get_mempolicy 275 | ||
281 | +#define TARGET_NR_set_mempolicy 276 | ||
282 | +#define TARGET_NR_mq_open 277 | ||
283 | +#define TARGET_NR_mq_unlink (TARGET_NR_mq_open+1) | ||
284 | +#define TARGET_NR_mq_timedsend (TARGET_NR_mq_open+2) | ||
285 | +#define TARGET_NR_mq_timedreceive (TARGET_NR_mq_open+3) | ||
286 | +#define TARGET_NR_mq_notify (TARGET_NR_mq_open+4) | ||
287 | +#define TARGET_NR_mq_getsetattr (TARGET_NR_mq_open+5) | ||
288 | +#define TARGET_NR_kexec_load 283 | ||
289 | +#define TARGET_NR_waitid 284 | ||
290 | +/* #define TARGET_NR_sys_setaltroot 285 */ | ||
291 | +#define TARGET_NR_add_key 286 | ||
292 | +#define TARGET_NR_request_key 287 | ||
293 | +#define TARGET_NR_keyctl 288 | ||
294 | +#define TARGET_NR_ioprio_set 289 | ||
295 | +#define TARGET_NR_ioprio_get 290 | ||
296 | +#define TARGET_NR_inotify_init 291 | ||
297 | +#define TARGET_NR_inotify_add_watch 292 | ||
298 | +#define TARGET_NR_inotify_rm_watch 293 | ||
299 | +#define TARGET_NR_migrate_pages 294 | ||
300 | +#define TARGET_NR_openat 295 | ||
301 | +#define TARGET_NR_mkdirat 296 | ||
302 | +#define TARGET_NR_mknodat 297 | ||
303 | +#define TARGET_NR_fchownat 298 | ||
304 | +#define TARGET_NR_futimesat 299 | ||
305 | +#define TARGET_NR_fstatat64 300 | ||
306 | +#define TARGET_NR_unlinkat 301 | ||
307 | +#define TARGET_NR_renameat 302 | ||
308 | +#define TARGET_NR_linkat 303 | ||
309 | +#define TARGET_NR_symlinkat 304 | ||
310 | +#define TARGET_NR_readlinkat 305 | ||
311 | +#define TARGET_NR_fchmodat 306 | ||
312 | +#define TARGET_NR_faccessat 307 | ||
313 | +#define TARGET_NR_pselect6 308 | ||
314 | +#define TARGET_NR_ppoll 309 | ||
315 | +#define TARGET_NR_unshare 310 | ||
277 | #define TARGET_NR_set_robust_list 311 | 316 | #define TARGET_NR_set_robust_list 311 |
317 | +#define TARGET_NR_get_robust_list 312 | ||
318 | +#define TARGET_NR_splice 313 | ||
319 | +#define TARGET_NR_sync_file_range 314 | ||
320 | +#define TARGET_NR_tee 315 | ||
321 | +#define TARGET_NR_vmsplice 316 | ||
322 | +#define TARGET_NR_move_pages 317 | ||
323 | +#define TARGET_NR_getcpu 318 | ||
324 | +#define TARGET_NR_epoll_pwait 319 | ||
325 | +#define TARGET_NR_utimensat 320 | ||
326 | +#define TARGET_NR_signalfd 321 | ||
327 | +#define TARGET_NR_timerfd 322 | ||
328 | +#define TARGET_NR_eventfd 323 | ||
329 | +#define TARGET_NR_fallocate 324 |
linux-user/m68k/syscall_nr.h
@@ -281,3 +281,42 @@ | @@ -281,3 +281,42 @@ | ||
281 | #define TARGET_NR_add_key 279 | 281 | #define TARGET_NR_add_key 279 |
282 | #define TARGET_NR_request_key 280 | 282 | #define TARGET_NR_request_key 280 |
283 | #define TARGET_NR_keyctl 281 | 283 | #define TARGET_NR_keyctl 281 |
284 | +#define TARGET_NR_ioprio_set 282 | ||
285 | +#define TARGET_NR_ioprio_get 283 | ||
286 | +#define TARGET_NR_inotify_init 284 | ||
287 | +#define TARGET_NR_inotify_add_watch 285 | ||
288 | +#define TARGET_NR_inotify_rm_watch 286 | ||
289 | +#define TARGET_NR_migrate_pages 287 | ||
290 | +#define TARGET_NR_openat 288 | ||
291 | +#define TARGET_NR_mkdirat 289 | ||
292 | +#define TARGET_NR_mknodat 290 | ||
293 | +#define TARGET_NR_fchownat 291 | ||
294 | +#define TARGET_NR_futimesat 292 | ||
295 | +#define TARGET_NR_fstatat64 293 | ||
296 | +#define TARGET_NR_unlinkat 294 | ||
297 | +#define TARGET_NR_renameat 295 | ||
298 | +#define TARGET_NR_linkat 296 | ||
299 | +#define TARGET_NR_symlinkat 297 | ||
300 | +#define TARGET_NR_readlinkat 298 | ||
301 | +#define TARGET_NR_fchmodat 299 | ||
302 | +#define TARGET_NR_faccessat 300 | ||
303 | +#define TARGET_NR_pselect6 301 | ||
304 | +#define TARGET_NR_ppoll 302 | ||
305 | +#define TARGET_NR_unshare 303 | ||
306 | +#define TARGET_NR_set_robust_list 304 | ||
307 | +#define TARGET_NR_get_robust_list 305 | ||
308 | +#define TARGET_NR_splice 306 | ||
309 | +#define TARGET_NR_sync_file_range 307 | ||
310 | +#define TARGET_NR_tee 308 | ||
311 | +#define TARGET_NR_vmsplice 309 | ||
312 | +#define TARGET_NR_move_pages 310 | ||
313 | +#define TARGET_NR_sched_setaffinity 311 | ||
314 | +#define TARGET_NR_sched_getaffinity 312 | ||
315 | +#define TARGET_NR_kexec_load 313 | ||
316 | +#define TARGET_NR_getcpu 314 | ||
317 | +#define TARGET_NR_epoll_pwait 315 | ||
318 | +#define TARGET_NR_utimensat 316 | ||
319 | +#define TARGET_NR_signalfd 317 | ||
320 | +#define TARGET_NR_timerfd 318 | ||
321 | +#define TARGET_NR_eventfd 319 | ||
322 | +#define TARGET_NR_fallocate 320 |
linux-user/ppc/syscall_nr.h
@@ -256,3 +256,58 @@ | @@ -256,3 +256,58 @@ | ||
256 | #define TARGET_NR_statfs64 252 | 256 | #define TARGET_NR_statfs64 252 |
257 | #define TARGET_NR_fstatfs64 253 | 257 | #define TARGET_NR_fstatfs64 253 |
258 | #define TARGET_NR_fadvise64_64 254 | 258 | #define TARGET_NR_fadvise64_64 254 |
259 | +#define TARGET_NR_rtas 255 | ||
260 | +#define TARGET_NR_sys_debug_setcontext 256 | ||
261 | +/* Number 257 is reserved for vserver */ | ||
262 | +#define TARGET_NR_migrate_pages 258 | ||
263 | +#define TARGET_NR_mbind 259 | ||
264 | +#define TARGET_NR_get_mempolicy 260 | ||
265 | +#define TARGET_NR_set_mempolicy 261 | ||
266 | +#define TARGET_NR_mq_open 262 | ||
267 | +#define TARGET_NR_mq_unlink 263 | ||
268 | +#define TARGET_NR_mq_timedsend 264 | ||
269 | +#define TARGET_NR_mq_timedreceive 265 | ||
270 | +#define TARGET_NR_mq_notify 266 | ||
271 | +#define TARGET_NR_mq_getsetattr 267 | ||
272 | +#define TARGET_NR_kexec_load 268 | ||
273 | +#define TARGET_NR_add_key 269 | ||
274 | +#define TARGET_NR_request_key 270 | ||
275 | +#define TARGET_NR_keyctl 271 | ||
276 | +#define TARGET_NR_waitid 272 | ||
277 | +#define TARGET_NR_ioprio_set 273 | ||
278 | +#define TARGET_NR_ioprio_get 274 | ||
279 | +#define TARGET_NR_inotify_init 275 | ||
280 | +#define TARGET_NR_inotify_add_watch 276 | ||
281 | +#define TARGET_NR_inotify_rm_watch 277 | ||
282 | +#define TARGET_NR_spu_run 278 | ||
283 | +#define TARGET_NR_spu_create 279 | ||
284 | +#define TARGET_NR_pselect6 280 | ||
285 | +#define TARGET_NR_ppoll 281 | ||
286 | +#define TARGET_NR_unshare 282 | ||
287 | +#define TARGET_NR_splice 283 | ||
288 | +#define TARGET_NR_tee 284 | ||
289 | +#define TARGET_NR_vmsplice 285 | ||
290 | +#define TARGET_NR_openat 286 | ||
291 | +#define TARGET_NR_mkdirat 287 | ||
292 | +#define TARGET_NR_mknodat 288 | ||
293 | +#define TARGET_NR_fchownat 289 | ||
294 | +#define TARGET_NR_futimesat 290 | ||
295 | +#define TARGET_NR_fstatat64 291 | ||
296 | +#define TARGET_NR_unlinkat 292 | ||
297 | +#define TARGET_NR_renameat 293 | ||
298 | +#define TARGET_NR_linkat 294 | ||
299 | +#define TARGET_NR_symlinkat 295 | ||
300 | +#define TARGET_NR_readlinkat 296 | ||
301 | +#define TARGET_NR_fchmodat 297 | ||
302 | +#define TARGET_NR_faccessat 298 | ||
303 | +#define TARGET_NR_get_robust_list 299 | ||
304 | +#define TARGET_NR_set_robust_list 300 | ||
305 | +#define TARGET_NR_move_pages 301 | ||
306 | +#define TARGET_NR_getcpu 302 | ||
307 | +#define TARGET_NR_epoll_pwait 303 | ||
308 | +#define TARGET_NR_utimensat 304 | ||
309 | +#define TARGET_NR_signalfd 305 | ||
310 | +#define TARGET_NR_timerfd 306 | ||
311 | +#define TARGET_NR_eventfd 307 | ||
312 | +#define TARGET_NR_sync_file_range2 308 | ||
313 | +#define TARGET_NR_fallocate 309 |
linux-user/ppc64/syscall_nr.h
@@ -256,3 +256,58 @@ | @@ -256,3 +256,58 @@ | ||
256 | #define TARGET_NR_statfs64 252 | 256 | #define TARGET_NR_statfs64 252 |
257 | #define TARGET_NR_fstatfs64 253 | 257 | #define TARGET_NR_fstatfs64 253 |
258 | #define TARGET_NR_fadvise64_64 254 | 258 | #define TARGET_NR_fadvise64_64 254 |
259 | +#define TARGET_NR_rtas 255 | ||
260 | +#define TARGET_NR_sys_debug_setcontext 256 | ||
261 | +/* Number 257 is reserved for vserver */ | ||
262 | +#define TARGET_NR_migrate_pages 258 | ||
263 | +#define TARGET_NR_mbind 259 | ||
264 | +#define TARGET_NR_get_mempolicy 260 | ||
265 | +#define TARGET_NR_set_mempolicy 261 | ||
266 | +#define TARGET_NR_mq_open 262 | ||
267 | +#define TARGET_NR_mq_unlink 263 | ||
268 | +#define TARGET_NR_mq_timedsend 264 | ||
269 | +#define TARGET_NR_mq_timedreceive 265 | ||
270 | +#define TARGET_NR_mq_notify 266 | ||
271 | +#define TARGET_NR_mq_getsetattr 267 | ||
272 | +#define TARGET_NR_kexec_load 268 | ||
273 | +#define TARGET_NR_add_key 269 | ||
274 | +#define TARGET_NR_request_key 270 | ||
275 | +#define TARGET_NR_keyctl 271 | ||
276 | +#define TARGET_NR_waitid 272 | ||
277 | +#define TARGET_NR_ioprio_set 273 | ||
278 | +#define TARGET_NR_ioprio_get 274 | ||
279 | +#define TARGET_NR_inotify_init 275 | ||
280 | +#define TARGET_NR_inotify_add_watch 276 | ||
281 | +#define TARGET_NR_inotify_rm_watch 277 | ||
282 | +#define TARGET_NR_spu_run 278 | ||
283 | +#define TARGET_NR_spu_create 279 | ||
284 | +#define TARGET_NR_pselect6 280 | ||
285 | +#define TARGET_NR_ppoll 281 | ||
286 | +#define TARGET_NR_unshare 282 | ||
287 | +#define TARGET_NR_splice 283 | ||
288 | +#define TARGET_NR_tee 284 | ||
289 | +#define TARGET_NR_vmsplice 285 | ||
290 | +#define TARGET_NR_openat 286 | ||
291 | +#define TARGET_NR_mkdirat 287 | ||
292 | +#define TARGET_NR_mknodat 288 | ||
293 | +#define TARGET_NR_fchownat 289 | ||
294 | +#define TARGET_NR_futimesat 290 | ||
295 | +#define TARGET_NR_newfstatat 291 | ||
296 | +#define TARGET_NR_unlinkat 292 | ||
297 | +#define TARGET_NR_renameat 293 | ||
298 | +#define TARGET_NR_linkat 294 | ||
299 | +#define TARGET_NR_symlinkat 295 | ||
300 | +#define TARGET_NR_readlinkat 296 | ||
301 | +#define TARGET_NR_fchmodat 297 | ||
302 | +#define TARGET_NR_faccessat 298 | ||
303 | +#define TARGET_NR_get_robust_list 299 | ||
304 | +#define TARGET_NR_set_robust_list 300 | ||
305 | +#define TARGET_NR_move_pages 301 | ||
306 | +#define TARGET_NR_getcpu 302 | ||
307 | +#define TARGET_NR_epoll_pwait 303 | ||
308 | +#define TARGET_NR_utimensat 304 | ||
309 | +#define TARGET_NR_signalfd 305 | ||
310 | +#define TARGET_NR_timerfd 306 | ||
311 | +#define TARGET_NR_eventfd 307 | ||
312 | +#define TARGET_NR_sync_file_range2 308 | ||
313 | +#define TARGET_NR_fallocate 309 |
linux-user/sh4/syscall_nr.h
@@ -226,6 +226,7 @@ | @@ -226,6 +226,7 @@ | ||
226 | #define TARGET_NR_fcntl64 221 | 226 | #define TARGET_NR_fcntl64 221 |
227 | /* 223 is unused */ | 227 | /* 223 is unused */ |
228 | #define TARGET_NR_gettid 224 | 228 | #define TARGET_NR_gettid 224 |
229 | +#define TARGET_NR_readahead 225 | ||
229 | #define TARGET_NR_setxattr 226 | 230 | #define TARGET_NR_setxattr 226 |
230 | #define TARGET_NR_lsetxattr 227 | 231 | #define TARGET_NR_lsetxattr 227 |
231 | #define TARGET_NR_fsetxattr 228 | 232 | #define TARGET_NR_fsetxattr 228 |
@@ -288,5 +289,40 @@ | @@ -288,5 +289,40 @@ | ||
288 | #define TARGET_NR_add_key 285 | 289 | #define TARGET_NR_add_key 285 |
289 | #define TARGET_NR_request_key 286 | 290 | #define TARGET_NR_request_key 286 |
290 | #define TARGET_NR_keyctl 287 | 291 | #define TARGET_NR_keyctl 287 |
291 | - | ||
292 | -#define TARGET_NR_readahead 225 /* XXXXX */ | 292 | +#define TARGET_NR_ioprio_set 288 |
293 | +#define TARGET_NR_ioprio_get 289 | ||
294 | +#define TARGET_NR_inotify_init 290 | ||
295 | +#define TARGET_NR_inotify_add_watch 291 | ||
296 | +#define TARGET_NR_inotify_rm_watch 292 | ||
297 | +/* 293 is unused */ | ||
298 | +#define TARGET_NR_migrate_pages 294 | ||
299 | +#define TARGET_NR_openat 295 | ||
300 | +#define TARGET_NR_mkdirat 296 | ||
301 | +#define TARGET_NR_mknodat 297 | ||
302 | +#define TARGET_NR_fchownat 298 | ||
303 | +#define TARGET_NR_futimesat 299 | ||
304 | +#define TARGET_NR_fstatat64 300 | ||
305 | +#define TARGET_NR_unlinkat 301 | ||
306 | +#define TARGET_NR_renameat 302 | ||
307 | +#define TARGET_NR_linkat 303 | ||
308 | +#define TARGET_NR_symlinkat 304 | ||
309 | +#define TARGET_NR_readlinkat 305 | ||
310 | +#define TARGET_NR_fchmodat 306 | ||
311 | +#define TARGET_NR_faccessat 307 | ||
312 | +#define TARGET_NR_pselect6 308 | ||
313 | +#define TARGET_NR_ppoll 309 | ||
314 | +#define TARGET_NR_unshare 310 | ||
315 | +#define TARGET_NR_set_robust_list 311 | ||
316 | +#define TARGET_NR_get_robust_list 312 | ||
317 | +#define TARGET_NR_splice 313 | ||
318 | +#define TARGET_NR_sync_file_range 314 | ||
319 | +#define TARGET_NR_tee 315 | ||
320 | +#define TARGET_NR_vmsplice 316 | ||
321 | +#define TARGET_NR_move_pages 317 | ||
322 | +#define TARGET_NR_getcpu 318 | ||
323 | +#define TARGET_NR_epoll_pwait 319 | ||
324 | +#define TARGET_NR_utimensat 320 | ||
325 | +#define TARGET_NR_signalfd 321 | ||
326 | +#define TARGET_NR_timerfd 322 | ||
327 | +#define TARGET_NR_eventfd 323 | ||
328 | +#define TARGET_NR_fallocate 324 |
linux-user/sparc/syscall_nr.h
@@ -217,4 +217,62 @@ | @@ -217,4 +217,62 @@ | ||
217 | #define TARGET_NR_fdatasync 253 | 217 | #define TARGET_NR_fdatasync 253 |
218 | #define TARGET_NR_nfsservctl 254 | 218 | #define TARGET_NR_nfsservctl 254 |
219 | #define TARGET_NR_aplib 255 | 219 | #define TARGET_NR_aplib 255 |
220 | -#define TARGET_NR__exit TARGET_NR_exit | 220 | +#define TARGET_NR_clock_settime 256 |
221 | +#define TARGET_NR_clock_gettime 257 | ||
222 | +#define TARGET_NR_clock_getres 258 | ||
223 | +#define TARGET_NR_clock_nanosleep 259 | ||
224 | +#define TARGET_NR_sched_getaffinity 260 | ||
225 | +#define TARGET_NR_sched_setaffinity 261 | ||
226 | +#define TARGET_NR_timer_settime 262 | ||
227 | +#define TARGET_NR_timer_gettime 263 | ||
228 | +#define TARGET_NR_timer_getoverrun 264 | ||
229 | +#define TARGET_NR_timer_delete 265 | ||
230 | +#define TARGET_NR_timer_create 266 | ||
231 | +/* #define TARGET_NR_vserver 267 Reserved for VSERVER */ | ||
232 | +#define TARGET_NR_io_setup 268 | ||
233 | +#define TARGET_NR_io_destroy 269 | ||
234 | +#define TARGET_NR_io_submit 270 | ||
235 | +#define TARGET_NR_io_cancel 271 | ||
236 | +#define TARGET_NR_io_getevents 272 | ||
237 | +#define TARGET_NR_mq_open 273 | ||
238 | +#define TARGET_NR_mq_unlink 274 | ||
239 | +#define TARGET_NR_mq_timedsend 275 | ||
240 | +#define TARGET_NR_mq_timedreceive 276 | ||
241 | +#define TARGET_NR_mq_notify 277 | ||
242 | +#define TARGET_NR_mq_getsetattr 278 | ||
243 | +#define TARGET_NR_waitid 279 | ||
244 | +#define TARGET_NR_tee 280 | ||
245 | +#define TARGET_NR_add_key 281 | ||
246 | +#define TARGET_NR_request_key 282 | ||
247 | +#define TARGET_NR_keyctl 283 | ||
248 | +#define TARGET_NR_openat 284 | ||
249 | +#define TARGET_NR_mkdirat 285 | ||
250 | +#define TARGET_NR_mknodat 286 | ||
251 | +#define TARGET_NR_fchownat 287 | ||
252 | +#define TARGET_NR_futimesat 288 | ||
253 | +#define TARGET_NR_fstatat64 289 | ||
254 | +#define TARGET_NR_unlinkat 290 | ||
255 | +#define TARGET_NR_renameat 291 | ||
256 | +#define TARGET_NR_linkat 292 | ||
257 | +#define TARGET_NR_symlinkat 293 | ||
258 | +#define TARGET_NR_readlinkat 294 | ||
259 | +#define TARGET_NR_fchmodat 295 | ||
260 | +#define TARGET_NR_faccessat 296 | ||
261 | +#define TARGET_NR_pselect6 297 | ||
262 | +#define TARGET_NR_ppoll 298 | ||
263 | +#define TARGET_NR_unshare 299 | ||
264 | +#define TARGET_NR_set_robust_list 300 | ||
265 | +#define TARGET_NR_get_robust_list 301 | ||
266 | +#define TARGET_NR_migrate_pages 302 | ||
267 | +#define TARGET_NR_mbind 303 | ||
268 | +#define TARGET_NR_get_mempolicy 304 | ||
269 | +#define TARGET_NR_set_mempolicy 305 | ||
270 | +#define TARGET_NR_kexec_load 306 | ||
271 | +#define TARGET_NR_move_pages 307 | ||
272 | +#define TARGET_NR_getcpu 308 | ||
273 | +#define TARGET_NR_epoll_pwait 309 | ||
274 | +#define TARGET_NR_utimensat 310 | ||
275 | +#define TARGET_NR_signalfd 311 | ||
276 | +#define TARGET_NR_timerfd 312 | ||
277 | +#define TARGET_NR_eventfd 313 | ||
278 | +#define TARGET_NR_fallocate 314 |
linux-user/sparc64/syscall_nr.h
@@ -284,3 +284,34 @@ | @@ -284,3 +284,34 @@ | ||
284 | #define TARGET_NR_add_key 281 | 284 | #define TARGET_NR_add_key 281 |
285 | #define TARGET_NR_request_key 282 | 285 | #define TARGET_NR_request_key 282 |
286 | #define TARGET_NR_keyctl 283 | 286 | #define TARGET_NR_keyctl 283 |
287 | +#define TARGET_NR_openat 284 | ||
288 | +#define TARGET_NR_mkdirat 285 | ||
289 | +#define TARGET_NR_mknodat 286 | ||
290 | +#define TARGET_NR_fchownat 287 | ||
291 | +#define TARGET_NR_futimesat 288 | ||
292 | +#define TARGET_NR_fstatat64 289 | ||
293 | +#define TARGET_NR_unlinkat 290 | ||
294 | +#define TARGET_NR_renameat 291 | ||
295 | +#define TARGET_NR_linkat 292 | ||
296 | +#define TARGET_NR_symlinkat 293 | ||
297 | +#define TARGET_NR_readlinkat 294 | ||
298 | +#define TARGET_NR_fchmodat 295 | ||
299 | +#define TARGET_NR_faccessat 296 | ||
300 | +#define TARGET_NR_pselect6 297 | ||
301 | +#define TARGET_NR_ppoll 298 | ||
302 | +#define TARGET_NR_unshare 299 | ||
303 | +#define TARGET_NR_set_robust_list 300 | ||
304 | +#define TARGET_NR_get_robust_list 301 | ||
305 | +#define TARGET_NR_migrate_pages 302 | ||
306 | +#define TARGET_NR_mbind 303 | ||
307 | +#define TARGET_NR_get_mempolicy 304 | ||
308 | +#define TARGET_NR_set_mempolicy 305 | ||
309 | +#define TARGET_NR_kexec_load 306 | ||
310 | +#define TARGET_NR_move_pages 307 | ||
311 | +#define TARGET_NR_getcpu 308 | ||
312 | +#define TARGET_NR_epoll_pwait 309 | ||
313 | +#define TARGET_NR_utimensat 310 | ||
314 | +#define TARGET_NR_signalfd 311 | ||
315 | +#define TARGET_NR_timerfd 312 | ||
316 | +#define TARGET_NR_eventfd 313 | ||
317 | +#define TARGET_NR_fallocate 314 |
linux-user/x86_64/syscall_nr.h
@@ -278,3 +278,9 @@ | @@ -278,3 +278,9 @@ | ||
278 | #define TARGET_NR_sync_file_range 277 | 278 | #define TARGET_NR_sync_file_range 277 |
279 | #define TARGET_NR_vmsplice 278 | 279 | #define TARGET_NR_vmsplice 278 |
280 | #define TARGET_NR_move_pages 279 | 280 | #define TARGET_NR_move_pages 279 |
281 | +#define TARGET_NR_utimensat 280 | ||
282 | +#define TARGET_NR_epoll_pwait 281 | ||
283 | +#define TARGET_NR_signalfd 282 | ||
284 | +#define TARGET_NR_timerfd 283 | ||
285 | +#define TARGET_NR_eventfd 284 | ||
286 | +#define TARGET_NR_fallocate 285 |