]>
granicus.if.org Git - strace/log
Roland McGrath [Thu, 1 Nov 2007 21:32:52 +0000 (21:32 +0000)]
.
Roland McGrath [Thu, 1 Nov 2007 21:32:49 +0000 (21:32 +0000)]
2007-11-01 Roland McGrath <roland@redhat.com>
* configure.ac: Match sh64* for SH64, sh* for SH.
Reported by Bernhard Fischer <rep.dot.nop@gmail.com>.
Dmitry V. Levin [Sat, 13 Oct 2007 21:03:17 +0000 (21:03 +0000)]
net.c (printsock): Really use printpathn() as written in ChangeLog entry
Dmitry V. Levin [Mon, 8 Oct 2007 23:31:19 +0000 (23:31 +0000)]
2007-10-01 Dmitry V. Levin <ldv@altlinux.org>
* net.c (printsock): Output AF_UNIX socket address using
printpathn() to avoid unprintable characters in output.
Suggested by Neil Campbell.
Dmitry V. Levin [Mon, 8 Oct 2007 21:48:01 +0000 (21:48 +0000)]
2007-10-01 Dmitry V. Levin <ldv@altlinux.org>
* util.c (string_quote): Move quoting code from ...
(printstr) ... here. Use string_quote.
(printpathn): Update for new string_quote interface.
(printpath): Use printpathn.
Dmitry V. Levin [Mon, 8 Oct 2007 21:28:18 +0000 (21:28 +0000)]
.
Dmitry V. Levin [Mon, 8 Oct 2007 21:04:41 +0000 (21:04 +0000)]
2007-09-25 Dmitry V. Levin <ldv@altlinux.org>
* strace (main): Use calloc for tcbtab allocation.
Check calloc return value.
Reported by Bai Weidong.
Roland McGrath [Wed, 12 Sep 2007 01:26:48 +0000 (01:26 +0000)]
.
Roland McGrath [Wed, 12 Sep 2007 01:26:33 +0000 (01:26 +0000)]
2007-09-11 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Fix getegid32 entry.
From Jakub Bogusz <qboosh@pld-linux.org>.
Roland McGrath [Wed, 12 Sep 2007 01:26:31 +0000 (01:26 +0000)]
2007-09-11 Roland McGrath <roland@redhat.com>
* linux/alpha/syscallent.h: Correct entries for madvise, setresgid,
getresgid, pivot_root, mincore, pciconfig_iobase, getdents64.
From Jakub Bogusz <qboosh@pld-linux.org>.
Roland McGrath [Wed, 12 Sep 2007 01:26:29 +0000 (01:26 +0000)]
2007-09-11 Roland McGrath <roland@redhat.com>
* mem.c (sys_getpagesize): Define for [SPARC || SPARC64] too.
From Jakub Bogusz <qboosh@pld-linux.org>.
Roland McGrath [Wed, 12 Sep 2007 01:26:26 +0000 (01:26 +0000)]
2007-09-11 Roland McGrath <roland@redhat.com>
* defs.h [LINUXSPARC]: Use asm/psrcompat.h for [SPARC64], not asm/psr.h.
From Jakub Bogusz <qboosh@pld-linux.org>.
Roland McGrath [Wed, 12 Sep 2007 01:26:24 +0000 (01:26 +0000)]
2007-09-11 Roland McGrath <roland@redhat.com>
* linux/sparc/syscall.h: Add missing decls.
* linux/sparc/syscallent.h: Correct entries for setgroups32,
getgroups32, sys_getdents64.
From Jakub Bogusz <qboosh@pld-linux.org>.
Dmitry V. Levin [Wed, 22 Aug 2007 21:43:30 +0000 (21:43 +0000)]
2007-08-20 Dmitry V. Levin <ldv@altlinux.org>
* syscall.c (qual_syscall, qualify): Fix nsyscalls and MAX_QUALS misuse.
Reported by Xiaoning Ding.
Roland McGrath [Tue, 7 Aug 2007 01:23:08 +0000 (01:23 +0000)]
.
Roland McGrath [Tue, 7 Aug 2007 01:22:49 +0000 (01:22 +0000)]
2007-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* file.c [!HAVE_STAT64 && LINUX && X86_64] (struct stat64): Define it.
[!HAVE_STAT64 && LINUX && X86_64] (HAVE_STAT64, STAT64_SIZE): Define.
[HAVE_STAT64] (printstat64) [STAT64_SIZE]: Add compile-time assertion.
Fixes RH#222275.
Roland McGrath [Tue, 7 Aug 2007 01:05:22 +0000 (01:05 +0000)]
.
Roland McGrath [Tue, 7 Aug 2007 01:05:19 +0000 (01:05 +0000)]
2007-08-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* file.c (printstat64): Test [HAVE_LONG_LONG] for st_size printing
and cast to widest type available.
Roland McGrath [Tue, 7 Aug 2007 01:00:32 +0000 (01:00 +0000)]
.
Roland McGrath [Tue, 7 Aug 2007 01:00:26 +0000 (01:00 +0000)]
2007-08-03 Ulrich Drepper <drepper@redhat.com>
* file.c (open_mode_flags): Add O_CLOEXEC.
* net.c (msg_flags): Add MSG_CMSG_CLOEXEC.
Roland McGrath [Fri, 3 Aug 2007 10:28:59 +0000 (10:28 +0000)]
.
Roland McGrath [Fri, 3 Aug 2007 10:28:55 +0000 (10:28 +0000)]
2007-08-03 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.16.
* debian/changelog, strace.spec: 4.5.16-1.
Roland McGrath [Fri, 3 Aug 2007 10:04:52 +0000 (10:04 +0000)]
.
Roland McGrath [Fri, 3 Aug 2007 10:02:02 +0000 (10:02 +0000)]
2007-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* test/leaderkill.c (start): Renamed to ...
(start0): ... here.
(start1): New function.
(main): Created a new spare thread.
Roland McGrath [Fri, 3 Aug 2007 10:02:00 +0000 (10:02 +0000)]
2007-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* strace.c (detach): Moved the resume notification code to ...
(resume_from_tcp): ... a new function here.
(handle_group_exit): No longer detach also the thread group leader.
(trace): Fixed panic on exit of the TCB_GROUP_EXITING leader itself.
Roland McGrath [Fri, 3 Aug 2007 09:59:13 +0000 (09:59 +0000)]
.
Roland McGrath [Fri, 3 Aug 2007 09:59:09 +0000 (09:59 +0000)]
2007-08-03 Roland McGrath <roland@redhat.com>
* debian/control (Build-Depends): Replace libc6-dev-s390x and
libc6-dev-sparc64 with gcc-multilib.
* debian/rules: Replace sparc-linux, s390-linux conditionals with
general "arch64_map" hair, handle x86_64 and powerpc64 too.
From Matthias Klose <doko@cs.tu-berlin.de>.
Fixes Debian#435303.
Roland McGrath [Thu, 2 Aug 2007 02:22:10 +0000 (02:22 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 02:22:06 +0000 (02:22 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* util.c (umoven): Don't perror for EIO.
(umovestr): Likewise.
Roland McGrath [Thu, 2 Aug 2007 02:13:08 +0000 (02:13 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 02:13:05 +0000 (02:13 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* process.c (printargv): Handle boundary cases correctly.
Handle biarch fetching correctly.
Roland McGrath [Thu, 2 Aug 2007 02:06:26 +0000 (02:06 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* util.c (printstr): Don't print ... if the string matches the length
limit exactly.
Roland McGrath [Thu, 2 Aug 2007 01:47:12 +0000 (01:47 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 01:47:08 +0000 (01:47 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* linux/sparc64/syscallent.h: Just #include the sparc file.
* linux/sparc64/syscallent1.h: Likewise.
* linux/sparc64/syscallent2.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:44:20 +0000 (01:44 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 01:44:14 +0000 (01:44 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Add entry for getcpu.
* linux/hppa/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:38:01 +0000 (01:38 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 01:37:55 +0000 (01:37 +0000)]
2007-07-23 Ulrich Drepper <drepper@redhat.com>
* process.c (sys_getcpu): New function.
* linux/syscall.h: Declare sys_getcpu.
* linux/syscallent.h: Add entry for getcpu.
Roland McGrath [Thu, 2 Aug 2007 01:37:07 +0000 (01:37 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 01:37:01 +0000 (01:37 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Add entry for eventfd.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:32:17 +0000 (01:32 +0000)]
2007-07-23 Ulrich Drepper <drepper@redhat.com>
* desc.c (sys_eventfd): New function.
* linux/syscall.h: Declare sys_eventfd.
* linux/syscallent.h: Add entry for eventfd.
* linux/x86_64/syscallent.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:31:21 +0000 (01:31 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 01:31:14 +0000 (01:31 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Add entry for timerfd.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:25:34 +0000 (01:25 +0000)]
2007-02-23 Ulrich Drepper <drepper@redhat.com>
* time.c (printitv_bitness): Add missing braces to enclose
conditional code.
(TDF_TIMER_ABSTIME): Define if not already.
(timerfdflags): New variable.
(sys_timerfd): New function.
* linux/syscall.h: Declare sys_timerfd.
* linux/syscallent.h: Add timerfd entry.
* linux/x86_64/syscallent.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:23:52 +0000 (01:23 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 01:23:38 +0000 (01:23 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* linux/sparc/syscallent.h: Add entry for signalfd.
* linux/sparc64/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:23:00 +0000 (01:23 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* linux/sparc/syscallent.h: Add entry for signalfd.
* linux/sparc64/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:15:59 +0000 (01:15 +0000)]
2007-07-23 Ulrich Drepper <drepper@redhat.com>
* linux/syscall.h: Declare sys_signalfd.
* linux/syscallent.h: Add entry for signalfd.
* linux/x86_64/syscallent.h: Likewise.
* signal.c (sys_signalfd): New function.
Roland McGrath [Thu, 2 Aug 2007 01:13:36 +0000 (01:13 +0000)]
.
Roland McGrath [Thu, 2 Aug 2007 01:13:33 +0000 (01:13 +0000)]
2007-08-01 Roland McGrath <roland@redhat.com>
* linux/hppa/syscallent.h: Add entry for epoll_pwait.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
Roland McGrath [Thu, 2 Aug 2007 01:13:26 +0000 (01:13 +0000)]
2007-07-23 Ulrich Drepper <drepper@redhat.com>
* desc.c (sys_epoll_wait): Move body of function to ...
(epoll_wait_common): ...here. New function.
(sys_epoll_pwait): New function.
* linux/syscall.h: Declare sys_epoll_pwait.
* linux/syscallent.h: Add entry for epoll_pwait.
* linux/x86_64/syscallent.h: Likewise.
Roland McGrath [Tue, 24 Jul 2007 01:59:02 +0000 (01:59 +0000)]
.
Roland McGrath [Tue, 24 Jul 2007 01:58:52 +0000 (01:58 +0000)]
2007-07-23 Roland McGrath <roland@redhat.com>
* time.c (printtv_bitness): SPECIAL only counts when tv_sec == 0.
Roland McGrath [Tue, 24 Jul 2007 01:57:11 +0000 (01:57 +0000)]
2007-07-23 Ulrich Drepper <drepper@redhat.com>
* defs.h: Add new parameter to printtv_bitness prototype.
(printttv): Pass zero for the new parameter.
(printtv_special): New macro.
* desc.c (decode_select): Pass zero for the new parameter of
printtv_bitness.
* file.c (utimensatflags): New macro.
(sys_osf_utimes): Pass zero for the new parameter of
printtv_bitness.
(sys_utimes): Likewise.
(sys_futimesat): Likewise.
(decode_utimes): Add new parameter. Pass it to the
printtv_bitness calls. Fix printing of time values.
(sys_utimensat): New function.
* time.c (UTIME_NOW, UTIME_OMIT): Define if not already
happened.
(printtv_bitness): Add new parameter. Print special UTIME_*
values as strings if set.
(sys_osf_gettimeofday): Pass zero for the new parameter of
printtv_bitness.
(sys_osf_settimeofday): Likewise.
* linux/syscall.h: Declare sys_utimensat.
* linux/syscallent.h: Add utimensat entry.
* linux/x86_64/syscallent.h: Likewise.
Roland McGrath [Tue, 24 Jul 2007 01:53:09 +0000 (01:53 +0000)]
.
Roland McGrath [Tue, 24 Jul 2007 01:53:00 +0000 (01:53 +0000)]
2007-07-23 Roland McGrath <roland@redhat.com>
* linux/arm/syscallent.h: Add move_pages.
* linux/hppa/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
Roland McGrath [Tue, 24 Jul 2007 01:52:58 +0000 (01:52 +0000)]
2007-07-23 Ulrich Drepper <drepper@redhat.com>
* mem.c (move_pages_flags): New variable.
(sys_move_pages): New function.
* linux/syscall.h: Declare sys_move_pages.
* linux/syscallent.h: Add entry for sys_move_pages.
* linux/x86_64/syscallent.h: Likewise.
Roland McGrath [Tue, 24 Jul 2007 01:52:57 +0000 (01:52 +0000)]
2007-07-23 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: move_pages takes 6 args, not 5.
* linux/x86_64/syscallent.h: Likewise.
2007-07-23 Ulrich Drepper <drepper@redhat.com>
* mem.c (move_pages_flags): New variable.
(sys_move_pages): New function.
* linux/syscall.h: Declare sys_move_pages.
* linux/syscallent.h: Add entry for sys_move_pages.
* linux/x86_64/syscallent.h: Likewise.
Roland McGrath [Tue, 24 Jul 2007 01:38:31 +0000 (01:38 +0000)]
.
Roland McGrath [Tue, 24 Jul 2007 01:38:22 +0000 (01:38 +0000)]
2007-07-23 Roland McGrath <roland@redhat.com>
* util.c (tv_add): Fix rounding comparison.
Reported by Bai Weidong <baiwd@cn.fujitsu.com>.
Roland McGrath [Wed, 11 Jul 2007 09:04:26 +0000 (09:04 +0000)]
.
Roland McGrath [Wed, 11 Jul 2007 09:04:23 +0000 (09:04 +0000)]
2007-07-11 Roland McGrath <roland@redhat.com>
* count.c (call_summary_pers): Use tv_float conversion for output of
cumulative time, in case it is negative from bogus -O value.
From Lai JiangShan <laijs@cn.fujitsu.com>.
Roland McGrath [Wed, 11 Jul 2007 08:35:15 +0000 (08:35 +0000)]
.
Roland McGrath [Wed, 11 Jul 2007 08:35:11 +0000 (08:35 +0000)]
2007-07-11 Roland McGrath <roland@redhat.com>
* strace.c (handle_group_exit): Detach TCP before LEADER.
Don't use PTRACE_KILL on LEADER.
Roland McGrath [Wed, 11 Jul 2007 07:23:44 +0000 (07:23 +0000)]
.
Roland McGrath [Wed, 11 Jul 2007 07:23:40 +0000 (07:23 +0000)]
2007-07-11 Roland McGrath <roland@redhat.com>
* util.c (printstr): Fix size calculation for outstr allocation.
Roland McGrath [Wed, 11 Jul 2007 07:11:24 +0000 (07:11 +0000)]
.
Roland McGrath [Wed, 11 Jul 2007 07:11:20 +0000 (07:11 +0000)]
2007-07-11 Roland McGrath <roland@redhat.com>
* configure.ac (struct sigcontext.sc_hi2): Use #ifdef around
<asm/sigcontext.h> to match signal.c include conditions.
Roland McGrath [Thu, 5 Jul 2007 20:55:15 +0000 (20:55 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 20:55:07 +0000 (20:55 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* debian/rules: Use debian/$(package) instead of debian/tmp as temp dir.
Roland McGrath [Thu, 5 Jul 2007 20:50:56 +0000 (20:50 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 20:50:34 +0000 (20:50 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* configure.ac: Use <stddef.h> before <linux/socket.h>.
Roland McGrath [Thu, 5 Jul 2007 20:49:59 +0000 (20:49 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* debian/changelog: Harmonize with debian version.
* debian/control (Uploaders): Fix surname spelling.
(Build-Depends): Make debhelper requirement (>= 5.0.0).
(Standards-Version): Update to 3.7.2.
Roland McGrath [Thu, 5 Jul 2007 20:34:43 +0000 (20:34 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 20:34:39 +0000 (20:34 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* .cvsignore: Add some automake-created files.
Roland McGrath [Thu, 5 Jul 2007 20:32:19 +0000 (20:32 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 20:31:58 +0000 (20:31 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* file.c (sys_utime): Use personality_wordsize to handle biarch.
Fixes RH#247185.
Roland McGrath [Thu, 5 Jul 2007 20:16:42 +0000 (20:16 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* signal.c (sys_sigreturn) [MIPS]: Pass 3rd arg to sprintsigmask.
From Zhang Le <zhilg@users.sourceforge.net>.
Roland McGrath [Thu, 5 Jul 2007 20:03:21 +0000 (20:03 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 20:03:16 +0000 (20:03 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* strace.c (strace_fopen): [_LFS64_LARGEFILE]: Use fopen64.
Fixes Debian#385310.
Roland McGrath [Thu, 5 Jul 2007 19:37:07 +0000 (19:37 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 19:31:52 +0000 (19:31 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 19:31:49 +0000 (19:31 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* strace.c (main): Fix error message for unfound -u user.
From Srinivasa Ds <srinivasa@in.ibm.com>.
Roland McGrath [Thu, 5 Jul 2007 19:30:27 +0000 (19:30 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* debian/control (Architecture): Add armel.
Roland McGrath [Thu, 5 Jul 2007 19:28:52 +0000 (19:28 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 19:28:35 +0000 (19:28 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Fix sys_delete_module arg count.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/mips/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc64/syscallent2.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/dummy.h (sys_delete_module): Use sys_open.
From Johannes Stezenbach <js@linuxtv.org>.
Roland McGrath [Thu, 5 Jul 2007 19:09:14 +0000 (19:09 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 19:08:42 +0000 (19:08 +0000)]
2007-07-05 Roland McGrath <roland@redhat.com>
* configure.ac: Check for struct sigcontext.sc_hi2.
* signal.c (sys_sigreturn) [MIPS]: Use sc_hi2 vs sc_sigset if found.
Roland McGrath [Thu, 5 Jul 2007 19:01:39 +0000 (19:01 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 19:01:17 +0000 (19:01 +0000)]
2007-03-21 Andreas Schwab <schwab@suse.de>
* file.c (sys_newfstatat): Don't use printstat64 on ppc64.
Roland McGrath [Thu, 5 Jul 2007 18:59:16 +0000 (18:59 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 18:59:11 +0000 (18:59 +0000)]
2007-07-05 Roland McGrath <roland@frob.com>
* process.c [LINUX] (futexops): Add many new values.
[LINUX] (futexwakeops, futexwakecmps): New tables.
[LINUX] (sys_futex): Use them.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#241467.
Roland McGrath [Thu, 5 Jul 2007 18:43:24 +0000 (18:43 +0000)]
.
Roland McGrath [Thu, 5 Jul 2007 18:43:18 +0000 (18:43 +0000)]
2007-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* test/leaderkill.c: New file.
* test/.cvsignore, test/Makefile: Add it.
Roland McGrath [Thu, 5 Jul 2007 18:43:16 +0000 (18:43 +0000)]
2007-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* strace.c (detach): New prototype. Extended the function comment.
[LINUX] (detach): Call droptcb() instead of the wrongly parametrized
detach() call.
(handle_group_exit): Call droptcb() instead of the wrongly parametrized
detach() call. Always call detach() only once from the group leader.
Comment the leader killing known bug tested by `test/leaderkill.c'.
Code advisory: Roland McGrath
Fixes RH#240961.
Dmitry V. Levin [Sat, 30 Jun 2007 11:37:09 +0000 (11:37 +0000)]
2007-03-29 Vladimir Nadvornik <nadvornik@suse.cz>
Dmitry V. Levin <ldv@altlinux.org>
Trace linux SG_IO ioctl arguments and results.
* scsi.c: New file.
* Makefile.am (strace_SOURCES): Add scsi.c
* defs.h (scsi_ioctl): New function.
* ioctl.c (ioctl_decode): Use scsi_ioctl().
Dmitry V. Levin [Fri, 29 Jun 2007 21:25:56 +0000 (21:25 +0000)]
2007-06-28 Dmitry V. Levin <ldv@altlinux.org>
* util.c (tv_mul): Multiply tv_usec properly.
Patch from Cai Fei <caifei@cn.fujitsu.com>.
Roland McGrath [Mon, 11 Jun 2007 22:06:37 +0000 (22:06 +0000)]
.
Roland McGrath [Mon, 11 Jun 2007 22:06:31 +0000 (22:06 +0000)]
2007-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Never interrupt when the attached traced process would be left stopped.
* strace.c (main): `-p' attaching moved to ...
(startup_attach): ... a new function, renamed a variable C to TCBI.
Block interrupting signals since the first tracee has been attached.
New comment about INTERRUPTED in the nonthreaded case.
[LINUX] (startup_attach): Check INTERRUPTED after each attached thread.
(main): Command spawning moved to ...
(startup_child): ... a new function, replaced RETURN with EXIT.
[LINUX] (detach): New variable CATCH_SIGSTOP, do not signal
new SIGSTOP for processes still in TCB_STARTUP.
(main): Move signals and BLOCKED_SET init before the tracees attaching,
[SUNOS4] (trace): Removed fixvfork () call as a dead code, SIGSTOP must
have been already caught before clearing TCB_STARTUP.
(trace): Removed the `!WIFSTOPPED(status)' dead code.
Clear TCB_STARTUP only in the case the received signal was SIGSTOP.
New comment when `TCB_BPTSET && TCB_STARTUP' combination can be set.
Code advisory: Roland McGrath
Fixes RH#240986.
Roland McGrath [Sat, 2 Jun 2007 00:07:38 +0000 (00:07 +0000)]
.