Add syscall entries for new linux syscalls

* linux/dummy.h: Add printargs aliases for sys_finit_module, sys_kcmp
and sys_sync_file_range2.
* linux/alpha/syscallent.h: Add entries for process_vm_readv
and process_vm_writev.
* linux/bfin/syscallent.h: Likewise.
* linux/arm/syscallent.h: Add entries for sync_file_range2, kcmp
and finit_module.
* linux/hppa/syscallent.h: Add entries for process_vm_readv,
process_vm_writev, kcmp and finit_module.
* linux/tile/syscallent.h: Likewise.
* linux/tile/syscallent1.h: Likewise.
* linux/ia64/syscallent.h: Add entry for finit_module.
* linux/i386/syscallent.h: Add entries for kcmp and finit_module.
* linux/m68k/syscallent.h: Likewise.
* linux/metag/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/or1k/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/s390/syscallent.h: Add entries for s390_runtime_instr, kcmp
and finit_module.
* linux/s390x/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Add entries for kern_features, kcmp
and finit_module.
This commit is contained in:
Дмитрий Левин 2013-05-08 16:36:29 +00:00
parent 56ef5ef90f
commit cbd4e922ac
25 changed files with 70 additions and 29 deletions

View File

@ -530,3 +530,5 @@
{ 2, TD, sys_setns, "setns" }, /* 501 */
{ 4, TN, sys_accept4, "accept4" }, /* 502 */
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 503 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 504 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 505 */

View File

@ -369,7 +369,7 @@
{ 2, 0, sys_set_robust_list, "set_robust_list" }, /* 338 */
{ 3, 0, sys_get_robust_list, "get_robust_list" }, /* 339 */
{ 6, TD, sys_splice, "splice" }, /* 340 */
{ 5, 0, NULL, NULL }, /* 341 */
{ 6, TD, sys_sync_file_range2, "sync_file_range2"}, /* 341 */
{ 4, TD, sys_tee, "tee" }, /* 342 */
{ 4, TD, sys_vmsplice, "vmsplice" }, /* 343 */
{ 6, TM, sys_move_pages, "move_pages" }, /* 344 */
@ -406,11 +406,11 @@
{ 2, TD, sys_setns, "setns" }, /* 375 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 376 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 377 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 378 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 379 */
#ifdef __ARM_EABI__
# define ARM_LAST_ORDINARY_SYSCALL 377
# define ARM_LAST_ORDINARY_SYSCALL 379
#else
{ 5, 0, NULL, NULL }, /* 378 */
{ 5, 0, NULL, NULL }, /* 379 */
{ 5, 0, NULL, NULL }, /* 380 */
{ 5, 0, NULL, NULL }, /* 381 */
{ 5, 0, NULL, NULL }, /* 382 */

View File

@ -407,3 +407,5 @@
{ 1, TD, sys_syncfs, "syncfs" }, /* 378 */
{ 2, TD, sys_setns, "setns" }, /* 379 */
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 380 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 381 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 382 */

View File

@ -35,10 +35,12 @@
#define sys_add_key printargs
#define sys_fanotify_init printargs
#define sys_fanotify_mark printargs
#define sys_finit_module printargs
#define sys_ioperm printargs
#define sys_iopl printargs
#define sys_ioprio_get printargs
#define sys_ioprio_set printargs
#define sys_kcmp printargs
#define sys_kexec_load printargs
#define sys_keyctl printargs
#define sys_lookup_dcookie printargs
@ -46,6 +48,7 @@
#define sys_open_by_handle_at printargs
#define sys_request_key printargs
#define sys_sync_file_range printargs
#define sys_sync_file_range2 printargs
#define sys_sysfs printargs
#define sys_vm86old printargs
#define sys_vm86 printargs

View File

@ -332,3 +332,7 @@
{ 1, TD, sys_syncfs, "syncfs" }, /* 327 */
{ 2, TD, sys_setns, "setns" }, /* 328 */
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 329 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 330 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 331 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 332 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 333 */

View File

@ -377,8 +377,8 @@
{ 2, TD, sys_setns, "setns" }, /* 346 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 347 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 348 */
{ 5, 0, NULL, NULL }, /* 349 */
{ 5, 0, NULL, NULL }, /* 350 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 349 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 350 */
{ 5, 0, NULL, NULL }, /* 351 */
{ 5, 0, NULL, NULL }, /* 352 */
{ 5, 0, NULL, NULL }, /* 353 */

