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

21 years agosee ChangeLog for details
Roland McGrath [Mon, 16 Dec 2002 20:41:34 +0000 (20:41 +0000)]
see ChangeLog for details

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Dec 2002 20:40:59 +0000 (20:40 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* configure.in: Don't check for putpmsg.
* stream.c (sys_getpmsg, sys_putpmsg): Make these conditional on
#ifdef SYS_*, rather than on HAVE_PUTPMSG.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Dec 2002 20:40:54 +0000 (20:40 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* util.c [POWERPC] (LOOP): Fix value, now 0x48000000 (0: b 0b).
Old value was bogus, not even a proper instruction.
From Guy M. Streeter <streeter@redhat.com>.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Dec 2002 20:40:48 +0000 (20:40 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* process.c (setarg) [POWERPC]: Support it.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Dec 2002 20:40:39 +0000 (20:40 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* strace.c (main) [! USE_PROCFS]: Always reset SIGCHLD to SIG_DFL.

21 years agostat64 configure check fixed
Roland McGrath [Mon, 16 Dec 2002 09:54:16 +0000 (09:54 +0000)]
stat64 configure check fixed

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Dec 2002 09:53:38 +0000 (09:53 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* aclocal.m4 (AC_STAT64): Include <linux/types.h> before <asm/stat.h>
in test.  Test our own #ifdef LINUX rather than predefined `linux'.

21 years agoMerged various Red Hat fixes
Roland McGrath [Sun, 15 Dec 2002 23:59:13 +0000 (23:59 +0000)]
Merged various Red Hat fixes

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:43 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* linux/powerpc/syscallent.h: Use sys_llseek for _llseek.
* linux/sparc/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/syscallent.h: Update table with names of new syscalls
io_setup, io_destroy, io_getvents, io_submit, io_cancel.
* linux/ia64/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:41 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* signal.c [LINUX && I386]: Provide SA_RESTORER constant if not
defined.  If the bit is set, print the sa_restorer field of sigaction.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:35 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* linux/syscallent.h: Update table with names of new syscalls
io_setup, io_destroy, io_getvents, io_submit, io_cancel.
* linux/ia64/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* mem.c: Add sys_{get,set}_thread_area.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update the table for these.
* linux/dummy.h (sys_modify_ldt): Define only #ifndef I386.
(sys_get_thread_area, sys_set_thread_area): New macros #ifndef I386.
* configure.in: Check for linux/xattr.h and linux/futex.h headers.
* linux/syscall.h: Add sys_* decls for new syscalls getpmsg, putpmsg,
readahead, sendfile64, setxattr, fsetxattr, getxattr, fgetxattr, int
listxattr, flistxattr, removexattr, fremovexattr, sched_setaffinity,
sched_getaffinity, futex.
* linux/syscallent.h: Update the table.
* io.c: Add sys_sendfile64.
* file.c: Add sys_readahead, sys_*xattr.
* process.c: Add sys_futex, sys_*affinity.
* linux/syscall.h (SYS_socket_subcall): Define to 256 on all machines.
(SYS_ipc_subcall): Always SYS_socket_subcall + SYS_socket_nsubcalls.
* linux/syscallent.h: Update the table for socket and ipc subcalls.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:33 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* linux/ia64/syscallent.h: Remove macros for sys_delete_module,
sys_nanosleep, both already in linux/dummy.h.
* linux/syscallent.h: Update table with names of new syscalls
io_setup, io_destroy, io_getvents, io_submit, io_cancel.
* linux/ia64/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:31 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* syscall.c (syscall_enter) [LINUX && POWERPC]: Define PT_ORIG_R3 if
not defined, since <asm/ptrace.h> defines it only #ifdef __KERNEL__.
* process.c: Likewise.
* syscall.c (trace_syscall): Use strerror, not sys_errlist/sys_nerr.
* syscall.c (get_scno): Move static `currpers' inside #ifdef X86_64.
(trace_syscall): Fix return without value.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:28 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* linux/powerpc/syscallent.h: Use sys_llseek for _llseek.
* linux/sparc/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:26 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* syscall.c (syscall_enter) [LINUX && POWERPC]: Define PT_ORIG_R3 if
not defined, since <asm/ptrace.h> defines it only #ifdef __KERNEL__.
* process.c: Likewise.
* configure.in: Check for linux/xattr.h and linux/futex.h headers.
* linux/syscall.h: Add sys_* decls for new syscalls getpmsg, putpmsg,
readahead, sendfile64, setxattr, fsetxattr, getxattr, fgetxattr, int
listxattr, flistxattr, removexattr, fremovexattr, sched_setaffinity,
sched_getaffinity, futex.
* linux/syscallent.h: Update the table.
* io.c: Add sys_sendfile64.
* file.c: Add sys_readahead, sys_*xattr.
* process.c: Add sys_futex, sys_*affinity.

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

* configure.in: Check for linux/xattr.h and linux/futex.h headers.
* linux/syscall.h: Add sys_* decls for new syscalls getpmsg, putpmsg,
readahead, sendfile64, setxattr, fsetxattr, getxattr, fgetxattr, int
listxattr, flistxattr, removexattr, fremovexattr, sched_setaffinity,
sched_getaffinity, futex.
* linux/syscallent.h: Update the table.
* io.c: Add sys_sendfile64.
* file.c: Add sys_readahead, sys_*xattr.
* process.c: Add sys_futex, sys_*affinity.

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

* linux/ia64/syscallent.h: Remove macros for sys_delete_module,
sys_nanosleep, both already in linux/dummy.h.
* mem.c: Add sys_{get,set}_thread_area.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update the table for these.
* linux/dummy.h (sys_modify_ldt): Define only #ifndef I386.
(sys_get_thread_area, sys_set_thread_area): New macros #ifndef I386.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:19 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* mem.c: Add sys_{get,set}_thread_area.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update the table for these.
* linux/dummy.h (sys_modify_ldt): Define only #ifndef I386.
(sys_get_thread_area, sys_set_thread_area): New macros #ifndef I386.
* configure.in: Check for linux/xattr.h and linux/futex.h headers.
* linux/syscall.h: Add sys_* decls for new syscalls getpmsg, putpmsg,
readahead, sendfile64, setxattr, fsetxattr, getxattr, fgetxattr, int
listxattr, flistxattr, removexattr, fremovexattr, sched_setaffinity,
sched_getaffinity, futex.
* linux/syscallent.h: Update the table.
* io.c: Add sys_sendfile64.
* file.c: Add sys_readahead, sys_*xattr.
* process.c: Add sys_futex, sys_*affinity.
* linux/syscall.h (SYS_socket_subcall): Define to 256 on all machines.
(SYS_ipc_subcall): Always SYS_socket_subcall + SYS_socket_nsubcalls.
* linux/syscallent.h: Update the table for socket and ipc subcalls.

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

* desc.c (sys_osf_select): Add missing return type.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:58:17 +0000 (23:58 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* mem.c: Add sys_{get,set}_thread_area.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Update the table for these.
* linux/dummy.h (sys_modify_ldt): Define only #ifndef I386.
(sys_get_thread_area, sys_set_thread_area): New macros #ifndef I386.

21 years ago2002-11-09 Heiko Carstens <heiko.carstens@de.ibm.com>
Michal Ludvig [Mon, 11 Nov 2002 12:50:47 +0000 (12:50 +0000)]
2002-11-09  Heiko Carstens <heiko.carstens@de.ibm.com>

        Bugfix for s390/s390x:
        * syscall.c: Fixed scno derivation for s390/s390x.

21 years agoMerged patch fixing MIPS build.
Michal Ludvig [Wed, 6 Nov 2002 14:00:12 +0000 (14:00 +0000)]
Merged patch fixing MIPS build.

21 years agoCommitted NEWS.
Michal Ludvig [Wed, 6 Nov 2002 13:19:15 +0000 (13:19 +0000)]
Committed NEWS.

21 years agoAdded switch for printing only succeeding syscalls.
Michal Ludvig [Wed, 6 Nov 2002 13:17:21 +0000 (13:17 +0000)]
Added switch for printing only succeeding syscalls.

21 years agoAdded missing ChangeLog by Heiko Carstens.
Michal Ludvig [Wed, 9 Oct 2002 09:16:22 +0000 (09:16 +0000)]
Added missing ChangeLog by Heiko Carstens.

21 years ago2nd part of s390/s390x port
Michal Ludvig [Mon, 7 Oct 2002 14:37:50 +0000 (14:37 +0000)]
2nd part of s390/s390x port

21 years ago2002-10-07 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Mon, 7 Oct 2002 14:31:00 +0000 (14:31 +0000)]
2002-10-07  Michal Ludvig  <mludvig@suse.cz>

        Merged s390x port by Heiko Carstens <Heiko.Carstens@de.ibm.com>
        and bugfixes to s390 by D.J. Barrow.

21 years agoIgnore autom4te.cache (from autoconf)
Michal Ludvig [Mon, 23 Sep 2002 15:52:51 +0000 (15:52 +0000)]
Ignore autom4te.cache (from autoconf)

21 years ago2002-09-23 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Mon, 23 Sep 2002 15:41:01 +0000 (15:41 +0000)]
2002-09-23  Michal Ludvig  <mludvig@suse.cz>
Merged x86-64 port by Andi Kleen <ak@suse.de>
and Michal Ludvig <mludvig@suse.cz>
* Makefile.in: New target 'headers'. Failure ignored.
* acconfig.h: New defines for x86-64.
* configure.in: Ditto.
* defs.h: Ditto.
* file.c: Ditto.
* signal.c: Ditto.
* process.c: Added support for x86-64.
* util.c: Ditto.
* syscall.c: Ditto + added automatic personality switching.
* linux/syscall.h: Ditto.
* linux/x86_64: New directory.
* linux/x86_64/Makefile.in: New file.
* linux/x86_64/gentab.pl: Ditto.
* linux/x86_64/i386-headers.diff: Ditto.
* linux/x86_64/makeheaders.sh: Ditto.
* linux/x86_64/syscallent.h: Ditto.
* mem.c (print_mmap): Always print arg[4] as int.

21 years ago2002-09-23 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Mon, 23 Sep 2002 13:30:09 +0000 (13:30 +0000)]
2002-09-23  Michal Ludvig  <mludvig@suse.cz>
* configure.in: Fix regular expressions.
* linux/syscall.h: Added missing braces in prototype of
sys_getdents64().
* file.c: Use '#ifdef LINUX' instead of '#ifdef linux'.
(struct fileflags): Made extern to inhibit compiation warnings.
(sys_getdents64): Merged LINUX and SVR4 part.
* syscall.c(get_scno): Split multiline string into two distinct
strings.

22 years agofix unsigned arithmetic bug in previous change
John Hughes [Fri, 24 May 2002 10:19:44 +0000 (10:19 +0000)]
fix unsigned arithmetic bug in previous change

22 years agoImprove tracing of timod ioctls
John Hughes [Thu, 23 May 2002 11:48:58 +0000 (11:48 +0000)]
Improve tracing of timod ioctls

22 years agoMake autoheader happy about Linux/SuperH
John Hughes [Thu, 23 May 2002 11:19:05 +0000 (11:19 +0000)]
Make autoheader happy about Linux/SuperH

22 years agoFix warning if not using POLL_HACK
John Hughes [Thu, 23 May 2002 11:02:22 +0000 (11:02 +0000)]
Fix warning if not using POLL_HACK

22 years agoimprove {set,get}sockopt
John Hughes [Wed, 22 May 2002 15:46:49 +0000 (15:46 +0000)]
improve {set,get}sockopt

22 years agofix warning will POLL_HACK
John Hughes [Tue, 21 May 2002 11:24:18 +0000 (11:24 +0000)]
fix warning will POLL_HACK

22 years agocope with ioctl #defines with extraneous spaces
John Hughes [Fri, 17 May 2002 14:04:24 +0000 (14:04 +0000)]
cope with ioctl #defines with extraneous spaces

22 years agocope with #ifdef protected #defines
John Hughes [Fri, 17 May 2002 13:58:24 +0000 (13:58 +0000)]
cope with #ifdef protected #defines

22 years agotidy up decode of streams ioctls a little
John Hughes [Fri, 17 May 2002 11:41:35 +0000 (11:41 +0000)]
tidy up decode of streams ioctls a little

22 years agohandle svr4 procpriv call
John Hughes [Fri, 17 May 2002 11:37:50 +0000 (11:37 +0000)]
handle svr4 procpriv call

22 years agoMerge patch from Greg Banks for Linux/SuperH support
Wichert Akkerman [Wed, 1 May 2002 16:39:22 +0000 (16:39 +0000)]
Merge patch from Greg Banks for Linux/SuperH support

22 years agoFix closing of outputfiles in droptcb()
Wichert Akkerman [Wed, 3 Apr 2002 10:55:14 +0000 (10:55 +0000)]
Fix closing of outputfiles in droptcb()

22 years agoclose tcp->outf in droptcb()
Wichert Akkerman [Mon, 1 Apr 2002 17:48:02 +0000 (17:48 +0000)]
close tcp->outf in droptcb()

22 years agodecode packet options
Wichert Akkerman [Mon, 1 Apr 2002 12:48:06 +0000 (12:48 +0000)]
decode packet options

22 years agoUpdate for cvsbuild rename
Wichert Akkerman [Sun, 31 Mar 2002 20:45:07 +0000 (20:45 +0000)]
Update for cvsbuild rename

22 years agoRegenrated Linus ioctlent.h files
Wichert Akkerman [Sun, 31 Mar 2002 20:16:02 +0000 (20:16 +0000)]
Regenrated Linus ioctlent.h files

22 years agoRegenerated
Wichert Akkerman [Sun, 31 Mar 2002 20:11:37 +0000 (20:11 +0000)]
Regenerated

22 years agoUpdate hppa syscalls
Wichert Akkerman [Sun, 31 Mar 2002 19:24:10 +0000 (19:24 +0000)]
Update hppa syscalls

22 years agoRename cvsbuild to autogen.sh
Wichert Akkerman [Sun, 31 Mar 2002 19:08:04 +0000 (19:08 +0000)]
Rename cvsbuild to autogen.sh

22 years agocheck for negative u_errors
Wichert Akkerman [Sun, 31 Mar 2002 19:03:29 +0000 (19:03 +0000)]
check for negative u_errors

22 years agoFix signed/unsigned problems
Wichert Akkerman [Sun, 31 Mar 2002 19:00:02 +0000 (19:00 +0000)]
Fix signed/unsigned problems

22 years agoFix typo, add (unimplemented in kernel) stream syscalls
Wichert Akkerman [Sun, 31 Mar 2002 18:54:14 +0000 (18:54 +0000)]
Fix typo, add (unimplemented in kernel) stream syscalls