]> granicus.if.org Git - strace/log
strace
16 years ago.
Roland McGrath [Mon, 19 Nov 2007 22:23:25 +0000 (22:23 +0000)]
.

16 years ago.
Roland McGrath [Mon, 19 Nov 2007 22:15:02 +0000 (22:15 +0000)]
.

16 years ago2007-11-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 19 Nov 2007 22:14:56 +0000 (22:14 +0000)]
2007-11-19  Roland McGrath  <roland@redhat.com>

* strace.spec: Add BuildRequires on libaio-devel, libacl-devel.

16 years ago.
Roland McGrath [Mon, 19 Nov 2007 22:11:49 +0000 (22:11 +0000)]
.

16 years ago2007-11-19 Andreas Schwab <schwab@suse.de>
Roland McGrath [Mon, 19 Nov 2007 22:11:45 +0000 (22:11 +0000)]
2007-11-19  Andreas Schwab  <schwab@suse.de>

* process.c (sys_ptrace) [IA64]: For PTRACE_PEEKDATA,
PTRACE_PEEKTEXT and PTRACE_PEEKUSER the data is returned directly.

16 years ago.
Roland McGrath [Mon, 19 Nov 2007 22:10:38 +0000 (22:10 +0000)]
.

16 years ago2007-11-19 Andreas Schwab <schwab@suse.de>
Roland McGrath [Mon, 19 Nov 2007 22:10:24 +0000 (22:10 +0000)]
2007-11-19  Andreas Schwab  <schwab@suse.de>

* linux/syscallent.h: Fix argument count for getdents64.
* linux/arm/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.

16 years ago2007-11-19 Andreas Schwab <schwab@suse.de>
Roland McGrath [Mon, 19 Nov 2007 22:10:21 +0000 (22:10 +0000)]
2007-11-19  Andreas Schwab  <schwab@suse.de>

* linux/ia64/syscallent.h: Use sys_getdents64.
* linux/sh/syscallent.h: Likewise.

16 years ago.
Roland McGrath [Tue, 13 Nov 2007 08:12:16 +0000 (08:12 +0000)]
.

16 years ago2007-11-06 Jan Kratochvil <jan.kratochvil@redhat.com>
Roland McGrath [Tue, 13 Nov 2007 08:12:12 +0000 (08:12 +0000)]
2007-11-06  Jan Kratochvil  <jan.kratochvil@redhat.com>

* strace.c [LINUX] (droptcb): Recurse on TCP->parent if it is a
TCB_EXITING zombie group leader.
* test/childthread.c: New file.
* test/.cvsignore, test/Makefile: Add it.
Code advisory: Roland McGrath
Fixes RH#354261.

16 years ago.
Roland McGrath [Sun, 4 Nov 2007 00:00:08 +0000 (00:00 +0000)]
.

16 years ago2007-11-02 Thiemo Seufer <ths@networkno.de>
Roland McGrath [Sun, 4 Nov 2007 00:00:00 +0000 (00:00 +0000)]
2007-11-02  Thiemo Seufer <ths@networkno.de>

* signal.c (m_siginfo_t): Add for MIPS.
(sys_sigreturn): struct sigcontext on MIPS has no sigset_t member,
acquire the signal mask with the same trick as on Sparc.
Fixes Debian#448802.

16 years ago.
Roland McGrath [Sat, 3 Nov 2007 23:58:11 +0000 (23:58 +0000)]
.

16 years ago2007-11-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 3 Nov 2007 23:58:07 +0000 (23:58 +0000)]
2007-11-03  Roland McGrath  <roland@redhat.com>

* process.c (prctl_options): Add numerous constants.
From Sami Farin <safari@u.safari.iki.fi>.
Fixes RH#364401.

16 years ago.
Roland McGrath [Sat, 3 Nov 2007 23:34:17 +0000 (23:34 +0000)]
.

16 years ago2007-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Roland McGrath [Sat, 3 Nov 2007 23:34:11 +0000 (23:34 +0000)]
2007-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>

* strace.c (main): Move the STARTUP_CHILD call before setting up the
signal handlers.  New comment about the valid internal states.

16 years ago.
Roland McGrath [Thu, 1 Nov 2007 23:54:24 +0000 (23:54 +0000)]
.

16 years ago2007-11-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 1 Nov 2007 23:53:59 +0000 (23:53 +0000)]
2007-11-01  Roland McGrath  <roland@redhat.com>

* util.c (string_quote): Return nonzero if the string was unterminated.
(printstr): Use that value instead of just our own test.
(printpathn): Likewise.
Fixes RH#358241.

