Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Upgrade strace to 4.16 from 4.14.
Browse files Browse the repository at this point in the history
Noteworthy changes in release 4.16 (2017-02-14)

* Improvements
  * Implemented syscall return value injection (-e inject=SET:retval= option).
  * Implemented signal injection (-e inject=SET:signal= option).
  * Implemented decoding of SUID_DUMP_* constants in PR_[GS]ET_DUMPABLE.
  * Implemented decoding of all SG_* ioctl commands.
  * Implemented decoding of ustat syscall.
  * Implemented decoding of BPF_OBJ_PIN, BPF_OBJ_GET, BPF_PROG_ATTACH,
    and BPF_PROG_DETACH commands of bpf syscall.
  * Enhanced decoding of sg_io_hdr and sg_io_v4 structures.
  * Enhanced decoding of get_robust_list, getrandom, io_submit, set_robust_list
    syscalls.
  * Enhanced decoding of entities of kernel long type on x32 and mips n32 ABIs.
  * Updated lists of IP_*, IPV6_*, and LOOP_* constants.
  * Updated lists of ioctl commands from Linux 4.10.
  * Added decoding of recently added syscalls on avr32, microblaze, ppc,
    and ppc64.

* Bug fixes
  * Fixed pathmatch of oldselect syscall on 64-bit architectures.
  * Fixed decoding of mmap2 syscall on s390 when arguments are not available.
  * Fixed decoding of kexec_file_load, mprotect, pkey_mprotect, prctl, preadv*,
    and pwritev* syscalls on x32.
  * Fixed printing of string arguments of getxattr and setxattr syscalls
    when -s option is used to limit the printed string size.
  * Fixed decoding of ifconf, ifreq, and loop_info structures on non-native
    personalities.
  * Fixed decoding of SG_* and LOOP_* ioctl commands.
  * Fixed build on mips with musl libc.
  * Fixed cross-building of ioctlsort.
  * Applied minor formatting fixes to the manual page.

Noteworthy changes in release 4.15 (2016-12-14)

* Changes in behavior
  * Time stamps are now printed according to ISO 8601.
  * Changed output format of val3 parameter of futex FUTEX_WAKE_OP operation.
  * The last argument of mincore, sched_getaffinity, and sched_setaffinity
    syscalls is now formatted as an array.

* Improvements
  * Implemented syscall fault injection (-e fault=... option).
  * Implemented decoding of DM_* ioctl commands.
  * Implemented decoding of attr parameter of perf_event_open syscall.
  * Implemented decoding of pkey_alloc, pkey_free, and pkey_mprotect syscalls.
  * Implemented dumping of mq_timedsend and mq_timedreceive syscalls.
  * Implemented decoding of PR_SET_FP_MODE and PR_GET_FP_MODE operations
    of prctl syscall.
  * Implemented PTRACE_GETREGS API support on m68k.
  * Updated lists of ARCH_*, BPF_*, BTRFS_*, FALLOC_*, MS_*, *_MAGIC,
    and V4L2_* constants.
  * Updated lists of ioctl commands from Linux 4.9.
  * Added decoding of recently added syscalls on arc, x32, and xtensa.
  * Enhanced manual page.

* Bug fixes
  * Fixed corner cases in decoding of exit, exit_group, futimesat, getgroups,
    getresuid, init_module, inotify_init1, kcmp, kexec_load, lookup_dcookie,
    mq_getsetattr, mq_notify, mq_open, mq_timedreceive, mq_timedsend,
    name_to_handle_at, prctl, process_vm_readv, process_vm_writev, setfsuid,
    setgroups, setns, unshare, and utimes syscalls.
  * Fixed handling of verbose flag in printing of controls array
    of struct v4l2_ext_controls.
  * Fixed omission of field names in the output of capability, sigaction,
    sigevent, statfs, timespec, timeval, and utimbuf structures.
  * Fixed printing of unknown syscalls in siginfo structure.
  * Fixed decoding of ioctl constants on m68k.
  * Fixed cris architecture support.
  * Fixed cross build when host compiler does not support the same
    set of warning flags as the cross compiler.
  * Fixed build on SLE10 and SLE11.

Bug: N/A
Test: manual
Change-Id: I590bf5db1652aa1dfdc0eb16e30fd97c82af2261
  • Loading branch information
