]> granicus.if.org Git - strace/log
strace
21 years ago.
Roland McGrath [Thu, 20 Feb 2003 02:45:34 +0000 (02:45 +0000)]
.

21 years ago2003-02-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 20 Feb 2003 02:45:22 +0000 (02:45 +0000)]
2003-02-19  Roland McGrath  <roland@redhat.com>

FreeBSD rfork support changes from Russ Cox <rsc@plan9.bell-labs.com>:
* syscall.c (internal_syscall): Handle SYS_rfork with internal_fork.
* process.c (internal_fork) [SYS_rfork]: Bail if RFPROC flag not set.

21 years ago.
Roland McGrath [Thu, 30 Jan 2003 20:15:35 +0000 (20:15 +0000)]
.

21 years ago2003-01-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 30 Jan 2003 20:15:23 +0000 (20:15 +0000)]
2003-01-23  Roland McGrath  <roland@redhat.com>

* signal.c: Reorder #ifdefs so HAVE_ASM_SIGCONTEXT_H doesn't matter on
SPARC, which doesn't use the header regardless.
* util.c [LINUX && SPARC]: Do renaming kludges around <asm/reg.h>
like signal.c does.

21 years ago2003-01-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 30 Jan 2003 20:15:20 +0000 (20:15 +0000)]
2003-01-23  Roland McGrath  <roland@redhat.com>

* linux/sparc/syscall.h: Declare sys_getdents64, sys_llseek.

21 years ago2003-01-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 30 Jan 2003 20:15:19 +0000 (20:15 +0000)]
2003-01-23  Roland McGrath  <roland@redhat.com>

* util.c [LINUX && SPARC]: Do renaming kludges around <asm/reg.h>
like signal.c does.

21 years ago.
Roland McGrath [Fri, 24 Jan 2003 04:39:50 +0000 (04:39 +0000)]
.

21 years ago2003-01-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 24 Jan 2003 04:39:46 +0000 (04:39 +0000)]
2003-01-23  Roland McGrath  <roland@redhat.com>

* linux/dummy.h [! SYS_getpmsg] (sys_getpmsg): #define to printargs.
[! SYS_putpmsg] (sys_putpmsg): Likewise.

21 years ago2003-01-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 24 Jan 2003 04:39:45 +0000 (04:39 +0000)]
2003-01-23  Roland McGrath  <roland@redhat.com>

* linux/sparc/syscall.h: Declare sys_getdents64.

21 years ago.
Roland McGrath [Fri, 24 Jan 2003 04:32:36 +0000 (04:32 +0000)]
.

21 years ago2003-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 24 Jan 2003 04:31:23 +0000 (04:31 +0000)]
2003-01-21  Roland McGrath  <roland@redhat.com>

* strace.c (usage): Omit -z, since it has never worked properly.
* NEWS: Likewise.
* strace.c (main): Grok new option `-E var=val' or `-E var' to put
var=val in environ or to remove var, respectively.
(usage): Mention it.
* strace.1, NEWS: Document it.

21 years ago2003-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 24 Jan 2003 04:31:20 +0000 (04:31 +0000)]
2003-01-21  Roland McGrath  <roland@redhat.com>

* strace.c (main): Grok new option `-E var=val' or `-E var' to put
var=val in environ or to remove var, respectively.
(usage): Mention it.
* strace.1, NEWS: Document it.

21 years ago2003-01-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 24 Jan 2003 04:31:18 +0000 (04:31 +0000)]
2003-01-23  Roland McGrath  <roland@redhat.com>

* process.c: Reorder includes to put sys/reg.h before linux/ptrace.h,
since they can conflict.

21 years ago4.4.93
Roland McGrath [Wed, 22 Jan 2003 02:27:59 +0000 (02:27 +0000)]
4.4.93

21 years ago2003-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 22 Jan 2003 02:27:51 +0000 (02:27 +0000)]
2003-01-21  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.4.93.
* strace.spec, debian/changelog: 4.4.93-1.
* strace.spec (Source0): Use strace-VERSION.tar.bz2 now.