16 years ago2007-11-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 1 Nov 2007 21:57:04 +0000 (21:57 +0000)]
2007-11-01  Roland McGrath  <roland@redhat.com>

* linux/mips/syscallent.h: Fix argument count for fadvise64_64.
From Paul Mundt <lethal@linux-sh.org>.

16 years ago2007-11-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 1 Nov 2007 21:55:56 +0000 (21:55 +0000)]
2007-11-01  Roland McGrath  <roland@redhat.com>

* linux/mips/syscallent.h: Fix argument count for lookup_dcookie.
From Paul Mundt <lethal@linux-sh.org>.

16 years ago.
Roland McGrath [Thu, 1 Nov 2007 21:54:17 +0000 (21:54 +0000)]
.

16 years ago2007-11-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 1 Nov 2007 21:54:13 +0000 (21:54 +0000)]
2007-11-01  Roland McGrath  <roland@redhat.com>

* linux/sh64/syscallent.h: Fix SYS_socket_subcall check.
From Paul Mundt <lethal@linux-sh.org>.

16 years ago2007-11-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 1 Nov 2007 21:54:11 +0000 (21:54 +0000)]
2007-11-01  Roland McGrath  <roland@redhat.com>

* linux/sh/syscallent.h: Update numerous calls.
From Paul Mundt <lethal@linux-sh.org>.

16 years ago2007-09-22 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 1 Nov 2007 21:52:20 +0000 (21:52 +0000)]
2007-09-22  Dmitry V. Levin <ldv@altlinux.org>

* desc.c (sys_pselect6): Decode signal mask when entering syscall.
Relax signal mask size check.

16 years ago.
Roland McGrath [Thu, 1 Nov 2007 21:50:58 +0000 (21:50 +0000)]
.

16 years ago2007-09-22 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 1 Nov 2007 21:50:54 +0000 (21:50 +0000)]
2007-09-22  Dmitry V. Levin <ldv@altlinux.org>

* time.c (print_timespec, sprint_timespec): New functions.
* defs.h (print_timespec, sprint_timespec): Declare them.
* desc.c (sys_io_getevents): Use print_timespec.
* stream.c (sys_ppoll): Likewise.
(decode_poll): Use sprint_timespec.

16 years ago2007-09-22 Alan Curry <pacman@world.std.com> Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 1 Nov 2007 21:49:49 +0000 (21:49 +0000)]
2007-09-22  Alan Curry <pacman@world.std.com> Dmitry V. Levin <ldv@altlinux.org>

* stream.c (decode_poll): Rearrange so that arguments are decoded
and printed on syscall entry, except for revents and the output
timespec which are now printed in the auxstr.
(sys_poll): Print the input timeout argument on syscall entry.
[LINUX] (sys_ppoll): Likewise.
Fixes Debian#369651.

16 years ago2007-09-22 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Thu, 1 Nov 2007 21:46:22 +0000 (21:46 +0000)]
2007-09-22  Dmitry V. Levin <ldv@altlinux.org>

* desc.c (sprintflags): Remove static qualifier, add "prefix"
argument, move function to ...
* util.c (sprintflags): ... here.
* defs.h (sprintflags): Declare it.

16 years ago.
Roland McGrath [Thu, 1 Nov 2007 21:42:29 +0000 (21:42 +0000)]
.

16 years ago2007-11-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 1 Nov 2007 21:42:18 +0000 (21:42 +0000)]
2007-11-01  Roland McGrath  <roland@redhat.com>

* syscall.c (get_scno) [ARM]: Check TCB_WAITEXECVE.
Reported by Bernhard Fischer <rep.dot.nop@gmail.com>.

16 years ago.
Roland McGrath [Thu, 1 Nov 2007 21:37:36 +0000 (21:37 +0000)]
.

16 years ago2007-11-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 1 Nov 2007 21:37:33 +0000 (21:37 +0000)]
2007-11-01  Roland McGrath  <roland@redhat.com>

* net.c (sockpacketoptions): Make PACKET_ADD_MEMBERSHIP and
PACKET_DROP_MEMBERSHIP conditional.
From Bernhard Fischer <rep.dot.nop@gmail.com>.

16 years ago.
Roland McGrath [Thu, 1 Nov 2007 21:32:52 +0000 (21:32 +0000)]
.

16 years ago2007-11-01 Roland McGrath <roland@redhat.com>
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>.

16 years agonet.c (printsock): Really use printpathn() as written in ChangeLog entry
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

16 years ago2007-10-01 Dmitry V. Levin <ldv@altlinux.org>
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.

16 years ago2007-10-01 Dmitry V. Levin <ldv@altlinux.org>
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.

