]> granicus.if.org Git - strace/log
strace
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_*

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

* linux/alpha/Makefile.in: File removed.
* linux/hppa/Makefile.in: File removed.
* linux/ia64/Makefile.in: File removed.
* linux/powerpc/Makefile.in: File removed.
* linux/s390/Makefile.in: File removed.
* linux/s390x/Makefile.in: File removed.

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

* linux/Makefile.am: New file.
* linux/Makefile.in: File removed.
* freebsd/Makefile.am: New file.
* freebsd/i386/Makefile.am: New file.
* freebsd/i386/Makefile.in: File removed.
2002-12-22  Roland McGrath  <roland@redhat.com>

* linux/Makefile.in (ioctldefs.h ioctls.h): Use $(SHELL) instead of
sh, and use $(srcdir) to find the script.
* linux/powerpc/Makefile.in (ioctlent.raw): Find ioctlent.sh in ../.
(ioctlsort.o): Use ../ioctlsort.c, not ../../ioctlsort.c.
* linux/x86_64/Makefile.in (headers): Renamed to all.
* linux/alpha/Makefile.in: Add empty install target.
* linux/x86_64/Makefile.in: Likewise.
* linux/powerpc/Makefile.in: Likewise.
* linux/Makefile.in: Likewise.

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

* linux/Makefile.in (ioctldefs.h ioctls.h): Use $(SHELL) instead of
sh, and use $(srcdir) to find the script.
* linux/powerpc/Makefile.in (ioctlent.raw): Find ioctlent.sh in ../.
(ioctlsort.o): Use ../ioctlsort.c, not ../../ioctlsort.c.
* linux/x86_64/Makefile.in (headers): Renamed to all.
* linux/alpha/Makefile.in: Add empty install target.
* linux/x86_64/Makefile.in: Likewise.
* linux/powerpc/Makefile.in: Likewise.
* linux/Makefile.in: Likewise.

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

* linux/Makefile.am: New file.
* linux/Makefile.in: File removed.
* freebsd/Makefile.am: New file.
* freebsd/i386/Makefile.am: New file.
* freebsd/i386/Makefile.in: File removed.

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

* linux/alpha/Makefile.in: File removed.
* linux/hppa/Makefile.in: File removed.
* linux/ia64/Makefile.in: File removed.
* linux/powerpc/Makefile.in: File removed.
* linux/s390/Makefile.in: File removed.
* linux/s390x/Makefile.in: File removed.
2002-12-22  Roland McGrath  <roland@redhat.com>

* linux/Makefile.in (ioctldefs.h ioctls.h): Use $(SHELL) instead of
sh, and use $(srcdir) to find the script.
* linux/powerpc/Makefile.in (ioctlent.raw): Find ioctlent.sh in ../.
(ioctlsort.o): Use ../ioctlsort.c, not ../../ioctlsort.c.
* linux/x86_64/Makefile.in (headers): Renamed to all.
* linux/alpha/Makefile.in: Add empty install target.
* linux/x86_64/Makefile.in: Likewise.
* linux/powerpc/Makefile.in: Likewise.
* linux/Makefile.in: Likewise.

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

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

* defs.h [LINUX && MIPS] (MAX_QUALS): Set to 5000, not 4999.
From Daniel Jacobowitz <drow@false.org>.

21 years agomention WNOHANG bug fix
Roland McGrath [Sun, 22 Dec 2002 03:36:03 +0000 (03:36 +0000)]
mention WNOHANG bug fix

21 years ago2.5 updates
Roland McGrath [Sun, 22 Dec 2002 03:34:55 +0000 (03:34 +0000)]
2.5 updates

21 years ago2002-12-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 22 Dec 2002 03:34:39 +0000 (03:34 +0000)]
2002-12-21  Roland McGrath  <roland@redhat.com>

* linux/syscall.h [I386 || IA64] (SYS_socket_subcall): Bump to 300 for
safety, since up to 260 are already used in 2.5 kernels.
* linux/syscallent.h: Update the table.
* linux/ia64/syscallent.h: Likewise.

21 years ago2002-12-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 22 Dec 2002 03:34:36 +0000 (03:34 +0000)]
2002-12-21  Roland McGrath  <roland@redhat.com>

* linux/syscallent.h: Add some new 2.5 syscall names.
Now clone takes 5 args.
* process.c [LINUX] (clone_flags): Update with 2.5 flag bits.
[LINUX] (sys_clone): Print new args.
* mem.c (print_ldt_entry): Make global.

