Roland McGrath [Fri, 27 Jun 2003 21:20:09 +0000 (21:20 +0000)]
2003-06-27 Roland McGrath <roland@redhat.com>
* configure.ac: Check for type `struct __old_kernel_stat'.
* file.c (convertoldstat, printoldstat): Define under
[LINUX && HAVE_STRUCT___OLD_KERNEL_STAT] rather than a list of archs.
(sys_oldstat, sys_oldfstat, sys_oldlstat): Likewise.
* linux/dummy.h [! HAVE_STRUCT___OLD_KERNEL_STAT]
(sys_oldstat, sys_oldfstat, sys_oldlstat): #define to printargs.
Roland McGrath [Tue, 3 Jun 2003 01:35:20 +0000 (01:35 +0000)]
2003-06-02 Roland McGrath <roland@redhat.com>
* strace.c (main): Set -q when given -o and not -p, and not when not
given -o, to match what the man page always said.
Fixes Debian bug #47113, #153678.
Roland McGrath [Fri, 23 May 2003 02:27:13 +0000 (02:27 +0000)]
2003-05-22 Roland McGrath <roland@redhat.com>
* defs.h (struct tcb): New member `nzombies'.
* strace.c (alloctcb): Initialize it.
(droptcb): Increment our parent's zombie count.
* process.c (internal_wait): Don't go into TCB_SUSPENDED if the
process has zombies it can reap. On the way out, if we reaped
an untraced process, decrement the zombie count.
Roland McGrath [Fri, 23 May 2003 01:08:42 +0000 (01:08 +0000)]
2003-05-22 Roland McGrath <roland@redhat.com>
* process.c (sys_clone): Mask CSIGNAL out of flags and print that
separately using signame.
* process.c (internal_clone) [TCB_CLONE_THREAD]: Use ARG_FLAGS instead
of literal 0 for index. Consult the right flags without clobbering
anything when we reparent the new child to the caller's parent thread.
Roland McGrath [Mon, 31 Mar 2003 01:05:01 +0000 (01:05 +0000)]
2003-02-26 Stuart Menefy <stuart.menefy@st.com>
Various fixes for SuperH [SH]:
* mem.c (sys_old_mmap): mmap() parameters passed in registers
* net.c (sys_pipe), syscall.c (getrval2): pipe() results returned
in registers
* process.c (change_syscall): Fixed register which holds system
call number
* util.c (arg0_offset, arg1_offset): provide definition
* Makefile.am: Added new files in linux/sh
* linux/sh/syscallent.h: New file.
* linux/sh/errnoent.h: New file.
* linux/sh/ioctlent.h: New file.
* linux/sh/signalent.h: New file.
Roland McGrath [Mon, 31 Mar 2003 01:04:27 +0000 (01:04 +0000)]
2003-02-26 Stuart Menefy <stuart.menefy@st.com>
Various fixes for SuperH [SH]:
* mem.c(sys_old_mmap): mmap() parameters passed in registers
* net.c(sys_pipe), syscall.c(getrval2): pipe() results returned
in registers
* process.c (change_syscall): Fixed register which holds system
call number
* util.c (arg0_offset, arg1_offset): provide definition
* Makefile.am: Added new files in linux/sh
* linux/sh/syscallent.h: New file.
* linux/sh/errnoent.h: New file.
* linux/sh/ioctlent.h: New file.
* linux/sh/signalent.h: New file.
Roland McGrath [Mon, 31 Mar 2003 01:03:33 +0000 (01:03 +0000)]
2003-02-26 Stuart Menefy <stuart.menefy@st.com>
Various fixes for SuperH [SH]:
* mem.c(sys_old_mmap): mmap() parameters passed in registers
* net.c(sys_pipe), syscall.c(getrval2): pipe() results returned
in registers
* process.c (change_syscall): Fixed register which holds system
call number
* util.c (arg0_offset, arg1_offset): provide definition
* Makefile.am: Added new files in linux/sh
* linux/sh/{syscallent,errnoent,ioctlent,signalent}.h: New files
Roland McGrath [Sun, 30 Mar 2003 23:52:26 +0000 (23:52 +0000)]
2003-03-30 Roland McGrath <roland@redhat.com>
* time.c [LINUX]: Handle new Linux 2.5 clock/timer syscalls.
* linux/syscall.h, linux/syscallent.h, linux/dummy.h: Likewise.
From Ulrich Drepper <drepper@redhat.com>.
* linux/syscallent.h: Use sys_getrlimit for 191.
Use name "old_getrlimit" for 76.
Reported by Ulrich Drepper <drepper@redhat.com>.
Roland McGrath [Wed, 12 Mar 2003 09:54:36 +0000 (09:54 +0000)]
2003-03-12 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h: Fix arg counts for clone and clone2.
Use sys_clone for clone2.
* linux/syscall.h: Don't declare sys_clone2.
* process.c (sys_clone): Rewritten to handle both flavors,
print all extra args depending on flag bits.
(sys_clone2): Function removed.
Roland McGrath [Wed, 5 Mar 2003 04:08:00 +0000 (04:08 +0000)]
2003-03-04 Ulrich Drepper <drepper@redhat.com>
* mem.c [LINUX] (sys_remap_file_pages): New function.
* linux/syscall.h: Declare it.
* linux/syscallent.h: Use it.
* linux/powerpc/syscallent.h: Likewise.
Roland McGrath [Wed, 26 Feb 2003 20:34:02 +0000 (20:34 +0000)]
2003-02-26 Roland McGrath <roland@redhat.com>
* configure.ac: Fix typo in netinet/in.h check.
Also include <sys/types.h> and <sys/socket.h> before <netinet/in.h>.
Reported by Alex Semenyaka <alexs@snark.rinet.ru>.