📄 changelog
字号:
to use reasonably recent kernel headers to compile strace now. * Change references to LINUX into linux in file.c * Fix include for LDT in mem.cThu Apr 15 22:28:15 CEST 1999 Wichert Akkerman <wakkerma@debian.org> * Change in strace maintainership, jrs passed the torch to me. * Use autoconf 2.13 * Incorporate all changes already made in the Debian strace package: + compiles with more Linux kernels + added support for more Linux architectures + add support for a lot of extra syscalls + fix some problems with hanging children + check stray syscall after execv + decode capget and capset arguments + add more constants to net.c + detect ROSE networking + add more protocol families to domains + add IPIP protocol + added MSG_PROXY and MSG_CTRUNC to msg_flags + added SO_BSDCOMPAT and SO_REUSEPORT to sockoptions + added IP, IPX and TCP-options + added IP, IPX and TCP support to get-/setsockopt() + added IPX support + updated handling of signalsSun Oct 27 22:28:00 1996 J. Richard Sladkey <jrs@world.std.com> * util.c (umovestr) [LINUX]: Handle Linux like SunOS4 instead of SVR4. That is, read a few bytes at a time to avoid overrunning the end of the stack.Fri May 31 01:48:49 1996 J. Richard Sladkey <jrs@world.std.com> * version.c: Version 3.1 is released.Thu May 23 01:04:43 1996 J. Richard Sladkey <jrs@world.std.com> * aclocal.m4 (AC_DECL_SYS_ERRLIST): Try looking in stdio.h as well since that's where glibc declares it. Go figure. * signal.c (sys_sigreturn) [ALPHA]: Use sigcontext instead of sigcontext_struct since glibc v5+ apparently plays games with the native OS namespace. From David Mosberger-Tang <davidm@AZStarNet.com>.Mon May 20 23:17:14 1996 J. Richard Sladkey <jrs@world.std.com> * version.c: Version 3.0.14 is released. * aclocal.m4 (AC_STRUCT_MSG_CONTROL): New macro. * configure.in: Add call to AC_STRUCT_MSG_CONTROL. * net.c (printmsghdr): Handle BSD 4.3 and 4.4 msghdr members differently. Reported by Henrik Storner <storner@osiris.ping.dk>. * configure.in: (AC_CHECK_{HEADERS,FUNCS}): Add checks for sys/filio.h and sys/stream.h and remove check for poll. * desc.c (decode_select, sys_select, sys_oldselect) [LINUX]: Handle old and new styles of argument passing for select on Linux. * ioctl.c, stream.c: Conditionalize stream code on presence of sys/stream.h instead of poll because glibc implements poll but not the rest of the stream interface. * signal.c [LINUX]: Standardize on the name sigcontext_struct. (sys_sigprocmask) [ALPHA]: Handle OSF flavor which is more like sigsetmask. * term.c (term_ioctl): Use _VMIN, if present, for TC{G,S}ETA*. * util.c (umoven, umovestr): Move data in long-sized chunks at a time, instead of hard coding it to be 4. From David Mosberger-Tang <davidm@AZStarNet.com>.Mon May 20 01:19:36 1996 J. Richard Sladkey <jrs@world.std.com> * version.c: Version 3.0.13 is released. * configure.in (AC_CHECK_HEADERS): Add check for asm/sigcontext.h. * signal.c [HAVE_ASM_SIGCONTEXT_H]: Conditionally include asm/sigcontext.h to define sigcontext_struct and don't define it locally if the header is present. * syscall.c (nerrnos{0,2}): Correct size computation. * Makefile.in: Remove dependencies and rules relating to files normally found in the os directory. Because of the new scheme we don't know precisely where they come from. Sigh. * signalent.sh: Make it work for sunos4, linux, and svr4. * {sunos4,linux{,/alpha},svr4}/Makefile.in: Make rules correspond to traditional make syntax. Add signalent.h to files which can unconditionally be rebuilt. Prevent signalent.h from being unconditionally being rebuilt since it's customized. * {sunos4,linux{,/alpha},svr4}/{ioctlent,errnoent,signalent}.h: Use versions built by {ioctlent,errnoent,signaltent}.sh. * sunos4/ioctlent.sh: Work around sprintf troubles with SunOS 4.1.4 and gcc 2.7.2.Sun May 19 17:14:09 1996 J. Richard Sladkey <jrs@world.std.com> * configure.in, Makefile.in: Add OSARCH concept to finish build support for the alpha. * Makefile.in, linux/Makefile.in: Rewrite clean, distclean, and maintainer-clean rules. * defs.h, ioctlsort.c: Make ioctl code member unsigned. * ioctl.c, ioctlsort.c (compare): Perform explicit checking for less, greater, and equal since subtraction on two's complement numbers isn't an order relation (it isn't transitive)! * linux/Makefile.in: Add rules for the signalent.h file. * linux/alpha/Makefile.in: New file.Sun May 19 01:12:28 1996 J. Richard Sladkey <jrs@world.std.com> * version.c: Version 3.0.12 is released. * linux{,alpha}/ioctlent.sh: Tweak for recent kernels. From Michael E Chastain <mec@duracef.shout.net>. * defs.h (SUPPORTED_PERSONALITES, DEFAULT_PERSONALITY): New. * syscall.c (set_personality): New. * strace.c (main): Call set_personality. * defs.h, syscall.c, ioctl.c, signal.c: Make sysent, errnoent, ioctlent, and signalent indirect pointers and redirect them based on personality. * {sunos4,svr4,linux{,/alpha}}/signalent.h: New files. Suggested by Tom Dyas <tdyas@eden.rutgers.edu>. * util.c (upeek): Handle case where ptrace returns a long and sizeof(long) != sizeof(int). From Richard Henderson <richard@twiddle.tamu.edu>Fri May 17 21:03:36 1996 J. Richard Sladkey <jrs@world.std.com> * version.c: Version 3.0.11 is released. * many files: Fix more printf warnings for other platforms. * ipc.c (sys_msgrcv) [LINUX]: Conditionalize definition of ipc_wrapper. * linux/dummy.h: Handle missing library support for {send,recv}msg. Reported by Thomas Bogendoerfer <tsbogend@bigbug.franken.de>. * linux/syscall.h (sys_utimes): Fix a typo in the declaration. From Thomas Bogendoerfer <tsbogend@bigbug.franken.de>.Fri May 17 00:50:06 1996 J. Richard Sladkey <jrs@world.std.com> * version.c: Version 3.0.10 is released. * Makfile.in: Add os/arch to includes so that a given arch (like alpha) can override the native arch (like i386). * configure.in: Check for sendmsg. * net.c: Make sendmsg and recvmsg dependent on an autoconf test. Reported by Michael E Chastain <mec@duracef.shout.net>. * acconfig.h, configure.in: Detect the alpha. * ioctl.c: Handle the alpha. * defs.h: Make some members long for the alpha. Define some register nicknames. Add support for WAITEXECVE. * file.c [ALPHA]: Support the alpha for statfs. Add osf_statfs and osf_fstatfs for the alpha. Make damn sure major and minor results are suitable for passing to printf. * signal.c, syscall.c: Support the alpha. * process.c: Add alpha user offsets. * most files: Use %l? for printf arguments since most are now longs for the alpha. * linux/alpha/{errnoent.h,ioctlent.{h,sh},syscallent.h}: New for the alpha. From Thomas Bogendoerfer <tsbogend@bigbug.franken.de>.Wed May 15 00:29:37 1996 J. Richard Sladkey <jrs@world.std.com> * version.c: Version 3.0.9 is released. * config.in, config.sub, install-sh: Upgrade to autoconf 2.10. * linux/dummy.h, linux/syscallent.h, linux/syscall.h: Add recent Linux kernel version system calls.Wed Mar 13 01:03:38 1996 J. Richard Sladkey <jrs@world.std.com> * ipc.c [SUNOS4]: Add SunOS support for decoding IPC calls. * syscall.c [SUNOS4]: Compile decode_subcall on SunOS and decode IPC calls using it. * sunos4/dummy.h: Alias sys_semop to printargs. * sunos4/syscall.h: Add new pseudo syscalls for IPC. * sunos4/syscallent.h: Include new subcalls for IPC. From Matthias Pfaller <leo@dachau.marco.de>.Tue Feb 13 22:08:25 1996 J. Richard Sladkey <jrs@world.std.com> * version.c: Version 3.0.8 is released. * time.c [LINUX]: Explicitly include linux/version.h. * strace.c (main): Don't let them even *try* to get strace to attach to itself since some systems don't handle this case very gracefully. Reported by David S. Miller <davem@caip.rutgers.edu>. * Makefile.in (distclean): Fix it for subdirectories. * sunos4/syscallent.h, svr4/syscallent.h: Fill in the new sys_flags member for each defined system call.Fri Dec 8 01:17:28 1995 Rick Sladkey <jrs@world.std.com> * defs.h (TRACE_*): New flags to describe what class of system call each system call is. (sysent): Add sys_flags member. * syscall.c (sysent): Define (and later undef) abbreviations for the system call class flags. (lookup_class): New function to translate strings to system call class flags. (qualify): Handle new system call class mechanism. * linux/syscallent.h: Fill in the new sys_flags member for each defined system call. * defs.h (print_sock): Remove redundant and non-K&R C compatible prototype. From Juergen Weigert <jnweiger@immd4.informatik.uni-erlangen.de>.Thu Dec 7 01:17:40 1995 Rick Sladkey <jrs@world.std.com> * linux/ioctlent.sh: Tweak to improve ioctl accuracy. From Michael E Chastain <mec@duracef.shout.net>. * system.c (includes) [LINUX]: Add linux/nfs.h for recent kernels. From Michael E Chastain <mec@duracef.shout.net>.Wed Dec 6 21:52:28 1995 Rick Sladkey <jrs@world.std.com> * file.c (sprintfstype): Enclose string result in double quotes. * time.c (sys_adjtimex) [LINUX]: Conditionalize constantly evolving timex structure. From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>. * defs.h, syscall.c, strace.c: Rename syscall to trace_syscall and change prototype and all callers because of broken Linux shared libraries. From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>. * Makefile.in (clean): Check for a file with test -f not test -d. From Aaron Ucko <UCKO@VAX1.ROCKHURST.EDU>.Tue Sep 26 02:32:31 1995 Rick Sladkey <jrs@world.std.com> * version.c: Version 3.0.7 is released. * util.c (string_quote): Fix thinko which caused core dumps for strings with quotes in them. Reported by Marty Leisner <leisner@sdsp.mc.xerox.com>. * linux/Makefile.in (errnoent.h rule): Grab all errno.h files from /usr/include, not just the linux one. From Michael E Chastain <mec@duracef.shout.net>. * linux/errnoent.sh: Total rewrite to handle more ioctls with fewer false positives on more kernel flavors. From Michael E Chastain <mec@duracef.shout.net>.Mon Sep 4 01:29:22 1995 Rick Sladkey <jrs@world.std.com> * version.c: Version 3.0.6 is released. * linux/dummy.h, linux/syscall.h, linux/syscallent.h: Add sys_msync. * mem.c (mctl_funcs, mctl_lockas, sys_mctl): Conditionalize on MC_SYNC instead of HAVE_MCTL. (mctl_sync): Conditionalize on MS_ASYNC instead of HAVE_MCTL. (sys_msync): New function.Sat Sep 2 12:06:04 1995 Rick Sladkey <jrs@world.std.com> * linux/dummy.h, linux/syscall.h, linux/syscallent.h: Add sys_flock and sys_getdents. * desc.c (flockcmds, sys_flock): Conditionalize on LOCK_SH not SUNOS4. * file.c (sys_getdents): Define unconditionally and handle LINUX case. * strace.c (main): Disallow username option unless both real and effective uids are root.Wed Aug 30 01:29:58 1995 Rick Sladkey <jrs@world.std.com> * strace.c (main): Ensure that run_uid and run_gid are always set to something meaningful. (main, newoutf) [!SVR4]: Swap real and effective uids while opening any output files. (main) [!SVR4]: Treat effective uid of root as a request to handle suid binaries correctly using the real uid of the invoking user.Sat Aug 19 00:06:08 1995 Rick Sladkey <jrs@world.std.com> * Makefile.in: Add `|| true' to clean rule because although GNU make 3.74 uses `sh -c' to invoke commands every other make in the world uses `sh -ec'. * syscall.c (syscall) [SVR4, MIPS]: The fifth and subsequent arguments appear to be stored on the stack, not in the registers following A3 (empirical result). * defs.h: Add prototype for printsock. * svr4/dummy.h: Remove generic handling of sys_mount. * system.c [SVR4, MIPS]: Include several system headers to cleanly get access to SGI mount information. (mount_flags, nfs_flags) [SVR4, MIPS]: New objects. (sys_mount) [SVR4, MIPS]: New function. (sys_mount) [SVR4, !MIPS]: New function.Tue Jul 4 00:30:34 1995 Rick Sladkey <jrs@world.std.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -