porting strace to Bionic libc

enh enh at google.com
Fri Feb 28 23:06:36 UTC 2014


this okay?

Fix decoding of arm struct stat64 by aarch64 strace.

aarch64's uapi header files have a struct stat but no struct stat64.
To correctly decode a 32-bit process' s struct stat64 we need HAVE_STAT64,
but then the build fails because there is no struct stat64. Luckily,
the aarch64 struct stat is structurally equivalent to the arm struct stat64,
so we can just reuse that.

Signed-off-by: Elliott Hughes <enh at google.com>

On Fri, Feb 28, 2014 at 2:59 PM, Dmitry V. Levin <ldv at altlinux.org> wrote:
> On Thu, Feb 27, 2014 at 04:52:01PM -0800, enh wrote:
>> this fixes decoding of struct sigaction for arm32 binaries traced by
>> an arm64 strace for me. arm32-arm32 and arm64-arm64 continue to work.
>
> Thanks.  Could you also write a commit message for this patch, please?
>
>
> --
> ldv
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel
>



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Java i18n/JNI/NIO, or bionic questions? Mail me/drop by/add me as a reviewer.




More information about the Strace-devel mailing list