View File

@ -1117,3 +1117,4 @@
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 1332 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 1333 */
{ 4, TN, sys_accept4, "accept4" }, /* 1334 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 1335 */

View File

@ -373,8 +373,8 @@
{ 2, TD, sys_setns, "setns" }, /* 344 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 345 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 346 */
{ 5, 0, NULL, NULL }, /* 347 */
{ 5, 0, NULL, NULL }, /* 348 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 347 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 348 */
{ 5, 0, NULL, NULL }, /* 349 */
{ 5, 0, NULL, NULL }, /* 350 */
{ 5, 0, NULL, NULL }, /* 351 */

View File

@ -262,4 +262,5 @@
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 269 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 270 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 271 */
{ 5, TP, printargs, "kcmp" }, /* 272 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 272 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 273 */

View File

@ -405,3 +405,5 @@
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 376 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 377 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 378 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 379 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 380 */

View File

@ -311,6 +311,8 @@
{ 2, TD, sys_setns, "setns" }, /* 6308 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 6309 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 6310 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 6311 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 6312 */
#else
{ 0, 0, printargs, "n32_read" }, /* 6000 */
{ 0, 0, printargs, "n32_write" }, /* 6001 */
@ -623,4 +625,6 @@
{ 2, TD, printargs, "n32_setns" }, /* 6308 */
{ 6, 0, printargs, "n32_process_vm_readv" }, /* 6309 */
{ 6, 0, printargs, "n32_process_vm_writev" }, /* 6310 */
{ 5, 0, printargs, "n32_kcmp" }, /* 6311 */
{ 3, TD, printargs, "n32_finit_module" }, /* 6312 */
#endif

View File

@ -306,6 +306,8 @@
{ 2, TD, sys_setns, "setns" }, /* 5303 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 5304 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 5305 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 5306 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 5307 */
#else
{ 0, 0, printargs, "n64_read" }, /* 5000 */
{ 0, 0, printargs, "n64_write" }, /* 5001 */
@ -613,5 +615,7 @@
{ 2, TD, printargs, "n64_setns" }, /* 5303 */
{ 6, 0, printargs, "n64_process_vm_readv" }, /* 5304 */
{ 6, 0, printargs, "n64_process_vm_writev" }, /* 5305 */
{ 5, 0, printargs, "kcmp" }, /* 5306 */
{ 3, TD, printargs, "finit_module" }, /* 5307 */
#endif
[5306 ... 5999] = { }, /* 5999 */ /* end of Linux N64 */
[5308 ... 5999] = { }, /* 5999 */ /* end of Linux N64 */

View File

@ -347,6 +347,8 @@
{ 2, TD, sys_setns, "setns" }, /* 4344 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 4345 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 4346 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 4347 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 4348 */
#else
{ 0, 0, printargs, "o32_syscall" }, /* 4000 */
{ 0, 0, printargs, "o32_exit" }, /* 4001 */
@ -695,5 +697,7 @@
{ 2, TD, printargs, "o32_setns" }, /* 4344 */
{ 6, 0, printargs, "o32_process_vm_readv" }, /* 4345 */
{ 6, 0, printargs, "o32_process_vm_writev" }, /* 4346 */
{ 5, 0, printargs, "o32_kcmp" }, /* 4347 */
{ 3, TD, printargs, "o32_finit_module" }, /* 4348 */
#endif
[4347 ... 4999] = { }, /* 4999 */ /* end of Linux o32 */
[4349 ... 4999] = { }, /* 4999 */ /* end of Linux o32 */

View File

@ -258,3 +258,5 @@
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 269 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 270 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 271 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 272 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 273 */

View File

@ -379,8 +379,8 @@
{ 2, TD, sys_setns, "setns" }, /* 350 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 351 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 352 */
{ 5, 0, NULL, NULL }, /* 353 */
{ 5, 0, NULL, NULL }, /* 354 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 353 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 354 */
{ 5, 0, NULL, NULL }, /* 355 */
{ 5, 0, NULL, NULL }, /* 356 */
{ 5, 0, NULL, NULL }, /* 357 */

View File

