From: Dmitry V. Levin Date: Fri, 27 Feb 2015 00:17:06 +0000 (+0000) Subject: sparc: sync syscall entries with kernel headers X-Git-Tag: v4.10~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4d6b37dfd2a9db41e8a5b7278e1af6af40bb306;p=strace sparc: sync syscall entries with kernel headers * linux/sparc/syscallent.h: Fix syscall entries for vmsplice, inotify_init, inotify_add_watch, inotify_rm_watch, inotify_rm_watch, ioprio_set, ioprio_get, splice, sync_file_range, sched_getaffinity, and sched_setaffinity. (67, 68, 202, 230): Change syscall names to match __NR_* constants defined in arch/sparc/include/uapi/asm/unistd.h. --- diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h index d8f7ec0a..01dd62db 100644 --- a/linux/sparc/syscallent.h +++ b/linux/sparc/syscallent.h @@ -23,7 +23,7 @@ [ 22] = { 2, 0, sys_capset, "capset" }, [ 23] = { 1, 0, sys_setuid16, "setuid" }, [ 24] = { 0, NF, sys_getuid16, "getuid" }, -[ 25] = { 1, 0, sys_time, "time" }, +[ 25] = { 4, TD, sys_vmsplice, "vmsplice" }, [ 26] = { 5, 0, sys_ptrace, "ptrace" }, [ 27] = { 1, 0, sys_alarm, "alarm" }, [ 28] = { 2, TS, sys_sigaltstack, "sigaltstack" }, @@ -65,8 +65,8 @@ [ 64] = { 0, 0, sys_getpagesize, "getpagesize" }, [ 65] = { 3, TM, sys_msync, "msync" }, [ 66] = { 0, TP, sys_vfork, "vfork" }, -[ 67] = { 5, TD, sys_pread, "pread" }, -[ 68] = { 5, TD, sys_pwrite, "pwrite" }, +[ 67] = { 5, TD, sys_pread, "pread64" }, +[ 68] = { 5, TD, sys_pwrite, "pwrite64" }, [ 69] = { 0, NF, sys_geteuid, "geteuid32" }, [ 70] = { 0, NF, sys_getegid, "getegid32" }, [ 71] = { 6, TD|TM|SI, sys_mmap, "mmap" }, @@ -149,12 +149,12 @@ [148] = { 5, 0, printargs, "pciconfig_read" }, [149] = { 5, 0, printargs, "pciconfig_write" }, [150] = { 3, TN, sys_getsockname, "getsockname" }, -[151] = { 4, TN, sys_getmsg, "getmsg" }, -[152] = { 4, TN, sys_putmsg, "putmsg" }, +[151] = { 0, TD, sys_inotify_init, "inotify_init" }, +[152] = { 3, TD, sys_inotify_add_watch, "inotify_add_watch" }, [153] = { 3, TD, sys_poll, "poll" }, [154] = { 3, TD, sys_getdents64, "getdents64" }, [155] = { 3, TD, sys_fcntl, "fcntl64" }, -[156] = { 4, 0, printargs, "getdirentries" }, +[156] = { 2, TD, sys_inotify_rm_watch, "inotify_rm_watch" }, [157] = { 2, TF, sys_statfs, "statfs" }, [158] = { 2, TD, sys_fstatfs, "fstatfs" }, [159] = { 1, TF, sys_umount, "umount" }, @@ -194,13 +194,13 @@ [193] = { 1, TD, sys_epoll_create, "epoll_create" }, [194] = { 4, TD, sys_epoll_ctl, "epoll_ctl" }, [195] = { 4, TD, sys_epoll_wait, "epoll_wait" }, -[196] = { 2, 0, sys_ulimit, "ulimit" }, +[196] = { 3, 0, sys_ioprio_set, "ioprio_set" }, [197] = { 0, 0, sys_getppid, "getppid" }, [198] = { 3, TS, sys_sigaction, "sigaction" }, [199] = { 0, TS, sys_siggetmask, "sgetmask" }, [200] = { 1, TS, sys_sigsetmask, "ssetmask" }, [201] = { 3, TS, sys_sigsuspend, "sigsuspend" }, -[202] = { 2, TF, sys_lstat, "lstat" }, +[202] = { 2, TF, sys_lstat, "oldlstat" }, [203] = { 1, TF, sys_uselib, "uselib" }, [204] = { 3, TD, sys_readdir, "readdir" }, [205] = { 4, TD, sys_readahead, "readahead" }, @@ -216,7 +216,7 @@ [215] = { 5, TI, sys_ipc, "ipc" }, [216] = { 0, TS, sys_sigreturn, "sigreturn" }, [217] = { 5, TP, sys_clone, "clone" }, -[218] = { 3, 0, sys_modify_ldt, "modify_ldt" }, +[218] = { 2, 0, sys_ioprio_get, "ioprio_get" }, [219] = { 1, 0, sys_adjtimex, "adjtimex" }, [220] = { 3, TS, sys_sigprocmask, "sigprocmask" }, [221] = { 2, 0, sys_create_module, "create_module" }, @@ -228,9 +228,9 @@ [227] = { 5, 0, sys_afs_syscall, "afs_syscall" }, [228] = { 1, NF, sys_setfsuid16, "setfsuid" }, [229] = { 1, NF, sys_setfsgid16, "setfsgid" }, -[230] = { 5, TD, sys_select, "select" }, +[230] = { 5, TD, sys_select, "_newselect" }, [231] = { 1, 0, sys_time, "time" }, -[232] = { 2, TF, sys_stat, "stat" }, +[232] = { 6, TD, sys_splice, "splice" }, [233] = { 1, 0, sys_stime, "stime" }, [234] = { 3, TF, sys_statfs64, "statfs64" }, [235] = { 3, TD, sys_fstatfs64, "fstatfs64" }, @@ -253,13 +253,13 @@ [252] = { 1, 0, sys_getsid, "getsid" }, [253] = { 1, TD, sys_fdatasync, "fdatasync" }, [254] = { 3, 0, sys_nfsservctl, "nfsservctl" }, -[255] = { 5, 0, printargs, "aplib" }, +[255] = { 6, TD, sys_sync_file_range, "sync_file_range" }, [256] = { 2, 0, sys_clock_settime, "clock_settime" }, [257] = { 2, 0, sys_clock_gettime, "clock_gettime" }, [258] = { 2, 0, sys_clock_getres, "clock_getres" }, [259] = { 4, 0, sys_clock_nanosleep, "clock_nanosleep" }, -[260] = { 3, 0, sys_sched_setaffinity, "sched_setaffinity" }, -[261] = { 3, 0, sys_sched_getaffinity, "sched_getaffinity" }, +[260] = { 3, 0, sys_sched_getaffinity, "sched_getaffinity" }, +[261] = { 3, 0, sys_sched_setaffinity, "sched_setaffinity" }, [262] = { 4, 0, sys_timer_settime, "timer_settime" }, [263] = { 2, 0, sys_timer_gettime, "timer_gettime" }, [264] = { 1, 0, sys_timer_getoverrun, "timer_getoverrun" },