]> granicus.if.org Git - strace/commitdiff
alpha: fix the number of arguments in alpha specific syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 24 Mar 2017 15:09:59 +0000 (15:09 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 24 Mar 2017 15:09:59 +0000 (15:09 +0000)
* linux/alpha/syscallent.h (getxgid, osf_stat, osf_lstat, osf_fstat,
osf_sysinfo, sethae): Set nargs according to arch/alpha/kernel/osf_sys.c
from linux v4.10.

linux/alpha/syscallent.h

index 46fa7463d2180478568a914e767aa159708233d8..c7ef90af7b053188c5bcb64a49bd94f1a7b6d9e3 100644 (file)
@@ -73,7 +73,7 @@
 [ 44] = { 5,   0,              SEN(printargs),                 "osf_profil"            }, /* not implemented */
 [ 45] = { 3,   TD|TF,          SEN(open),                      "open"                  },
 [ 46] = { 5,   0,              SEN(printargs),                 "osf_old_sigaction"     }, /* not implemented */
-[ 47] = { 1,   NF,             SEN(getxgid),                   "getxgid"               },
+[ 47] = { 0,   NF,             SEN(getxgid),                   "getxgid"               },
 [ 48] = { 2,   TS,             SEN(sigprocmask),               "osf_sigprocmask"       },
 [ 49] = { 5,   0,              SEN(printargs),                 "osf_getlogin"          }, /* not implemented */
 [ 50] = { 5,   0,              SEN(printargs),                 "osf_setlogin"          }, /* not implemented */
 [221] = { },
 [222] = { 5,   0,              SEN(printargs),                 "osf_security"          }, /* not implemented */
 [223] = { 5,   0,              SEN(printargs),                 "osf_kloadcall"         }, /* not implemented */
-[224] = { 5,   0,              SEN(printargs),                 "osf_stat"              },
-[225] = { 5,   0,              SEN(printargs),                 "osf_lstat"             },
-[226] = { 5,   0,              SEN(printargs),                 "osf_fstat"             },
+[224] = { 2,   0,              SEN(printargs),                 "osf_stat"              },
+[225] = { 2,   0,              SEN(printargs),                 "osf_lstat"             },
+[226] = { 2,   0,              SEN(printargs),                 "osf_fstat"             },
 [227] = { 3,   0,              SEN(osf_statfs),                "osf_statfs64"          },
 [228] = { 3,   0,              SEN(osf_fstatfs),               "osf_fstatfs64"         },
 [229 ... 232] = { },
 [238] = { 5,   0,              SEN(printargs),                 "osf_sigsendset"        }, /* not implemented */
 [239] = { 5,   0,              SEN(printargs),                 "osf_set_speculative"   }, /* not implemented */
 [240] = { 5,   0,              SEN(printargs),                 "osf_msfs_syscall"      }, /* not implemented */
-[241] = { 5,   0,              SEN(printargs),                 "osf_sysinfo"           },
+[241] = { 3,   0,              SEN(printargs),                 "osf_sysinfo"           },
 [242] = { 5,   0,              SEN(printargs),                 "osf_uadmin"            }, /* not implemented */
 [243] = { 5,   0,              SEN(printargs),                 "osf_fuser"             }, /* not implemented */
 [244] = { 2,   0,              SEN(printargs),                 "osf_proplist_syscall"  },
 [261] = { 5,   0,              SEN(printargs),                 "osf_fdatasync"         }, /* not implemented */
 [262 ... 299] = { },
 [300] = { 2,   0,              SEN(bdflush),                   "bdflush"               },
-[301] = { 3,   0,              SEN(printargs),                 "sethae"                },
+[301] = { 1,   0,              SEN(printargs),                 "sethae"                },
 [302] = { 5,   TF,             SEN(mount),                     "mount"                 },
 [303] = { 1,   0,              SEN(adjtimex),                  "old_adjtimex"          },
 [304] = { 1,   TF,             SEN(swapoff),                   "swapoff"               },