Roland McGrath
34e014ac75
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.
2002-12-16 20:40:59 +00:00
Roland McGrath
1e85cf9cb1
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>.
2002-12-16 20:40:54 +00:00
Roland McGrath
3bb9c3d358
2002-12-15 Roland McGrath <roland@redhat.com>
...
* process.c (setarg) [POWERPC]: Support it.
2002-12-16 20:40:48 +00:00
Roland McGrath
553a609807
2002-12-15 Roland McGrath <roland@redhat.com>
...
* strace.c (main) [! USE_PROCFS]: Always reset SIGCHLD to SIG_DFL.
2002-12-16 20:40:39 +00:00
Roland McGrath
2fe7722661
stat64 configure check fixed
2002-12-16 09:54:16 +00:00
Roland McGrath
e7bc4be67e
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'.
2002-12-16 09:53:38 +00:00
Roland McGrath
36d87c2ffa
Merged various Red Hat fixes
2002-12-15 23:59:13 +00:00
Roland McGrath
5c5aefdf3f
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.
2002-12-15 23:58:43 +00:00
Roland McGrath
2638cb4356
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.
2002-12-15 23:58:41 +00:00
Roland McGrath
5b70e7c03c
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.
2002-12-15 23:58:35 +00:00
Roland McGrath
c2aa4306a2
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.
2002-12-15 23:58:33 +00:00
Roland McGrath
761b5d790f
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.
2002-12-15 23:58:31 +00:00
Roland McGrath
59a9779ae5
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.
2002-12-15 23:58:28 +00:00
Roland McGrath
5a223477e3
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.
2002-12-15 23:58:26 +00:00
Roland McGrath
186c5acdb9
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.
2002-12-15 23:58:23 +00:00
Roland McGrath
67ecd63d02
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.
2002-12-15 23:58:21 +00:00
Roland McGrath
2c71e0da7e
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.
2002-12-15 23:58:19 +00:00
Roland McGrath
e948faf94e
2002-12-15 Roland McGrath <roland@redhat.com>
...
* desc.c (sys_osf_select): Add missing return type.
2002-12-15 23:58:18 +00:00
Roland McGrath
34e4a6984c
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.
2002-12-15 23:58:17 +00:00
Michal Ludvig
882eda809c
2002-11-09 Heiko Carstens <heiko.carstens@de.ibm.com>
...
Bugfix for s390/s390x:
* syscall.c: Fixed scno derivation for s390/s390x.
2002-11-11 12:50:47 +00:00
Michal Ludvig
39c0e94935
Merged patch fixing MIPS build.
2002-11-06 14:00:12 +00:00
Michal Ludvig
81a3a9ad54
Committed NEWS.
2002-11-06 13:19:15 +00:00
Michal Ludvig
17f8fb3484
Added switch for printing only succeeding syscalls.
2002-11-06 13:17:21 +00:00
Michal Ludvig
eb818f0af6
Added missing ChangeLog by Heiko Carstens.
2002-10-09 09:16:22 +00:00
Michal Ludvig
4995fb9398
2nd part of s390/s390x port
2002-10-07 14:37:50 +00:00
Michal Ludvig
10a88d09eb
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.
2002-10-07 14:31:00 +00:00
Michal Ludvig
c57fb8e410
Ignore autom4te.cache (from autoconf)
2002-09-23 15:52:51 +00:00
Michal Ludvig
0e035502d2
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.
2002-09-23 15:41:01 +00:00
Michal Ludvig
53b320f61f
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.
2002-09-23 13:30:09 +00:00
John Hughes
2c4e3a8061
fix unsigned arithmetic bug in previous change
2002-05-24 10:19:44 +00:00
John Hughes
38ae88d332
Improve tracing of timod ioctls
2002-05-23 11:48:58 +00:00
John Hughes
cde80abad5
Make autoheader happy about Linux/SuperH
2002-05-23 11:19:05 +00:00
John Hughes
b664308560
Fix warning if not using POLL_HACK
2002-05-23 11:02:22 +00:00
John Hughes
93f7fccaa6
improve {set,get}sockopt
2002-05-22 15:46:49 +00:00
John Hughes
d870b3c31a
fix warning will POLL_HACK
2002-05-21 11:24:18 +00:00
John Hughes
5eb78d5f74
cope with ioctl #defines with extraneous spaces
2002-05-17 14:04:24 +00:00
John Hughes
e922478dd4
cope with #ifdef protected #defines
2002-05-17 13:58:24 +00:00
John Hughes
fd15cb31ad
tidy up decode of streams ioctls a little
2002-05-17 11:41:35 +00:00
John Hughes
c61eb3dce2
handle svr4 procpriv call
2002-05-17 11:37:50 +00:00
Wichert Akkerman
ccef63782c
Merge patch from Greg Banks for Linux/SuperH support
2002-05-01 16:39:22 +00:00
Wichert Akkerman
822f0c9a84
Fix closing of outputfiles in droptcb()
2002-04-03 10:55:14 +00:00
Wichert Akkerman
eb8ebdad12
close tcp->outf in droptcb()
2002-04-01 17:48:02 +00:00
Wichert Akkerman
b0c598ff8d
decode packet options
2002-04-01 12:48:06 +00:00
Wichert Akkerman
b292d27f6f
Update for cvsbuild rename
2002-03-31 20:45:07 +00:00
Wichert Akkerman
ed2c74d3cc
Regenrated Linus ioctlent.h files
2002-03-31 20:16:02 +00:00
Wichert Akkerman
87210eadb4
Regenerated
2002-03-31 20:11:37 +00:00
Wichert Akkerman
ec85fa103c
Update hppa syscalls
2002-03-31 19:24:10 +00:00
Wichert Akkerman
235b0ff516
Rename cvsbuild to autogen.sh
2002-03-31 19:08:04 +00:00
Wichert Akkerman
4527dae3b8
check for negative u_errors
2002-03-31 19:03:29 +00:00
Wichert Akkerman
7ab47b63e3
Fix signed/unsigned problems
2002-03-31 19:00:02 +00:00