]> granicus.if.org Git - strace/log
strace
21 years agotypos in last change
Roland McGrath [Wed, 12 Mar 2003 08:14:01 +0000 (08:14 +0000)]
typos in last change

21 years ago.
Roland McGrath [Wed, 12 Mar 2003 08:11:33 +0000 (08:11 +0000)]
.

21 years ago2003-03-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 12 Mar 2003 08:11:09 +0000 (08:11 +0000)]
2003-03-12  Roland McGrath  <roland@redhat.com>

* linux/ia64/syscallent.h: Add a bunch of 2.5 syscalls.

21 years ago.
Roland McGrath [Wed, 5 Mar 2003 06:29:11 +0000 (06:29 +0000)]
.

21 years ago2003-03-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 5 Mar 2003 06:29:06 +0000 (06:29 +0000)]
2003-03-04  Roland McGrath  <roland@redhat.com>

* syscall.c (get_scno) [IA64]: Do TCB_WAITEXECVE check only when
TCB_INSYSCALL is clear, like other platforms do.

21 years ago.
Roland McGrath [Wed, 5 Mar 2003 04:08:07 +0000 (04:08 +0000)]
.

21 years ago2003-03-04 Ulrich Drepper <drepper@redhat.com>
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.

21 years ago2003-03-04 Ulrich Drepper <drepper@redhat.com>
Roland McGrath [Wed, 5 Mar 2003 04:07:55 +0000 (04:07 +0000)]
2003-03-04  Ulrich Drepper  <drepper@redhat.com>

* process.c [LINUX] (sys_futex): Omit final if op is not FUTEX_WAIT.

21 years ago.
Roland McGrath [Wed, 26 Feb 2003 20:34:14 +0000 (20:34 +0000)]
.

21 years ago2003-02-26 Roland McGrath <roland@redhat.com>
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>.

21 years ago.
Roland McGrath [Mon, 24 Feb 2003 10:53:48 +0000 (10:53 +0000)]
.

21 years ago2003-02-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 24 Feb 2003 10:53:44 +0000 (10:53 +0000)]
2003-02-24  Roland McGrath  <roland@redhat.com>

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

21 years ago.
Roland McGrath [Mon, 24 Feb 2003 10:18:11 +0000 (10:18 +0000)]
.

21 years ago2003-02-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 24 Feb 2003 10:18:07 +0000 (10:18 +0000)]
2003-02-24  Roland McGrath  <roland@redhat.com>

* process.c (sys_getresgid): Fix typos in argument access.

21 years ago.
Roland McGrath [Mon, 24 Feb 2003 07:13:59 +0000 (07:13 +0000)]
.

21 years ago2003-02-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 24 Feb 2003 07:13:51 +0000 (07:13 +0000)]
2003-02-23  Roland McGrath  <roland@redhat.com>

* process.c (sys_getresuid): Fix typos in argument access.
Reported by Anton Blanchard <anton@samba.org>.

21 years ago.
Roland McGrath [Thu, 20 Feb 2003 03:26:58 +0000 (03:26 +0000)]
.

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

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

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

* version.c: Removed.

21 years ago.
Roland McGrath [Thu, 20 Feb 2003 02:56:50 +0000 (02:56 +0000)]
.

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

* version.c: Removed.
* Makefile.am (strace_SOURCES): Remove it.
* strace.c: Use PACKAGE_NAME and VERSION macros instead of version var.

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.