enh-google committed Feb 16, 2017
1 parent ee18e8a commit d35df49
Show file tree
Hide file tree
Showing 2,938 changed files with 297,403 additions and 9,511 deletions.
50 changes: 0 additions & 50 deletions .gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions .mailmap

This file was deleted.

44 changes: 0 additions & 44 deletions .travis.yml

This file was deleted.

18 changes: 13 additions & 5 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

strace_version := $(shell grep strace $(LOCAL_PATH)/debian/changelog.in | \
head -2 | tail -1 | cut -d " " -f 2)
strace_version := $(shell grep strace $(LOCAL_PATH)/debian/changelog | \
head -1 | cut -d " " -f 2)

LOCAL_SRC_FILES := \
access.c \
Expand All @@ -64,7 +64,6 @@ LOCAL_SRC_FILES := \
evdev.c \
eventfd.c \
execve.c \
exit.c \
fadvise.c \
fallocate.c \
fanotify.c \
Expand Down Expand Up @@ -127,21 +126,26 @@ LOCAL_SRC_FILES := \
pathtrace.c \
perf.c \
personality.c \
pkeys.c \
poll.c \
prctl.c \
print_dev_t.c \
print_mq_attr.c \
print_msgbuf.c \
print_sigevent.c \
print_statfs.c \
print_struct_stat.c \
print_time.c \
print_timespec.c \
print_timeval.c \
print_timex.c \
printmode.c \
printrusage.c \
printsiginfo.c \
process.c \
process_vm.c \
ptp.c \
qualify.c \
quota.c \
readahead.c \
readlink.c \
Expand All @@ -153,6 +157,8 @@ LOCAL_SRC_FILES := \
scsi.c \
seccomp.c \
sendfile.c \
sg_io_v3.c \
sg_io_v4.c \
sigaltstack.c \
signal.c \
signalfd.c \
Expand Down Expand Up @@ -187,11 +193,11 @@ LOCAL_SRC_FILES := \
uname.c \
upeek.c \
userfaultfd.c \
ustat.c \
util.c \
utime.c \
utimes.c \
v4l2.c \
vsprintf.c \
wait.c \
xattr.c \
xmalloc.c \
Expand Down Expand Up @@ -283,7 +289,9 @@ LOCAL_CFLAGS := \
\
-DMAJOR_IN_SYSMACROS \
-DPACKAGE_NAME='"strace"' \
-DVERSION='"$(strace_version)"' \
-DPACKAGE_URL='"https://strace.io"' \
-DPACKAGE_VERSION='"$(strace_version)"' \
-DSIZEOF_KERNEL_LONG_T=SIZEOF_LONG \
-DSIZEOF_OFF_T=SIZEOF_LONG \
-DSIZEOF_LONG_LONG=8 \
-DSTDC_HEADERS=1 \
Expand Down
1 change: 1 addition & 0 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Copyright (c) 1993 Ulrich Pegelow <pegelow@moorea.uni-muenster.de>
Copyright (c) 1995, 1996 Michael Elizabeth Chastain <mec@duracef.shout.net>
Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
Copyright (C) 1998-2001 Wichert Akkerman <wakkerma@deephackmode.org>
Copyright (C) 2001-2017 The strace developers.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
183 changes: 183 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
The primary authors of strace were:

Paul Kranenburg <pk@cs.few.eur.nl>
Branko Lankester <branko@hacktic.nl>
Rick Sladkey <jrs@world.std.com>

These people have contributed to strace. Some have reported problems, others
have contributed improvements to the documentation, actual code, provided
information, provided resources, or helped to port strace to new systems.
Those contributions are described in the version control logs and ChangeLog-CVS
file. If your name has been left out, if you'd rather not be listed, or if
you'd prefer a different address be used, please send a note to the
strace-devel@lists.sourceforge.net mailing list.

