commit | 3fb84bfc79949c145197c61fbf04ce18464e9112 | [log] [tgz] |
---|---|---|
author | James Cowgill <james410@cowgill.org.uk> | Thu Aug 11 16:33:01 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Aug 11 16:45:23 2016 +0000 |
tree | fcc5272246e2d160ae04286944a846ea9268e1e1 | |
parent | 0bc735e5aa4bd34aa73c12b6d3ba01f79591853e [diff] |
tests/xstatx.c: fix stat syscall tests on mips64 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. * tests/xstatx.c (create_sample): Use positive timestamps on mips64.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please send bug reports and enhancements to the strace mailing list.