21 years ago.
Roland McGrath [Mon, 20 Jan 2003 10:23:11 +0000 (10:23 +0000)]
.

21 years ago2003-01-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 20 Jan 2003 10:23:04 +0000 (10:23 +0000)]
2003-01-20  Roland McGrath  <roland@redhat.com>

* defs.h [LINUX] [S390 || S390X] (TCB_WAITEXECVE): Define it.
* syscall.c (get_scno, syscall_fixup) [LINUX] [S390 || S390X]: Handle
TCB_WAITEXECVE state with special kludges.

21 years ago.
Roland McGrath [Mon, 20 Jan 2003 09:04:42 +0000 (09:04 +0000)]
.

21 years ago2003-01-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 20 Jan 2003 09:04:36 +0000 (09:04 +0000)]
2003-01-20  Roland McGrath  <roland@redhat.com>

* util.c (restore_arg0): Evaluate args in no-op defns.
* util.c [S390 || S390X] (arg0_offset, arg1_offset): Fix definitions
for clone call on S390.  From Michael Holzheu <holzheu@de.ibm.com>.

21 years ago2003-01-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 20 Jan 2003 09:04:33 +0000 (09:04 +0000)]
2003-01-20  Roland McGrath  <roland@redhat.com>

* process.c [LINUX] (sys_clone) [S390 || S390X]: Argument order is
reversed from other architectures.
* process.c (sys_execve) [LINUX]: Make setting TCB_WAITEXECVE flag
conditional on [TCB_WAITEXECVE] instead of list of processors.

21 years ago2003-01-17 Anton Blanchard <anton@samba.org>
Roland McGrath [Sat, 18 Jan 2003 00:21:51 +0000 (00:21 +0000)]
2003-01-17  Anton Blanchard <anton@samba.org>

* util.c [LINUX] (setbpt): Handle SYS_vfork like SYS_fork.

21 years ago.
Roland McGrath [Sat, 18 Jan 2003 00:19:35 +0000 (00:19 +0000)]
.

21 years ago2003-01-17 Anton Blanchard <anton@samba.org>
Roland McGrath [Sat, 18 Jan 2003 00:19:31 +0000 (00:19 +0000)]
2003-01-17  Anton Blanchard <anton@samba.org>

* util.c [LINUX] (setbpt): Handle SYS_vfork like SYS_fork.

21 years ago2003-01-17 Anton Blanchard <anton@samba.org>
Roland McGrath [Sat, 18 Jan 2003 00:19:28 +0000 (00:19 +0000)]
2003-01-17  Anton Blanchard <anton@samba.org>

* linux/syscall.h (SYS_socket_subcall): 256 also for POWERPC.