21 years ago2002-12-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 22 Dec 2002 03:34:34 +0000 (03:34 +0000)]
2002-12-21  Roland McGrath  <roland@redhat.com>

* linux/syscallent.h: Add some new 2.5 syscall names.
Now clone takes 5 args.
* process.c [LINUX] (clone_flags): Update with 2.5 flag bits.
[LINUX] (sys_clone): Print new args.
* mem.c (print_ldt_entry): Make global.
* linux/syscall.h [I386 || IA64] (SYS_socket_subcall): Bump to 300 for
safety, since up to 260 are already used in 2.5 kernels.
* linux/syscallent.h: Update the table.
* linux/ia64/syscallent.h: Likewise.

21 years agoWNOHANG fix
Roland McGrath [Sat, 21 Dec 2002 23:25:26 +0000 (23:25 +0000)]
WNOHANG fix

21 years ago2002-12-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 21 Dec 2002 23:25:18 +0000 (23:25 +0000)]
2002-12-21  Roland McGrath  <roland@redhat.com>

* syscall.c (force_result): New function.
* process.c (internal_wait): Handle ECHILD exit from wait call with
WNOHANG flag set; force the return value to 0 in the inferior when it
has live children we are tracing.

21 years agoupdate
Roland McGrath [Wed, 18 Dec 2002 04:36:59 +0000 (04:36 +0000)]
update

21 years ago2002-12-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 18 Dec 2002 04:36:53 +0000 (04:36 +0000)]
2002-12-17  Roland McGrath  <roland@redhat.com>

* linux/ia64/syscallent.h: Remove placeholders 275-298 to catch up
with linux/syscallent.h additions.

21 years agoupdate
Roland McGrath [Wed, 18 Dec 2002 04:16:31 +0000 (04:16 +0000)]
update

21 years ago2002-12-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 18 Dec 2002 04:16:10 +0000 (04:16 +0000)]
2002-12-17  Roland McGrath  <roland@redhat.com>

* strace.c (tcbtab): Make this a pointer to pointers, not an array.
(tcbtabsize): New variable.
(main): Initialize them using dynamic allocation.
(alloctcb, main): Use tcbtabsize in place of MAX_PROCS; indirect.
(pid2tcb, cleanup): Likewise.
[USE_PROCFS] (pollv): Make this a pointer, not an array; make static.
(rebuild_pollv): Dynamically allocate the vector.
* defs.h (tcbtab): Update decls.
(MAX_PROCS): Macro removed, no more static limit on this.
* process.c (fork_tcb): New function.
(internal_clone, internal_fork): Use it instead of checking nprocs.

21 years agoupdate
Roland McGrath [Tue, 17 Dec 2002 10:48:09 +0000 (10:48 +0000)]
update

21 years ago2002-12-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 17 Dec 2002 10:48:05 +0000 (10:48 +0000)]
2002-12-17  Roland McGrath  <roland@redhat.com>

* strace.c (detach) [LINUX]: Use __WALL (or a second try with __WCLONE)
in wait after sending SIGSTOP.

21 years agoupdate
Roland McGrath [Tue, 17 Dec 2002 05:10:47 +0000 (05:10 +0000)]
update

21 years ago2002-12-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 17 Dec 2002 05:10:37 +0000 (05:10 +0000)]
2002-12-16  Roland McGrath  <roland@redhat.com>

* signal.c (sprintsigmask): Increase static buffer size to account for
worst possible case.  Reported by Daniel Jacobowitz <drow@false.org>.

21 years agoupdate
Roland McGrath [Tue, 17 Dec 2002 04:51:02 +0000 (04:51 +0000)]
update

21 years ago2002-12-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 17 Dec 2002 04:50:47 +0000 (04:50 +0000)]
2002-12-16  Roland McGrath  <roland@redhat.com>

* strace.c (trace) [LINUX]: Only check errno if wait4 actually fails,
so we don't repeat a wait and thus drop a status.  Fixes RH#62591.

21 years ago2002-12-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 17 Dec 2002 04:50:44 +0000 (04:50 +0000)]
2002-12-16  Roland McGrath  <roland@redhat.com>

* process.c [LINUX] (wait4_options): Fix __WCLONE value.  Add
__WNOTHREAD and __WALL.

21 years agoFix botched commit.
Roland McGrath [Mon, 16 Dec 2002 20:42:50 +0000 (20:42 +0000)]
Fix botched commit.