@ -370,9 +370,9 @@
{ 2, TD, sys_setns, "setns" }, /* 339 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 340 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 341 */
{ 5, 0, NULL, NULL }, /* 342 */
{ 5, 0, NULL, NULL }, /* 343 */
{ 5, 0, NULL, NULL }, /* 344 */
{ 2, 0, printargs, "s390_runtime_instr" }, /* 342 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 343 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 344 */
{ 5, 0, NULL, NULL }, /* 345 */
{ 5, 0, NULL, NULL }, /* 346 */
{ 5, 0, NULL, NULL }, /* 347 */

View File

@ -369,9 +369,9 @@
{ 2, TD, sys_setns, "setns" }, /* 339 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 340 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 341 */
{ 5, 0, NULL, NULL }, /* 342 */
{ 5, 0, NULL, NULL }, /* 343 */
{ 5, 0, NULL, NULL }, /* 344 */
{ 2, 0, printargs, "s390_runtime_instr" }, /* 342 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 343 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 344 */
{ 5, 0, NULL, NULL }, /* 345 */
{ 5, 0, NULL, NULL }, /* 346 */
{ 5, 0, NULL, NULL }, /* 347 */

View File

@ -397,8 +397,8 @@
{ 2, TD, sys_setns, "setns" }, /* 364 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 365 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 366 */
{ 5, 0, NULL, NULL }, /* 367 */
{ 5, 0, NULL, NULL }, /* 368 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 367 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 368 */
{ 5, 0, NULL, NULL }, /* 369 */
{ 5, 0, NULL, NULL }, /* 370 */
{ 5, 0, NULL, NULL }, /* 371 */

View File

@ -404,8 +404,8 @@
{ 2, TD, sys_setns, "setns" }, /* 375 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 376 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 377 */
{ 5, 0, NULL, NULL }, /* 378 */
{ 5, 0, NULL, NULL }, /* 379 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 378 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 379 */
{ 5, 0, NULL, NULL }, /* 380 */
{ 5, 0, NULL, NULL }, /* 381 */
{ 5, 0, NULL, NULL }, /* 382 */

View File

@ -338,9 +338,9 @@
{ 2, TD, sys_setns, "setns" }, /* 337 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 338 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 339 */
{ 5, 0, NULL, NULL }, /* 340 */
{ 5, 0, NULL, NULL }, /* 341 */
{ 5, 0, NULL, NULL }, /* 342 */
{ 0, NF, printargs, "kern_features" }, /* 340 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 341 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 342 */
{ 5, 0, NULL, NULL }, /* 343 */
{ 5, 0, NULL, NULL }, /* 344 */
{ 5, 0, NULL, NULL }, /* 345 */

View File

@ -268,3 +268,7 @@
{ 1, TD, sys_syncfs, "syncfs" }, /* 267 */
{ 2, TD, sys_setns, "setns" }, /* 268 */
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 269 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 270 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 271 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 272 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 273 */

View File

@ -272,3 +272,7 @@
{ 1, TD, sys_syncfs, "syncfs" }, /* 267 */
{ 2, TD, sys_setns, "setns" }, /* 268 */
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 269 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 270 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 271 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 272 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 273 */

View File

@ -310,8 +310,10 @@
{ 3, 0, sys_getcpu, "getcpu" }, /* 309 */
{ 6, 0, printargs, "64:process_vm_readv" }, /* 310 */
{ 6, 0, printargs, "64:process_vm_writev" }, /* 311 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 312 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 313 */
[312 ... 511] = {},
[314 ... 511] = {},
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 512 */
{ 0, TS, sys_rt_sigreturn, "rt_sigreturn" }, /* 513 */

View File

@ -310,3 +310,5 @@
{ 3, 0, sys_getcpu, "getcpu" }, /* 309 */
{ 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 310 */
{ 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 311 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 312 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 313 */

View File

@ -321,6 +321,6 @@
{ 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo"}, /* 328 */
{ 2, 0, sys_clock_adjtime, "clock_adjtime" }, /* 329 */
{ 4, 0, sys_prlimit64, "prlimit64" }, /* 330 */
{ 5, TP, printargs, "kcmp" }, /* 331 */
{ 3, TP, printargs, "finit_module" }, /* 332 */
{ 5, 0, sys_kcmp, "kcmp" }, /* 331 */
{ 3, TD, sys_finit_module, "finit_module" }, /* 332 */
{ 4, TN, sys_accept4, "accept4" }, /* 333 */