21 years ago.
Roland McGrath [Tue, 14 Jan 2003 23:41:07 +0000 (23:41 +0000)]
.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 23:41:03 +0000 (23:41 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* linux/powerpc/errnoent.h: Add missing errnos.
* linux/powerpc/ioctlent.h: Update ioctl values.
From Anton Blanchard <anton@samba.org>.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 23:41:01 +0000 (23:41 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* linux/hppa/syscallent.h: Use sys_getdents64, sys_truncate64,
sys_ftruncate64, instead of printargs, for those syscalls.
* linux/mips/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 23:40:57 +0000 (23:40 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* io.c [LINUX] (sys_pread, sys_pwrite): Fix last change.
From Anton Blanchard <anton@samba.org>.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 23:40:55 +0000 (23:40 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* strace.1: Update bug reporting info.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 23:40:54 +0000 (23:40 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* resource.c [LINUX] (quotacmds): Grok new command encodings.
From Nathan Scott <nathans@debian.org>.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 23:40:52 +0000 (23:40 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* linux/syscall.h (SYS_socket_subcall): Only 256 for S390, S390X.
All others at the moment use linux/syscallent.h, where it's 300.

21 years ago.
Roland McGrath [Tue, 14 Jan 2003 10:10:36 +0000 (10:10 +0000)]
.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 10:09:50 +0000 (10:09 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.4.91.
* strace.spec, debian/changelog: 4.4.91-1

21 years ago.
Roland McGrath [Tue, 14 Jan 2003 09:59:57 +0000 (09:59 +0000)]
.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 09:59:00 +0000 (09:59 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* configure.ac: Match powerpc* (includes powerpc64), and don't match
ppc (never comes out of config.sub).
* process.c (sys_ptrace): Use #lx format for address argument.
[POWERPC]: Use sizeof(unsigned long) in place of 4 for multipliers.
* process.c [POWERPC]: Likewise.
* signal.c (sys_sigreturn) [POWERPC]: Likewise.
* syscall.c (get_scno) [POWERPC]: Likewise.
* util.c [POWERPC]: Likewise.
(printnum): Use long for NUM.
From Anton Blanchard <anton@samba.org>.

21 years ago.
Roland McGrath [Tue, 14 Jan 2003 09:46:33 +0000 (09:46 +0000)]
.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 09:46:23 +0000 (09:46 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* defs.h [_LARGEFILE64_SOURCE] (_LFS64_LARGEFILE): Define it.
* linux/syscallent.h: Use sys_getdents64, sys_truncate64,
sys_ftruncate64, instead of printargs, for those syscalls.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 09:46:21 +0000 (09:46 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* process.c: Use <linux/ptrace.h> regardless of <sys/reg.h>.
(sys_ptrace): Use printxval.
(ptrace_cmds): Make PTRACE_GETREGS et al conditional on #ifdef PTRACE_*
instead of only #ifdef SUNOS4.  Add PTRACE_[GS]ETFPXREGS.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 09:46:18 +0000 (09:46 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* defs.h (ALIGN64): Fix defn for PPC, same as FreeBSD one.
* defs.h [_LARGEFILE64_SOURCE] (_LFS64_LARGEFILE): Define it.
* linux/syscallent.h: Use sys_getdents64, sys_truncate64,
sys_ftruncate64, instead of printargs, for those syscalls.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 09:46:17 +0000 (09:46 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* ipc.c (PRINTCTL): New macro.  #ifdef IPC_64, factor out the flag and
print it before using printxval.
(sys_msgctl, sys_semctl, sys_shmctl): Use it.

21 years ago2003-01-14 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 09:46:15 +0000 (09:46 +0000)]
2003-01-14  Roland McGrath  <roland@redhat.com>

* util.c [LINUX] (restore_arg0, restore_arg1): New macros, defined
appropriately via set_arg0 or no-ops for each architecture.
(clearbpt): Use those instead of set_arg0 and set_arg1.

21 years ago.
Roland McGrath [Tue, 14 Jan 2003 07:58:26 +0000 (07:58 +0000)]
.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:58:14 +0000 (07:58 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* config.guess: Update from ftp://ftp.gnu.org/pub/gnu/config/,
timestamp 2003-01-10.
* config.sub: Likewise, timestamp 2003-01-03.
* install-sh: Update from Automake 1.7.2.

21 years ago.
Roland McGrath [Tue, 14 Jan 2003 07:53:49 +0000 (07:53 +0000)]
.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:41 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* defs.h [POWERPC] (UESP, EIP, EAX, ORIG_EAX): Remove this cruft.
[LINUX && POWERPC && !__powerpc64__] (ALIGN64): New macro.
* io.c (sys_pread, sys_pwrite): Use ALIGN64.
From Anton Blanchard <anton@samba.org>.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:40 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* term.c [LINUX]: Get kernel definition of struct termios.
From Anton Blanchard <anton@samba.org>.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:38 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* net.c: HAVE_OPTHDR -> HAVE_STRUCT_OPTHDR
Reported by John Hughes <john@Calva.COM>.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:37 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* linux/powerpc/syscallent.h: Add missing system calls.
Decode more system calls, we were just printargs for many things.
Remove some x86-specific system calls.
Remove two syscalls between the socket and ipc syscalls,
it was resulting in all IPC syscalls being off by two.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:36 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* linux/ioctlent.sh: Look in sound/ directory too.
From Anton Blanchard <anton@samba.org>.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:35 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* linux/syscall.h [ARM] (SYS_socket_subcall): Set to 300.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:34 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* ioctl.c (ioctl_decode) [POWERPC]: Decode term ioctls like Alpha.
From Anton Blanchard <anton@samba.org>.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:33 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* strace.c [! HAVE_STRSIGNAL]: Clean up #ifdefs on decls for
sys_siglist and _sys_siglist.
Reported by John Hughes <john@Calva.COM>.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:31 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* desc.c (printflock64): Fix ADDR argument type.
From Anton Blanchard <anton@samba.org>.

21 years ago2003-01-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 14 Jan 2003 07:53:30 +0000 (07:53 +0000)]
2003-01-13  Roland McGrath  <roland@redhat.com>

* linux/powerpc/signalent.h: Add SIGRTMIN.
From Anton Blanchard <anton@samba.org>.

21 years ago.
Roland McGrath [Fri, 10 Jan 2003 21:43:33 +0000 (21:43 +0000)]
.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 21:43:24 +0000 (21:43 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.4.91.
* strace.spec, debian/changelog: 4.4.91-1

21 years ago.
Roland McGrath [Fri, 10 Jan 2003 20:51:13 +0000 (20:51 +0000)]
.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 20:51:00 +0000 (20:51 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* util.c [LINUX && X86_64] (arg0_offset, arg1_offset): Use correct
values for x86-64, conditional on current_personality.

21 years ago.
Roland McGrath [Fri, 10 Jan 2003 20:14:52 +0000 (20:14 +0000)]
.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 20:14:20 +0000 (20:14 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* strace.c (droptcb): Clear flags word before calling rebuild_pollv.

21 years agoFix output format of last change.
Roland McGrath [Fri, 10 Jan 2003 20:09:43 +0000 (20:09 +0000)]
Fix output format of last change.

21 years ago.
Roland McGrath [Fri, 10 Jan 2003 20:06:01 +0000 (20:06 +0000)]
.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 20:05:56 +0000 (20:05 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* strace.c (rebuild_pollv): Fix typo: struct poll -> struct pollfd.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 20:05:54 +0000 (20:05 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* configure.ac: Check struct T_conn_res for QUEUE_ptr or ACCEPTOR_id.
* stream.c (print_transport_message): Use #ifdefs for those members.

21 years agotypo in last change
Roland McGrath [Fri, 10 Jan 2003 19:57:34 +0000 (19:57 +0000)]
typo in last change

21 years ago.
Roland McGrath [Fri, 10 Jan 2003 19:55:42 +0000 (19:55 +0000)]
.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 19:55:30 +0000 (19:55 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* configure.ac: Fix siginfo_t/sig_atomic_t checks.
Use prerequisite #include <netinet/in.h> for netinet/*.h checks.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 19:55:28 +0000 (19:55 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* strace.c (pfd2tcb): Fix for new tcbtab type.
(rebuild_pollv): Likewise.
(detach): Put variables used under [LINUX] inside #ifdef.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 11:14:41 +0000 (11:14 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* process.c (change_syscall) [POWERPC]: Add missing return.
* util.c [POWERPC] (arg0_offset): Set to 4*PT_R3, not 4*PT_ORIG_R3.

21 years ago.
Roland McGrath [Fri, 10 Jan 2003 10:45:13 +0000 (10:45 +0000)]
.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 10:44:59 +0000 (10:44 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* configure.ac: Diddle CFLAGS after AC_PROG_CC, not before.

21 years ago2003-01-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 10:44:57 +0000 (10:44 +0000)]
2003-01-10  Roland McGrath  <roland@redhat.com>

* strace.spec: New file.
* debian/changelog: 4.4.90-1
* debian/rules (binary-arch): Depend on build.
(clean): Don't try to run Makefile.in.
* debian/control (Standards-Version): Now 3.5.8.

21 years ago.
Roland McGrath [Fri, 10 Jan 2003 07:50:29 +0000 (07:50 +0000)]
.

21 years ago2003-01-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 07:50:23 +0000 (07:50 +0000)]
2003-01-09  Roland McGrath  <roland@redhat.com>

* debian/control: Update Maintainer: field.

21 years ago2003-01-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 10 Jan 2003 07:50:21 +0000 (07:50 +0000)]
2003-01-09  Roland McGrath  <roland@redhat.com>

* syscall.c (force_result) [S390 || S390X]: Fix typo.

21 years agoupdate
Roland McGrath [Thu, 9 Jan 2003 06:56:39 +0000 (06:56 +0000)]
update

21 years ago2003-01-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Jan 2003 06:53:34 +0000 (06:53 +0000)]
2003-01-08  Roland McGrath  <roland@redhat.com>

Revamp -f support for Linux.
* util.c [LINUX] (setbpt, clearbpt): New implementations that tweak
the system call to be clone with CLONE_PTRACE set.  Various new static
helper functions.
* process.c (internal_clone): Define also #ifdef SYS_clone2.
Initialize TCPCHILD->parent field.
[CLONE_PTRACE]: Don't do PTRACE_ATTACH here, because it's preattached.
Check in case the new child is in the tcb already.
(internal_fork) [LINUX]: Just call internal_clone.
* strace.c (trace) [LINUX]: Under -f/-F, grok an unknown pid
reporting to wait, put it in the TCB with TCB_ATTACHED|TCB_SUSPENDED.

21 years ago2003-01-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Jan 2003 06:53:31 +0000 (06:53 +0000)]
2003-01-08  Roland McGrath  <roland@redhat.com>

Support for new Linux 2.5 thread features.
* defs.h [LINUX]: Define __NR_exit_group if not defined.
(struct tcb): New members nclone_threads, nclone_detached,
and nclone_waiting.
(TCB_CLONE_DETACHED, TCB_CLONE_THREAD, TCB_GROUP_EXITING): New macros.
(waiting_parent): Macro removed.
(pid2tcb): Declare it.
* process.c (internal_clone) [TCB_CLONE_THREAD]: Reparent the new
child to our parent if we are a CLONE_THREAD child ourselves.
Maintain TCB_CLONE_THREAD and TCB_CLONE_DETACHED flags and counts.
(internal_wait) [TCB_CLONE_THREAD]: Factor out detached children when
determining if we have any.  If TCB_CLONE_THREAD is set, check
parent's children instead of our own, and bump nclone_waiting count.
(internal_exit) [__NR_exit_group]: Set the TCB_GROUP_EXITING flag if
the syscall was exit_group.
* syscall.c (internal_syscall): Use internal_exit for exit_group.
* strace.c (pid2tcb): No longer static.
(alloctcb) [TCB_CLONE_THREAD]: Initialize new fields.
(droptcb) [TCB_CLONE_THREAD]: Maintain new fields.
If we have thread children, set TCB_EXITING and don't clear the TCB.
(resume) [TCB_CLONE_THREAD]: Decrement parent's nclone_waiting.
(detach) [TCB_CLONE_THREAD]: When calling resume, check all thread
children of our parent that might be waiting for us too.
[TCB_GROUP_EXITING] (handle_group_exit): New function.
(trace) [TCB_GROUP_EXITING]: Use that in place of detach or droptcb.
Revamp -f support for Linux.
* util.c [LINUX] (setbpt, clearbpt): New implementations that tweak
the system call to be clone with CLONE_PTRACE set.  Various new static
helper functions.
* process.c (internal_clone): Define also #ifdef SYS_clone2.
Initialize TCPCHILD->parent field.
[CLONE_PTRACE]: Don't do PTRACE_ATTACH here, because it's preattached.
Check in case the new child is in the tcb already.
(internal_fork) [LINUX]: Just call internal_clone.
* strace.c (trace) [LINUX]: Under -f/-F, grok an unknown pid
reporting to wait, put it in the TCB with TCB_ATTACHED|TCB_SUSPENDED.

21 years ago2003-01-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Jan 2003 06:53:27 +0000 (06:53 +0000)]
2003-01-08  Roland McGrath  <roland@redhat.com>

Support for new Linux 2.5 thread features.
* defs.h [LINUX]: Define __NR_exit_group if not defined.
(struct tcb): New members nclone_threads, nclone_detached,
and nclone_waiting.
(TCB_CLONE_DETACHED, TCB_CLONE_THREAD, TCB_GROUP_EXITING): New macros.
(waiting_parent): Macro removed.
(pid2tcb): Declare it.
* process.c (internal_clone) [TCB_CLONE_THREAD]: Reparent the new
child to our parent if we are a CLONE_THREAD child ourselves.
Maintain TCB_CLONE_THREAD and TCB_CLONE_DETACHED flags and counts.
(internal_wait) [TCB_CLONE_THREAD]: Factor out detached children when
determining if we have any.  If TCB_CLONE_THREAD is set, check
parent's children instead of our own, and bump nclone_waiting count.
(internal_exit) [__NR_exit_group]: Set the TCB_GROUP_EXITING flag if
the syscall was exit_group.
* syscall.c (internal_syscall): Use internal_exit for exit_group.
* strace.c (pid2tcb): No longer static.
(alloctcb) [TCB_CLONE_THREAD]: Initialize new fields.
(droptcb) [TCB_CLONE_THREAD]: Maintain new fields.
If we have thread children, set TCB_EXITING and don't clear the TCB.
(resume) [TCB_CLONE_THREAD]: Decrement parent's nclone_waiting.
(detach) [TCB_CLONE_THREAD]: When calling resume, check all thread
children of our parent that might be waiting for us too.
[TCB_GROUP_EXITING] (handle_group_exit): New function.
(trace) [TCB_GROUP_EXITING]: Use that in place of detach or droptcb.

21 years ago2003-01-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Jan 2003 06:53:25 +0000 (06:53 +0000)]
2003-01-08  Roland McGrath  <roland@redhat.com>

* Makefile.am (AM_CFLAGS): New variable, define to $(WARNFLAGS).
* Makefile.am (EXTRA_DIST): Remove debian/postinst and debian/prerm.

21 years ago2003-01-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Jan 2003 06:53:24 +0000 (06:53 +0000)]
2003-01-08  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent1.h (sys_oldlstat): #define as printargs.

21 years ago2003-01-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Jan 2003 06:53:22 +0000 (06:53 +0000)]
2003-01-08  Roland McGrath  <roland@redhat.com>

* file.c [LINUX]: #undef st_[amc]time in case they are macros.

21 years agoDo not end summary with full stop
Wichert Akkerman [Wed, 8 Jan 2003 23:46:03 +0000 (23:46 +0000)]
Do not end summary with full stop

21 years agoNo longer install postinst and prerm since /usr/doc symlink is no longer needed
Wichert Akkerman [Wed, 8 Jan 2003 23:44:36 +0000 (23:44 +0000)]
No longer install postinst and prerm since /usr/doc symlink is no longer needed

21 years ago.
Roland McGrath [Mon, 30 Dec 2002 10:46:02 +0000 (10:46 +0000)]
.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 10:45:58 +0000 (10:45 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* Makefile.am (bin_SCRIPTS): New variable, list strace-graph.
(EXTRA_DIST): Add missing files.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 10:23:01 +0000 (10:23 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* configure.ac: Fix asm/sigcontext.h check to include prerequisite.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 10:23:00 +0000 (10:23 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* syscall.c (qualify_one): New function.
(qual_options): Replace lookup field with qualify, update initializer.
(qualify): Update caller.
(qual_signal, qual_fault, qual_desc): Rewritten from lookup_*.
(qual_syscall): Rewritten lookup_syscall, match name more than once.
Fixes RH#70579, bites IA64 -efoo when foo exists on IA32.

21 years ago.
Roland McGrath [Mon, 30 Dec 2002 09:33:32 +0000 (09:33 +0000)]
.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 09:33:22 +0000 (09:33 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* version.c (version): Make const, bump to 4.4.90.
* strace.c: Update decl.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 09:33:20 +0000 (09:33 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* Makefile.am [LINUX && X86_64]: Remove cruft.
* linux/x86_64/errnoent1.h: New file.
* linux/x86_64/ioctlent1.h: New file.
* linux/x86_64/signalent1.h: New file.
* linux/x86_64/syscallent1.h: New file.
* linux/x86_64/i386-headers.diff: File removed.
* linux/x86_64/makeheaders.sh: File removed.
* linux/x86_64/Makefile.in: File removed.

21 years ago.
Roland McGrath [Mon, 30 Dec 2002 09:13:30 +0000 (09:13 +0000)]
.

21 years ago2002-12-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 09:13:08 +0000 (09:13 +0000)]
2002-12-29  Roland McGrath  <roland@redhat.com>

* configure.ac, Makefile.am: Punt subdirs, handle everything here.
* linux/Makefile.am: File removed.
* freebsd/Makefile.am: File removed.
* sunos4/Makefile.in: File removed.
* svr4/Makefile.in: File removed.

21 years ago2002-12-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 09:13:07 +0000 (09:13 +0000)]
2002-12-30  Roland McGrath  <roland@redhat.com>

* linux/syscallent.h [X86_64]: Disable sanity checks, subcall stuff is
already broken for 32-bit personality on x86-64.

21 years ago2002-12-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 01:11:08 +0000 (01:11 +0000)]
2002-12-29  Roland McGrath  <roland@redhat.com>

* configure.ac, Makefile.am: Punt subdirs, handle everything here.

21 years ago2002-12-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 01:09:27 +0000 (01:09 +0000)]
2002-12-29  Roland McGrath  <roland@redhat.com>

* sunos4/Makefile.in: File removed.
* svr4/Makefile.in: File removed.

21 years agoRemoved in automake update
Roland McGrath [Mon, 30 Dec 2002 00:53:11 +0000 (00:53 +0000)]
Removed in automake update

21 years ago.
Roland McGrath [Mon, 30 Dec 2002 00:51:51 +0000 (00:51 +0000)]
.

21 years ago2002-12-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 00:51:32 +0000 (00:51 +0000)]
2002-12-26  Roland McGrath  <roland@redhat.com>

* syscallent.sh: Grok three flavors of #define line, uniquify.
* linux/hppa/syscallent.sh: File removed.
* linux/powerpc/syscallent.sh: File removed.

21 years ago2002-12-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 30 Dec 2002 00:51:30 +0000 (00:51 +0000)]
2002-12-22  Roland McGrath  <roland@redhat.com>

Update to Autoconf 2.57, and Automakify with version 1.7.
* Makefile.am: New file.
* Makefile.in: File removed.
* configure.in: Moved to ...
* configure.ac: ... here.  Update for Autoconf 2.5x and Automake.
* aclocal.m4: Moved to ...
* acinclude.m4: ... here.  Update for Autoconf 2.5x.
* AUTHORS: New file, makes automake happy.
* autogen.sh: File removed.
* README-CVS: Update to recommend autoreconf instead.
* file.c: HAVE_ST_* -> HAVE_STRUCT_STAT_ST_*.
* net.c: HAVE_SIN6_SCOPE_ID -> HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID,
HAVE_MSG_CONTROL -> HAVE_STRUCT_MSGHDR_MSG_CONTROL.
* strace.c: *_DECLARED -> HAVE_DECL_*
* stream.c: HAVE_* -> HAVE_STRUCT_*