[PATCH 2/4] tests/xstatx.c: fix stat syscall tests on mips64

Dmitry V. Levin ldv at altlinux.org
Thu Aug 11 02:24:33 UTC 2016


On Wed, Aug 10, 2016 at 11:38:43AM +0100, James Cowgill wrote:
> For historical reasons the kernel struct stat represents times as unsigned
> 32-bit integers on mips64. Therefore, while it's possible to give a file a
> timestamp before 1970 with futimens, reading the same timestamp through
> struct stat will give a positive time (around 2106).
> Workaround by using positive timestamps for testing on mips64.

Does it meand that strace also should print a positive time on mips64?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160811/fd2abc38/attachment.bin>


More information about the Strace-devel mailing list