16 years ago.
Dmitry V. Levin [Mon, 8 Oct 2007 21:28:18 +0000 (21:28 +0000)]
.

16 years ago2007-09-25 Dmitry V. Levin <ldv@altlinux.org>
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.

17 years ago.
Roland McGrath [Wed, 12 Sep 2007 01:26:48 +0000 (01:26 +0000)]
.

17 years ago2007-09-11 Roland McGrath <roland@redhat.com>
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>.

17 years ago2007-09-11 Roland McGrath <roland@redhat.com>
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>.

17 years ago2007-09-11 Roland McGrath <roland@redhat.com>
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>.

17 years ago2007-09-11 Roland McGrath <roland@redhat.com>
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>.

17 years ago2007-09-11 Roland McGrath <roland@redhat.com>
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>.

17 years ago2007-08-20 Dmitry V. Levin <ldv@altlinux.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.

17 years ago.
Roland McGrath [Tue, 7 Aug 2007 01:23:08 +0000 (01:23 +0000)]
.

17 years ago2007-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
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.

17 years ago.
Roland McGrath [Tue, 7 Aug 2007 01:05:22 +0000 (01:05 +0000)]
.

17 years ago2007-08-05 Jan Kratochvil <jan.kratochvil@redhat.com>
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.

17 years ago.
Roland McGrath [Tue, 7 Aug 2007 01:00:32 +0000 (01:00 +0000)]
.

17 years ago2007-08-03 Ulrich Drepper <drepper@redhat.com>
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.

17 years ago.
Roland McGrath [Fri, 3 Aug 2007 10:28:59 +0000 (10:28 +0000)]
.

17 years ago2007-08-03 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Fri, 3 Aug 2007 10:04:52 +0000 (10:04 +0000)]
.

17 years ago2007-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
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.

17 years ago2007-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
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.

17 years ago.
Roland McGrath [Fri, 3 Aug 2007 09:59:13 +0000 (09:59 +0000)]
.

17 years ago2007-08-03 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 02:22:10 +0000 (02:22 +0000)]
.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 02:13:08 +0000 (02:13 +0000)]
.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 01:47:12 +0000 (01:47 +0000)]
.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 01:44:20 +0000 (01:44 +0000)]
.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 01:38:01 +0000 (01:38 +0000)]
.

17 years ago2007-07-23 Ulrich Drepper <drepper@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 01:37:07 +0000 (01:37 +0000)]
.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago2007-07-23 Ulrich Drepper <drepper@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 01:31:21 +0000 (01:31 +0000)]
.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago2007-02-23 Ulrich Drepper <drepper@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 01:23:52 +0000 (01:23 +0000)]
.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago2007-07-23 Ulrich Drepper <drepper@redhat.com>
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.

17 years ago.
Roland McGrath [Thu, 2 Aug 2007 01:13:36 +0000 (01:13 +0000)]
.

17 years ago2007-08-01 Roland McGrath <roland@redhat.com>
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.

17 years ago2007-07-23 Ulrich Drepper <drepper@redhat.com>
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.

17 years ago.
Roland McGrath [Tue, 24 Jul 2007 01:59:02 +0000 (01:59 +0000)]
.

17 years ago2007-07-23 Roland McGrath <roland@redhat.com>
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.

17 years ago2007-07-23 Ulrich Drepper <drepper@redhat.com>
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.

17 years ago.
Roland McGrath [Tue, 24 Jul 2007 01:53:09 +0000 (01:53 +0000)]
.

17 years ago2007-07-23 Roland McGrath <roland@redhat.com>
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.

17 years ago2007-07-23 Ulrich Drepper <drepper@redhat.com>
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.

17 years ago2007-07-23 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Tue, 24 Jul 2007 01:38:31 +0000 (01:38 +0000)]
.

17 years ago2007-07-23 Roland McGrath <roland@redhat.com>
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>.

17 years ago.
Roland McGrath [Wed, 11 Jul 2007 09:04:26 +0000 (09:04 +0000)]
.

17 years ago2007-07-11 Roland McGrath <roland@redhat.com>
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>.

17 years ago.
Roland McGrath [Wed, 11 Jul 2007 08:35:15 +0000 (08:35 +0000)]
.

17 years ago2007-07-11 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Wed, 11 Jul 2007 07:23:44 +0000 (07:23 +0000)]
.

17 years ago2007-07-11 Roland McGrath <roland@redhat.com>
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.

17 years ago.
Roland McGrath [Wed, 11 Jul 2007 07:11:24 +0000 (07:11 +0000)]
.

17 years ago2007-07-11 Roland McGrath <roland@redhat.com>
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.