]> granicus.if.org Git - strace/log
strace
16 years ago2008-07-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:23:49 +0000 (01:23 +0000)]
2008-07-17  Roland McGrath  <roland@redhat.com>

* linux/syscallent.h: Fix "futex" argument 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/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#448629.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:19:39 +0000 (01:19 +0000)]
.

16 years ago2008-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:19:36 +0000 (01:19 +0000)]
2008-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>

Fix ia64 `-f' on CLONE2 formerly crashing the child.
* util.c [IA64] (restore_arg0, restore_arg1): Define as empty.
Fixes RH#453438.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:15:22 +0000 (01:15 +0000)]
.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:09:48 +0000 (01:09 +0000)]
.

16 years ago2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:09:44 +0000 (01:09 +0000)]
2008-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>

* util.c (CLONE_VFORK): Define if not defined already.
(setbpt): Clear CLONE_VFORK for SYS_clone and SYS_clone2.
Reported by Vitaly Mayatskikh.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 01:02:43 +0000 (01:02 +0000)]
.

16 years ago2008-07-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 01:02:41 +0000 (01:02 +0000)]
2008-07-17  Roland McGrath  <roland@redhat.com>

* signal.c (sigact_flags): Prefer SA_NODEFER to SA_NOMASK,
SA_RESETHAND to SA_ONESHOT.
Fixes RH#455821.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 00:50:21 +0000 (00:50 +0000)]
.

16 years ago2008-07-09 Frederik Schüler <fs@debian.org>
Roland McGrath [Fri, 18 Jul 2008 00:50:04 +0000 (00:50 +0000)]
2008-07-09  Frederik Schüler <fs@debian.org>

* debian/rules: Remove the broken udeb creation routines, and redo the
complete install procedure using debhelper.
* debian/strace.docs: New file, list for dh_installdocs.
* debian/strace.examples: New file, list for dh_installexamples.
* debian/strace.install: New file, list for dh_install.
* debian/strace-udeb.install: New file, list for dh_install.
* debian/strace.manpages : New file, list for dh_installmanpages.
* debian/copyright: Update.
* debian/control: Fix libc6 build dependency for alpha and ia64.
(strace-udeb: XC-Package-Type): Add header.
* debian/changelog: Cosmetic changes.

16 years ago2008-07-09 Frederik Schüler <fs@debian.org>
Roland McGrath [Fri, 18 Jul 2008 00:49:31 +0000 (00:49 +0000)]
2008-07-09  Frederik Schüler <fs@debian.org>

* debian/rules: Remove the broken udeb creation routines, and redo the
complete install procedure using debhelper.
* debian/strace.docs: New file, list for dh_installdocs.
* debian/strace.examples: New file, list for dh_installexamples.
* debian/strace.install: New file, list for dh_install.
* debian/strace-udeb.install: New file, list for dh_install.
* debian/strace.manpages : New file, list for dh_installmanpages.
* debian/copyright: Update.
* debian/control: Fix libc6 build dependency for alpha and ia64.
(strace-udeb: XC-Package-Type): Add header.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 00:25:14 +0000 (00:25 +0000)]
.

16 years ago2008-07-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Roland McGrath [Fri, 18 Jul 2008 00:25:10 +0000 (00:25 +0000)]
2008-07-03  Jan Kratochvil  <jan.kratochvil@redhat.com>

Trace even VFORK on -f on all the platforms.
* strace.1 <-f>: Describe Linux catches new children immediately.
<-F>: Make the option obsolete.  Move the SunOS VFORK comment to the
`-f' option description.
* defs.h (followvfork): Declaration removed.
* strace.c (followvfork): Variable removed.
(main) <-F>: Merge with the `-f' option.
(trace): Make !FOLLOWVFORK unconditional.
* process.c (internal_fork): Make !FOLLOWVFORK unconditional.

16 years ago.
Roland McGrath [Fri, 18 Jul 2008 00:18:33 +0000 (00:18 +0000)]
.

16 years ago2008-07-01 Frederik Schüler <fs@debian.org>
Roland McGrath [Fri, 18 Jul 2008 00:18:27 +0000 (00:18 +0000)]
2008-07-01  Frederik Schüler <fs@debian.org>

* debian/changelog: List all bugs closed since the last release.
* debian/control: Remove Wichert Akkerman from uploaders list.
* debian/control: Bump standards version to 3.8.0.
* debian/control: Add Homepage field.
* debian/rules: Fix dpkg-gencontrol call.
* debian/compat: New file, set to compatibility level 5.
* debian/rules: Call dh_clean on clean target.
* debian/rules: Add dh_md5sums call.
Fixes Debian#439428

16 years ago2008-06-29 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sun, 29 Jun 2008 22:28:54 +0000 (22:28 +0000)]
2008-06-29  Dmitry V. Levin <ldv@altlinux.org>

* linux/x86_64/syscallent.h: Remove duplicate syscall entries
for #283 and #284.

16 years ago*** empty log message ***
Jan Kratochvil [Fri, 27 Jun 2008 12:13:42 +0000 (12:13 +0000)]
*** empty log message ***

16 years ago2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Fri, 27 Jun 2008 12:12:51 +0000 (12:12 +0000)]
2008-06-27  Jan Kratochvil  <jan.kratochvil@redhat.com>

* linux/syscallent.h: Remove a duplicite syscall stub #326.

16 years ago.
Roland McGrath [Tue, 27 May 2008 23:18:32 +0000 (23:18 +0000)]
.

16 years ago2008-05-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 27 May 2008 23:18:29 +0000 (23:18 +0000)]
2008-05-27  Roland McGrath  <roland@redhat.com>

* syscall.c [LINUX] (is_negated_errno): New function.
(get_error) [LINUX]: Use it for all such cases.
Fixes RH#447587.

16 years ago.
Roland McGrath [Tue, 20 May 2008 05:51:21 +0000 (05:51 +0000)]
.

16 years ago.
Roland McGrath [Tue, 20 May 2008 05:18:39 +0000 (05:18 +0000)]
.

16 years ago.
Roland McGrath [Tue, 20 May 2008 04:56:45 +0000 (04:56 +0000)]
.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 04:56:27 +0000 (04:56 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Update entries for timerfd_* and fallocate.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 04:56:22 +0000 (04:56 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* file.c (sys_fallocate): New function.
* linux/syscall.h: Declare it.
* linux/syscallent.h: Update entry.
From Kyle McMartin <kyle@mcmartin.ca>.
* time.c (sys_timerfd_create): New function.
(sys_timerfd_settime, sys_timerfd_gettime): New functions.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update entries for those syscalls.
From Kyle McMartin <kyle@mcmartin.ca>.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 04:56:18 +0000 (04:56 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* file.c (sys_fallocate): New function.
* linux/syscall.h: Declare it.
* linux/syscallent.h: Update entry.
From Kyle McMartin <kyle@mcmartin.ca>.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 04:56:13 +0000 (04:56 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* time.c (sys_timerfd_create): New function.
(sys_timerfd_settime, sys_timerfd_gettime): New functions.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update entries for those syscalls.
From Kyle McMartin <kyle@mcmartin.ca>.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:56:28 +0000 (01:56 +0000)]
.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 01:55:48 +0000 (01:55 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* debian/rules (binary-arch): Fix chmod/chown typo.
Fixes Debian#459255.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 01:46:58 +0000 (01:46 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* debian/rules (binary-arch): Install strace-graph in examples/
directory under package doc.
Fixes Debian#469068.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:43:56 +0000 (01:43 +0000)]
.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 01:43:09 +0000 (01:43 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* signal.c (sys_kill): When current personality's wordsize is smaller
than native, sign-extend the PID argument from 32 bits.
Fixes RH#430585.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:39:07 +0000 (01:39 +0000)]
.

16 years ago2008-01-25 Bruna Moreira <bruna.moreira@indt.org>
Roland McGrath [Tue, 20 May 2008 01:35:55 +0000 (01:35 +0000)]
2008-01-25  Bruna Moreira <bruna.moreira@indt.org>

* defs.h [ARM]: Define SUPPORTED_PERSONALITIES to 2.
* syscall.c (get_scno) [ARM]: Add support for architecture specific
syscalls.
* linux/arm/syscallent.h: Update network syscalls list.
* linux/arm/syscallent1.h: New file. Add new architecture specific
syscalls.
* linux/arm/errnoent1.h: New file.
* linux/arm/ioctlent1.h: New file.
* linux/arm/signalent1.h: New file.
Fixes Debian#441000.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 01:26:21 +0000 (01:26 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* configure.ac: Add check for struct sigcontext_struct in <signal.h>.
* signal.c [! HAVE_ASM_SIGCONTEXT_H] [I386] (struct sigcontext_struct):
Conditionalize definition on !HAVE_STRUCT_SIGCONTEXT_STRUCT.
Fixes Debian#456879.

16 years ago2008-01-07 Paul Mundt <lethal@linux-sh.org>
Roland McGrath [Tue, 20 May 2008 01:25:52 +0000 (01:25 +0000)]
2008-01-07  Paul Mundt  <lethal@linux-sh.org>

* linux/sh64/syscallent.h: Update numerous calls, fix others.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:12:24 +0000 (01:12 +0000)]
.

16 years ago2007-08-26 Daniel Jacobowitz <dan@codesourcery.com>
Roland McGrath [Tue, 20 May 2008 01:11:56 +0000 (01:11 +0000)]
2007-08-26  Daniel Jacobowitz  <dan@codesourcery.com>

* defs.h [MIPS]: Include <sgidefs.h>.
(MAX_QUALS): Update for MIPS.
(LINUX_MIPSO32, LINUX_MIPSN32, LINUX_MIPSN64, LINUX_MIPS64): Define.
(struct tcb): Add ext_arg for MIPS N32.
(TCB_WAITEXECVE): Define for MIPS.
(ALIGN64): Use LINUX_MIPSO32.
* file.c (sys_lseek): Use ext_arg for MIPS N32.
(sys_readahead, sys_fadvise64_64): Likewise.
* io.c (sys_pread64, sys_pwrite64): Likewise.
* mem.c (print_mmap): Take OFFSET argument.
(sys_old_mmap): Update call to print_mmap.
(sys_mmap): Use ext_arg for MIPS N32.
* process.c (struct_user_offsets): Add MIPS registers.
* signal.c (sys_sigreturn): Handle MIPS N32 and MIPS N64.  Correct
MIPS O32 call to sprintsigmask.
* syscall.c (internal_syscall): Handle MIPS N32.  Check for
TCB_WAITEXECVE on MIPS.
(force_result): Add a comment about MIPS N32.
(syscall_enter): Handle MIPS N32 and MIPS N64.
* linux/syscall.h (sys_pread64, sys_pwrite64): Declare.
* linux/mips/syscallent.h: Include "dummy.h".  Handle alternate
MIPS ABIs.

16 years ago.
Roland McGrath [Tue, 20 May 2008 01:08:50 +0000 (01:08 +0000)]
.

16 years ago2008-05-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 May 2008 00:34:34 +0000 (00:34 +0000)]
2008-05-19  Roland McGrath  <roland@redhat.com>

* util.c [LINUX] (setbpt): Use correct SYS_clone number for current
personality.
Fixes RH#447475.

16 years ago.
Roland McGrath [Mon, 19 May 2008 23:50:35 +0000 (23:50 +0000)]
.

16 years ago2008-05-08 David S. Miller <davem@davemloft.net>
Roland McGrath [Mon, 19 May 2008 23:50:24 +0000 (23:50 +0000)]
2008-05-08  David S. Miller  <davem@davemloft.net>

* syscall.c (socket_map, sparc_socket_decode): Delete.
(trace_syscall): Use common socketcall and ipc subcall
support on sparc.
* linux/sparc/syscall.h (sys_semtimedop): Declare.
(SYS_socket_subcall, SYS_sub_socket, SYS_sub_bind,
SYS_sub_connect, SYS_sub_listen, SYS_sub_accept,
SYS_sub_getsockname, SYS_sub_getpeername,
SYS_sub_socketpair, SYS_sub_send, SYS_sub_recv,
SYS_sub_sendto, SYS_sub_recvfrom, SYS_sub_shutdown,
SYS_sub_setsockopt, SYS_sub_getsockopt, SYS_sub_sendmsg,
SYS_sub_recvmsg, SYS_socket_nsubcalls, SYS_ipc_subcall,
SYS_sub_semop, SYS_sub_semget, SYS_sub_semctl,
SYS_sub_semtimedop, SYS_sub_msgsnd, SYS_sub_msgrcv,
SYS_sub_msgget, SYS_sub_msgctl, SYS_sub_shmat,
SYS_sub_shmdt, SYS_sub_shmget, SYS_sub_shmctl,
SYS_ipc_nsubcalls): Define
* linux/sparc/syscallent.h: Add socketcall and ipc entries.

16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 23:49:58 +0000 (23:49 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* file.c [_LFS64_LARGEFILE] (sys_getdents64): Do the same
d_reclen check as in sys_getdents: warn if d_reclen is 0 rather
than looping forever.
[FREEBSD] (sys_getdirentries): Likewise.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 23:47:47 +0000 (23:47 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* file.c [LINUXSPARC] (printstatsol): Fix sprinttime()
invocation.  The sprinttime() function takes a time_t argument,
but timestruct_t argument was given.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 23:45:09 +0000 (23:45 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* file.c (sprinttime): Check localtime() return value, to avoid
potential NULL dereference due to invalid time structures.
Signed-off-by: Harald van Dijk <truedfx@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 19:07:23 +0000 (19:07 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* linux/errnoent.h: Update errno list based on latest
linux/errno.h and asm-generic/errno*.h files.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 14:18:23 +0000 (14:18 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* signalent.sh: Fix sort(1) old-style options.
* syscallent.sh: Likewise.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 years ago2008-04-19 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Sat, 19 Apr 2008 14:12:49 +0000 (14:12 +0000)]
2008-04-19  Dmitry V. Levin <ldv@altlinux.org>

* count.c (call_summary_pers): Check calloc() return value.
Signed-off-by: "Yang Zhiguo" <yzgcsu@cn.fujitsu.com>
16 years ago.
Roland McGrath [Wed, 26 Mar 2008 19:15:45 +0000 (19:15 +0000)]
.

16 years ago2008-03-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 26 Mar 2008 19:15:41 +0000 (19:15 +0000)]
2008-03-26  Roland McGrath  <roland@redhat.com>

* strace.spec (strace64_arches): Add sparc64.

16 years ago2007-11-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 Nov 2007 04:32:24 +0000 (04:32 +0000)]
2007-11-20  Roland McGrath  <roland@redhat.com>

* CREDITS, ChangeLog: Converted contents to UTF8.

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)]
.