Go to file
Dmitry V. Levin b6b38fa73b tests/times.test: workaround libc bug on x32
As glibc times wrapper on x32 is known to wrongly truncate and then sign
extend the syscall return value, invoke the syscall directly on x32.

* tests/times.c (main) [__NR_times && __x86_64__ && __ILP32__]:
Invoke times syscall using inline asm.
2015-12-15 23:34:03 +00:00
debian debian: add gawk to Build-Depends 2015-04-14 17:22:54 +00:00
linux aarch64: make arm registers unsigned 2015-12-11 10:52:42 +00:00
m4 Replace HAVE_LITTLE_ENDIAN_LONG_LONG with WORDS_BIGENDIAN 2015-12-14 11:57:59 +00:00
maint maint: make linux/kvm.h parseable on arm 2015-05-21 17:48:38 +00:00
qemu_multiarch_testing qemu_multiarch_testing/*: make it easier to do debug in sandboxes 2015-03-24 20:54:26 +01:00
test New test: test/many_looping_threads.c 2015-03-21 20:59:39 +01:00
tests tests/times.test: workaround libc bug on x32 2015-12-15 23:34:03 +00:00
xlat Update umount2 flags 2015-12-07 00:38:38 +00:00
.gitignore .gitignore: add mpers_xlat.h 2015-11-26 01:49:36 +00:00
.mailmap Remove duplicate names from CREDITS 2012-05-01 21:51:38 +00:00
.travis.yml travis-ci: add build matrix 2015-12-05 00:04:12 +00:00
access.c access.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
affinity.c affinity.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
aio.c Add helper functions to clear/restore syserror 2015-09-19 04:04:49 +03:00
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 2002-12-30 00:51:30 +00:00
bjm.c Remove parser of query_module syscall 2015-11-24 02:30:45 +00:00
block.c Fix printing tracee's long integers 2015-08-18 16:15:33 +00:00
bootstrap build: set arch specific -m switches in tests-m*32/Makefile.am files properly 2015-12-08 00:14:10 +00:00
bpf.c Implement bpf syscall decoding 2015-07-27 15:27:43 +00:00
build_static_example.sh Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
cacheflush.c cacheflush.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
capability.c capability.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
caps0.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
caps1.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
ChangeLog-CVS Generate ChangeLog from git log 2009-07-08 21:01:21 +00:00
chdir.c chdir.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
chmod.c chmod.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
clone.c clone.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
configure.ac Replace HAVE_LITTLE_ENDIAN_LONG_LONG with WORDS_BIGENDIAN 2015-12-14 11:57:59 +00:00
COPYING Rename COPYRIGHT to COPYING 2013-05-17 23:18:55 +00:00
count.c Refer to -h on incorrect usage 2015-11-27 02:38:59 +03:00
CREDITS.in CREDITS.in: add Jian Zhen 2015-11-25 19:10:56 +00:00
defs.h Replace HAVE_LITTLE_ENDIAN_LONG_LONG with WORDS_BIGENDIAN 2015-12-14 11:57:59 +00:00
desc.c x32: fix pselect6 decoding 2015-11-27 04:37:46 +00:00
dirent64.c Mpersify parsers of readdir and getdents syscalls 2015-11-19 22:49:58 +00:00
dirent.c x32: fix struct dirent decoding 2015-11-27 01:51:22 +00:00
empty.h Add mpers support 2015-08-28 08:46:23 +00:00
epoll.c Fix epoll_create syscall decoding 2015-08-02 00:10:52 +00:00
errnoent.sh Change errnoent.h files to use designated initializers 2015-02-23 13:29:17 +00:00
evdev.c Use printpair_int 2015-07-09 01:43:44 +00:00
eventfd.c eventfd2: fix flags decoding 2015-08-01 22:23:58 +00:00
execve.c Implement execveat syscall decoding 2015-07-27 15:27:43 +00:00
exit.c Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
fadvise.c fadvise.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fallocate.c fallocate.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fanotify.c fanotify_init: mark return code with RVAL_FD flag 2015-08-02 01:31:40 +00:00
fchownat.c fchownat.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fcntl.c fcntl: skip F_GETLK64, F_SETLK64, and F_SETLKW64 in fcntl syscall parser 2015-12-05 19:35:51 +00:00
fetch_seccomp_fprog.c Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +00:00
fetch_struct_flock.c Convert parsers of flock structures to new mpers infrastructure 2015-11-26 01:37:34 +00:00
file_handle.c Implement name_to_handle_at and open_by_handle_at syscalls decoding 2015-11-22 23:21:35 +00:00
file.c aarch64: swap 64-bit and 32-bit personalities 2015-12-09 01:09:11 +00:00
flock.c desc.c: move parser of flock syscall to a separate file 2015-10-08 22:41:54 +00:00
flock.h fcntl.c: use <linux/fcntl.h> instead of <fcntl.h> 2015-11-26 01:37:34 +00:00
futex.c Convert parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
generate_mpers_am.sh mpers: skip xlat struct definitions in mpers mode 2015-11-20 05:44:49 +00:00
generate_sen.sh Add unique syscall entry numbers (SENs) 2015-07-12 22:31:49 +00:00
generate_xlat_in.sh Generate xlat/*.in files 2014-05-30 21:40:03 +00:00
get_robust_list.c Simplify printing of get_robust_list first argument 2015-08-18 19:16:36 +00:00
getcpu.c getcpu.c: use printnum_int and printaddr 2015-07-20 22:03:07 +00:00
getcwd.c getcwd.c: use printaddr 2015-07-20 22:03:07 +00:00
getrandom.c getrandom.c: use printaddr 2015-07-20 22:03:07 +00:00
git-set-file-times Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
git-version-gen Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
gitlog-to-changelog Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
HACKING-scripts ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
hostname.c hostname.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
inotify.c inotify_init1: mark return code with RVAL_FD flag 2015-08-02 01:34:57 +00:00
INSTALL Remove and update documentation 2012-02-25 15:29:21 +01:00
io.c x86_64: fix x32 personality support in print_llu_from_low_high_val 2015-11-26 20:29:25 +00:00
ioctl.c ioctl: allow to stop decoding number 2015-12-04 18:05:38 +00:00
ioctlsort.c Include <linux/ioctl.h> for _IOC_* macros 2015-03-28 22:37:30 +00:00
ioperm.c Implement ioperm syscall decoding 2015-11-22 23:10:12 +00:00
iopl.c Implement iopl syscall decoding 2015-11-22 23:10:12 +00:00
ioprio.c ioprio.c: make use of RVAL_DECODED 2015-07-20 22:03:06 +00:00
ipc_defs.h Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_msg.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_msgctl.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_sem.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_shm.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_shmctl.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
kcmp.c Implement kcmp syscall decoding 2015-11-22 23:10:12 +00:00
kernel_types.h kernel_types.h: protect from double inclusion 2015-12-04 14:32:52 +00:00
kexec.c Implement kexec_file_load syscall decoding 2015-11-22 23:10:12 +00:00
keyctl.c keyctl.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
ldt.c ldt.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
link.c link.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
lookup_dcookie.c Implement lookup_dcookie syscall decoding 2015-11-22 23:10:12 +00:00
loop.c loop.c: enhance loop ioctl parser 2015-07-09 02:04:34 +00:00
lseek.c x32: fix decoding of i386 personality lseek syscall 2015-12-04 16:42:30 +00:00
make-dist Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
Makefile.am Move x32 <asm/stat.h> replacement to x32 specific directory 2015-12-08 00:14:26 +00:00
mem.c Implement mlock2 syscall decoding 2015-11-17 00:40:22 +00:00
membarrier.c Implement membarrier syscall decoding 2015-11-17 00:40:22 +00:00
memfd_create.c Implement memfd_create syscall decoding 2015-07-29 09:18:26 +00:00
mknod.c Remove unused parser of xmknod syscall 2015-12-14 00:08:24 +00:00
mount.c mount.c: make use of RVAL_DECODED 2015-07-20 01:42:01 +00:00
mpers_test.sh mpers.awk: make fillers added to the output structure more predictable 2015-12-15 23:33:34 +00:00
mpers_type.h Fix *_printer_defs.h rules ambiguousness 2015-11-07 23:33:47 +00:00
mpers.awk mpers.awk: make fillers added to the output structure more predictable 2015-12-15 23:33:34 +00:00
mpers.sh Add mpers support 2015-08-28 08:46:23 +00:00
mq.c Convert parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
mtd.c Fix build on systems that lack UBI_IOCVOLCRBLK/UBI_IOCVOLRMBLK definitions 2015-08-25 21:48:36 +00:00
native_defs.h Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
net.c net: fix printing of IP_RECVOPTS/IP_RETOPTS cmsg options 2015-11-22 23:09:59 +00:00
NEWS maint: post-release administrivia 2015-03-09 22:05:40 +00:00
open.c Update openat parser for the RVAL_DECODED change 2015-07-20 22:03:07 +00:00
or1k_atomic.c or1k_atomic.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
pathtrace.c Implement name_to_handle_at and open_by_handle_at syscalls decoding 2015-11-22 23:21:35 +00:00
perf.c perf_event_open: mark return code with RVAL_FD flag 2015-08-03 09:09:27 +00:00
personality.c personality.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
poll.c Convert another parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
prctl.c prctl: add PR_CAP_AMBIENT parser 2015-12-06 15:33:53 +00:00
print_mq_attr.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
print_msgbuf.c Mpersify tprint_msgsnd and tprint_msgrcv 2015-08-28 08:46:23 +00:00
print_sigevent.c mpers: skip xlat struct definitions in mpers mode 2015-11-20 05:44:49 +00:00
print_time.c Convert another parser of struct timeval to new mpers infrastructure 2015-09-19 04:04:49 +03:00
print_timex.c mpers: skip xlat struct definitions in mpers mode 2015-11-20 05:44:49 +00:00
printmode.c Include <sys/stat.h> for S_I* macros 2015-03-28 22:37:06 +00:00
printrusage.c Mpersify parsers of getrusage, waitpid, wait4, and waitid syscalls 2015-08-28 08:46:23 +00:00
printsiginfo.c Mpersify printsiginfo_at printer 2015-08-28 08:46:23 +00:00
printsiginfo.h defs.h: do not include <signal.h> 2015-07-18 00:01:40 +00:00
printstat.h Print nanoseconds along with seconds in stat family syscalls 2015-08-09 09:19:55 +00:00
process_vm.c process_vm.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
process.c Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
ptp.c ptp.c: enhance ptp ioctl parser 2015-07-10 22:54:29 +00:00
ptrace.h Update PTRACE_O_* constants 2015-09-14 14:42:28 +00:00
quota.c Enhance quotactl decoding 2015-07-18 00:01:40 +00:00
readahead.c readahead.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
readlink.c readlink.c: use printaddr 2015-07-18 00:01:40 +00:00
README Rename COPYRIGHT to COPYING 2013-05-17 23:18:55 +00:00
README-hacking Clarify bootstrap-vs-autoreconf usage 2015-03-03 01:45:30 +00:00
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 2012-02-09 19:57:52 +01:00
README-mpers Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
reboot.c reboot.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
regs.h Move regs-related macros and declarations from defs.h to regs.h 2015-02-13 18:28:08 +00:00
renameat.c renameat.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
resource.c Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
rtc.c Fix printing tracee's long integers 2015-08-18 16:15:33 +00:00
sched.c Implement sched_getattr and sched_setattr syscalls decoding 2015-07-29 09:18:26 +00:00
scsi.c scsi.c: use printaddr 2015-07-18 00:01:39 +00:00
seccomp_fprog.h Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +00:00
seccomp.c Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +00:00
sendfile.c sendfile: decode file offset both on entering and exiting syscall 2015-08-19 13:36:44 +00:00
sigaltstack.c Mpersify parser of sigaltstack syscall 2015-08-28 08:46:23 +00:00
signal.c Add helper functions to clear/restore syserror 2015-09-19 04:04:49 +03:00
signalent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
signalfd.c signalfd4: fix flags decoding 2015-08-03 09:57:14 +00:00
sigreturn.c cleanup: make arch_sigreturn.c files more readable 2015-11-28 02:58:29 +00:00
sock.c Change comparisons with function pointers to comparisons with SENs 2015-07-12 22:31:49 +00:00
socketutils.c alpha: fix -yy decoding 2015-03-02 23:39:41 +00:00
sram_alloc.c sram_alloc.c: make use of RVAL_DECODED 2015-07-16 23:44:57 +00:00
statfs.c statfs.c: use umove_or_printaddr 2015-07-16 23:44:57 +00:00
strace-graph Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
strace-log-merge strace-log-merge: fix file suffix calculation 2012-03-26 12:10:01 +00:00
strace.1 Document that syscall names match kernel __NR_* constants 2015-12-09 15:59:15 +00:00
strace.c Refer to -h on incorrect usage 2015-11-27 02:38:59 +03:00
strace.spec aio: rewrite from libaio.h to linux/aio_abi.h 2015-08-26 21:05:17 +00:00
swapon.c swapon.c: make use of RVAL_DECODED 2015-07-16 23:44:57 +00:00
sync_file_range.c sync_file_range2: fix typo in flags decoding 2015-07-16 23:44:57 +00:00
syscall.c aarch64: swap 64-bit and 32-bit personalities 2015-12-09 01:09:11 +00:00
syscallent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
sysctl.c sysctl.c: remove KERN_JAVA_* defines handling 2015-08-16 09:41:28 +00:00
sysinfo.c Mpersify parser of sysinfo syscall 2015-08-28 08:46:23 +00:00
syslog.c syslog.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
sysmips.c sysmips.c: cleanup 2015-07-16 22:58:12 +00:00
term.c term.c: enhance tty ioctl parser 2015-07-13 20:16:24 +00:00
time.c Convert another parser of struct timeval to new mpers infrastructure 2015-09-19 04:04:49 +03:00
times.c mips n32, x32: fix printing of times syscall return value 2015-12-06 07:24:16 +00:00
travis-ci.sh travis-ci: add build matrix 2015-12-05 00:04:12 +00:00
truncate.c truncate.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
uid16.c Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls 2014-12-16 01:07:12 +00:00
uid.c uid.c: make use of RVAL_DECODED 2015-07-16 01:36:55 +00:00
umask.c umask.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
umount.c Update umount2 flags 2015-12-07 00:38:38 +00:00
uname.c uname.c: use umove_or_printaddr 2015-07-16 01:36:55 +00:00
unwind.c Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
userfaultfd.c Implement userfaultfd syscall decoding 2015-11-17 00:40:22 +00:00
util.c x86_64: fix x32 personality support in getllval 2015-11-26 18:25:34 +00:00
utime.c Mpersify parser of utime syscall 2015-08-28 08:46:23 +00:00
utimes.c Convert parser of struct timeval to new mpers infrastructure 2015-09-19 04:04:49 +03:00
v4l2.c Fix build on systems that lack VIDIOC_CREATE_BUFS definition 2015-08-26 11:55:05 +00:00
vsprintf.c Introduce memory allocation wrappers 2015-05-25 22:25:22 +00:00
wait.c Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
xattr.c xattr.c: make use of RVAL_DECODED 2015-07-14 23:38:58 +00:00
xlate.el Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
xmalloc.c Introduce memory allocation wrappers 2015-05-25 22:25:22 +00:00

This is strace, a system call tracer for Linux.

strace is released under a Berkeley-style license at the request
of Paul Kranenburg; see the file COPYING for details.

See the file CREDITS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

See the file NEWS for information on what has changed in recent
versions.

You can get the latest version of strace from its homepage at
http://sourceforge.net/projects/strace/ .

Please send bug reports and enhancements to the strace
mailinglist at strace-devel@lists.sourceforge.net.