From: Eugene Syromyatnikov Date: Mon, 17 Apr 2017 18:55:51 +0000 (+0200) Subject: linux/mips/syscallent-compat.h: add some TD/TF flags for *stat* variants X-Git-Tag: v4.17~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fc98fa63d0a98499f7ac3263c17db63c0e93062;p=strace linux/mips/syscallent-compat.h: add some TD/TF flags for *stat* variants *xstat syscalls are, according to [1], like their *stat counterparts, but with additional argument with fixed value. [1] http://math-atlas.sourceforge.net/devel/assembly/mipsabi32.pdf * linux/mips/syscallent-compat.h (*_xstat, *_lxstat, bsd43_oldstat): Add TF flag. (*_fxstat, bsd43_oldfstat): Add TD flag. --- diff --git a/linux/mips/syscallent-compat.h b/linux/mips/syscallent-compat.h index 42ee13c5..d0c2a398 100644 --- a/linux/mips/syscallent-compat.h +++ b/linux/mips/syscallent-compat.h @@ -116,9 +116,9 @@ [ 120] = { 0, 0, SEN(printargs), "svr4_fchdir" }, [ 121] = { 0, 0, SEN(printargs), "svr4_readv" }, [ 122] = { 0, 0, SEN(printargs), "svr4_writev" }, -[ 123] = { 0, 0, SEN(printargs), "svr4_xstat" }, -[ 124] = { 0, 0, SEN(printargs), "svr4_lxstat" }, -[ 125] = { 0, 0, SEN(printargs), "svr4_fxstat" }, +[ 123] = { 0, TF, SEN(printargs), "svr4_xstat" }, +[ 124] = { 0, TF, SEN(printargs), "svr4_lxstat" }, +[ 125] = { 0, TD, SEN(printargs), "svr4_fxstat" }, [ 126] = { 0, 0, SEN(printargs), "svr4_xmknod" }, [ 127] = { 0, 0, SEN(printargs), "svr4_clocal" }, [ 128] = { 0, 0, SEN(printargs), "svr4_setrlimit" }, @@ -302,9 +302,9 @@ [1155] = { 0, 0, SEN(printargs), "sysv_socketpair" }, [1156] = { 0, 0, SEN(printargs), "sysv_sysinfo" }, [1157] = { 0, 0, SEN(printargs), "sysv_nuname" }, -[1158] = { 0, 0, SEN(printargs), "sysv_xstat" }, -[1159] = { 0, 0, SEN(printargs), "sysv_lxstat" }, -[1160] = { 0, 0, SEN(printargs), "sysv_fxstat" }, +[1158] = { 0, TF, SEN(printargs), "sysv_xstat" }, +[1159] = { 0, TF, SEN(printargs), "sysv_lxstat" }, +[1160] = { 0, TD, SEN(printargs), "sysv_fxstat" }, [1161] = { 0, 0, SEN(printargs), "sysv_xmknod" }, [1162] = { 0, 0, SEN(printargs), "sysv_ksigaction" }, [1163] = { 0, 0, SEN(printargs), "sysv_sigpending" }, @@ -352,7 +352,7 @@ [2015] = { 0, 0, SEN(printargs), "bsd43_chmod" }, [2016] = { 0, 0, SEN(printargs), "bsd43_chown" }, [2017] = { 0, TM, SEN(printargs), "bsd43_sbreak" }, -[2018] = { 0, 0, SEN(printargs), "bsd43_oldstat" }, +[2018] = { 0, TF, SEN(printargs), "bsd43_oldstat" }, [2019] = { 0, 0, SEN(printargs), "bsd43_lseek" }, [2020] = { 0, 0, SEN(printargs), "bsd43_getpid" }, [2021] = { 0, 0, SEN(printargs), "bsd43_oldmount" }, @@ -362,7 +362,7 @@ [2025] = { 0, 0, SEN(printargs), "bsd43_stime" }, [2026] = { 0, 0, SEN(printargs), "bsd43_ptrace" }, [2027] = { 0, 0, SEN(printargs), "bsd43_alarm" }, -[2028] = { 0, 0, SEN(printargs), "bsd43_oldfstat" }, +[2028] = { 0, TD, SEN(printargs), "bsd43_oldfstat" }, [2029] = { 0, 0, SEN(printargs), "bsd43_pause" }, [2030] = { 0, 0, SEN(printargs), "bsd43_utime" }, [2031] = { 0, 0, SEN(printargs), "bsd43_stty" },