Aaron Ucko <ucko@vax1.rockhurst.edu>
Adrien Kunysz <adrien@kunysz.be>
Alexey Neyman <stilor@att.net>
Ali Polatel <alip@exherbo.org>
Anchit Jain <anchitjain1234@gmail.com>
Andi Kleen <ak@linux.intel.com>
Andre McCurdy <armccurdy@gmail.com>
Andreas Schwab <schwab@linux-m68k.org>
Anton Blanchard <anton@samba.org>
Arkadiusz Miskiewicz <misiek@pld.org.pl>
Aurelien Jacobs <aurel@gnuage.org>
Bai Weidong <baiwd@cn.fujitsu.com>
Bart Van Assche <bart.vanassche@sandisk.com>
Ben Noordhuis <info@bnoordhuis.nl>
Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bo Kullmar <bk@kullmar.se>
Cai Fei <caifei@cn.fujitsu.com>
Carlos O'Donell <carlos@systemhalted.org>
Carmelo AMOROSO <carmelo.amoroso@st.com>
Chris Dearman <chris.dearman@imgtec.com>
Chris Metcalf <cmetcalf@tilera.com>
Chris Zankel <chris@zankel.net>
Christian Svensson <blue@cmd.nu>
D.J. Barrow <djbarrow@de.ibm.com>
Damir Shayhutdinov <damir@altlinux.ru>
Daniel P. Berrange <berrange@redhat.com>
David Daney <ddaney@caviumnetworks.com>
David Mosberger-Tang <davidm@hpl.hp.com>
David S. Miller <davem@caip.rutgers.edu>
David Wilder <wilder@us.ibm.com>
David Woodhouse <dwmw2@redhat.com>
Denys Vlasenko <vda.linux@googlemail.com>
Dmitry V. Levin <ldv@altlinux.org>
Douglas Mencken <dougmencken@gmail.com>
Dr. David Alan Gilbert <dgilbert@redhat.com>
Edgar E. Iglesias <edgar.iglesias@gmail.com>
Elliott Hughes <enh@google.com>
Elvira Khabirova <lineprinter0@gmail.com>
Erik Johansson <erik@ejohansson.se>
Etienne Gemsa <etienne.gemsa@lse.epita.fr>
Eugene Syromyatnikov <evgsyr@gmail.com>
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Fabien Siron <fabien.siron@epita.fr>
Fei Jie <feij.fnst@cn.fujitsu.com>
Felix Janda <felix.janda@posteo.de>
Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Florian Lohoff <flo@rfc822.org>
Frederik Schüler <fs@debian.org>
Gabor Gombas <gombasg@sztaki.hu>
Gabriel Laskar <gabriel@lse.epita.fr>
Ganesan Rajagopal <rganesan@myrealbox.com>
Gaël Roualland <gael.roualland@iname.com>
Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Grant Edwards <grant.b.edwards@gmail.com>
Greg Banks <gbanks@pocketpenguins.com>
H.J. Lu <hongjiu.lu@intel.com>
Heiko Carstens <heiko.carstens@de.ibm.com>
Helge Deller <deller@gmx.de>
Henrik Storner <storner@osiris.ping.dk>
Holger Hans Peter Freyther <holger@freyther.de>
Jacob Goense <dugo@xs4all.nl>
Jakub Bogusz <qboosh@pld-linux.org>
Jakub Jelinek <jj@ultra.linux.cz>
James Clarke <jrtc27@jrtc27.com>
James Cowgill <james410@cowgill.org.uk>
James Hogan <james.hogan@imgtec.com>
James Yang <james.yang@freescale.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
JayRJoshi <jay.r.joshi100@gmail.com>
Jeff Mahoney <jeffm@suse.com>
Jian Zhen <zhenjl@gmail.com>
JingPiao Chen <chenjingpiao@gmail.com>
Joe Ilacqua <spike@world.std.com>
Johannes Stezenbach <js@sig21.net>
John Hughes <john@Calva.COM>
John Spencer <maillist-strace@barfooze.de>
Ju"rgen Fluk <louis@marco.de>
Juergen Weigert <jnweiger@immd4.informatik.uni-erlangen.de>
Katerina Koukiou <k.koukiou@googlemail.com>
Keith Owens <kaos.ocs@gmail.com>
Keith Thompson <kst@alsys.com>
Kirill A. Shutemov <kirill@shutemov.name>
Kyle McMartin <kyle@mcmartin.ca>
Lai JiangShan <laijs@cn.fujitsu.com>
Leonard N. Zubkoff <lnz@dandelion.com>
Linus Torvalds <Linus.Torvalds@cs.helsinki.fi>
Lubomir Rintel <lkundrak@v3.sk>
Luca Clementi <luca.clementi@gmail.com>
Lupe Christoph <lupe@alanya.isar.muc.de>
Maarten ter Huurne <maarten@treewalker.org>
Mark Hills <Mark.Hills@framestore.com>
Mark Wielaard <mjw@redhat.com>
Marty Leisner <leisner@sdsp.mc.xerox.com>
Masatake YAMATO <yamato@redhat.com>
Matt Day <mday@artisoft.com>
Matthias Pfaller <leo@dachau.marco.de>
Max Filippov <jcmvbkbc@gmail.com>
Maxim Shchetynin <maxim@de.ibm.com>
Maxin B. John <maxin.john@enea.com>
Michael E Chastain <mec@duracef.shout.net>
Michael Holzheu <holzheu@de.ibm.com>
Michael Shigorin <mike@altlinux.org>
Michail Litvak <mci@owl.openwall.com>
Michal Ludvig <mludvig@suse.cz>
Mike Frysinger <vapier@gentoo.org>
Mike Stroyan <mike.stroyan@hp.com>
Mikulas Patocka <mpatocka@redhat.com>
Muttley Meen <muttley.meen@gmail.com>
Nahim El Atmani <naam@lse.epita.fr>
Namhyung Kim <namhyung.kim@lge.com>
Nate Eldredge <nate@cartsys.com>
Nate Sammons <nate@users.sourceforge.net>
Neil Campbell <lists@thebatcave.org.uk>
Paolo Bonzini <pbonzini@redhat.com>
Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Paul Mundt <lethal@linux-sh.org>
Pavel Machek <pavel@ucw.cz>
Peter Jones <pjones@redhat.com>
Philippe De Muyter <phdm@macqel.be>
Philippe Ombredanne <pombredanne@nexb.com>
Pádraig Brady <P@draigBrady.com>
Quentin Monnet <quentin.monnet@6wind.com>
Rajeev V. Pillai <rajeevvp@gmail.com>
Ralf Baechle <ralf@linux-mips.org>
Randolph Chung <tausq@debian.org>
Reuben Sumner <rasumner@undergrad.math.uwaterloo.ca>
Richard Braakman <dark@xs4all.nl>
Richard Henderson <richard@twiddle.tamu.edu>
Richard Hirst <rhirst@linuxcare.com>
Richard W.M. Jones <rjones@redhat.com>
Roland Borde <bo@uebemc.siemens.de>
Roland McGrath <roland@redhat.com>
Sami Farin <safari@u.safari.iki.fi>
Scott Tsai <scottt958@yahoo.com.tw>
Sean Stangl <sstangl@mozilla.com>
Sebastian Pipping <sebastian@pipping.org>
Seraphime Kirkovski <kirkseraph@gmail.com>
Sergei Trofimovich <slyfox@gentoo.org>
Simon Murray <simon@transitive.com>
Solar Designer <solar@openwall.com>
Srinivasa Ds <srinivasa@in.ibm.com>
Stanislav Brabec <sbrabec@suse.cz>
Stefan Sørensen <stefan.sorensen@spectralink.com>
Steve Bennett <steveb@workware.net.au>
Steve McIntyre <steve.mcintyre@linaro.org>
Szabolcs Nagy <nsz@port70.net>
Thanh Ma <tma@encore.com>
Thiemo Seufer <ths@networkno.de>
Thomas Bogendoerfer <tsbogend@bigbug.franken.de>
Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tim Yamin <plasmaroo@gentoo.org>
Timo Lindfors <timo.lindfors@iki.fi>
Tom Dyas <tdyas@eden.rutgers.edu>
Tommi Rantala <ext-tommi.1.rantala@nokia.com>
Topi Miettinen <Topi.Miettinen@nic.fi>
Ulrich Drepper <drepper@redhat.com>
Vicente Olivert Riera <vincent@gentoo.org>
Vineet Gupta <Vineet.Gupta1@synopsys.com>
Wang Chao <wang.chao@cn.fujitsu.com>
Wichert Akkerman <wichert@deephackmode.org>
William Manley <william.manley@youview.com>
Xiaoning Ding <dingxn@gmail.com>
Yang Zhiguo <yzgcsu@cn.fujitsu.com>
Zach Brown <zach.brown@oracle.com>
Zev Weiss <zev@bewilderbeest.net>
Zhang Le <zhilg@users.sourceforge.net>
Zubin Mithra <zubin.mithra@gmail.com>
Марк Коренберг <socketpair@gmail.com>
Loading

0 comments on commit d35df49

Please sign in to comment.