791 Commits

Author SHA1 Message Date
Roland McGrath
bda969a877 2005-02-01 Roland McGrath <roland@redhat.com>
* config.guess: Update from canonical version, timestamp 2004-11-12.
	* config.sub: Likewise, timestamp 2004-11-30.
2005-02-02 04:19:06 +00:00
Roland McGrath
174ddda74c 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/syscallent.h: Use sys_mincore instead of printargs.
	* linux/x86_64/syscallent.h: Likewise.  Also use sys_getrlimit,
	sys_semtimedop, sys_umount2.
	Part of RH#142667.
2005-02-02 04:17:00 +00:00
Roland McGrath
392a671e92 2005-02-01 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
	* linux/syscall.h: Declare it.
	* linux/x86_64/syscallent.h: Use it.
	Part of RH#142667.
	* linux/syscallent.h: Use sys_mincore instead of printargs.
	* linux/x86_64/syscallent.h: Likewise.  Also use sys_getrlimit,
	sys_semtimedop, sys_umount2.
	Part of RH#142667.
2005-02-02 04:16:58 +00:00
Roland McGrath
b2ba50bb2e . 2005-02-02 04:16:58 +00:00
Roland McGrath
c2d5eb082d 2005-02-01 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
	* linux/syscall.h: Declare it.
	* linux/x86_64/syscallent.h: Use it.
	Part of RH#142667.
	* process.c (sys_sched_setscheduler): Use %#lx format for bad pointer.
	(sys_sched_getparam, sys_sched_setparam): Likewise.
	Part of RH#142667.
2005-02-02 04:16:56 +00:00
Roland McGrath
063ae2dd43 2005-02-01 Roland McGrath <roland@redhat.com>
* signal.c [HAVE_SIGACTION] [LINUX && X86_64] (SA_RESTORER): Define
	here too.
	Part of RH#142667.
2005-02-02 04:16:54 +00:00
Roland McGrath
1f1c54aea7 2005-02-01 Roland McGrath <roland@redhat.com>
* process.c [LINUX] [X86_64] (sys_arch_prctl): New function.
	* linux/syscall.h: Declare it.
	* linux/x86_64/syscallent.h: Use it.
	Part of RH#142667.
2005-02-02 04:16:52 +00:00
Roland McGrath
28eace82fd . 2005-02-02 03:51:22 +00:00
Roland McGrath
76421df9b2 2005-02-01 Roland McGrath <roland@redhat.com>
* syscall.c (qual_signal): Fix inverted return value and bogus
	argument to qualify_one in the named case.
2005-02-02 03:51:18 +00:00
Roland McGrath
f01185e5d4 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/syscall.h [IA64] (SYS_semtimedop): #undef it.
2005-02-02 03:42:51 +00:00
Roland McGrath
5f221c3659 . 2005-02-02 03:38:49 +00:00
Roland McGrath
883567c1cc 2005-02-01 Roland McGrath <roland@redhat.com>
* file.c (print_xattr_val): Don't use auto array sized by syscall
	argument.  Use malloc instead, so it can fail for insane values.
	Fixes Debian bug #283704.
2005-02-02 03:38:32 +00:00
Roland McGrath
5396233748 . 2005-02-02 03:11:43 +00:00
Roland McGrath
96ad7b8f52 2005-02-01 Roland McGrath <roland@redhat.com>
* net.c (sys_getsockopt): Fix a format %ld -> %d.
2005-02-02 03:11:32 +00:00
Roland McGrath
bc484bd394 . 2005-02-02 03:07:24 +00:00
Roland McGrath
5a9c6ade89 2005-02-01 Roland McGrath <roland@redhat.com>
* syscall.c (syscall_enter) [X86_64]: Fix 32-bit argument register map
	not to double the middle entry!
2005-02-02 03:06:52 +00:00
Roland McGrath
6722dcf609 . 2005-02-02 02:54:35 +00:00
Roland McGrath
874ffc65c8 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: Fix exit_group entry.
2005-02-02 02:54:33 +00:00
Roland McGrath
1b3ca10e35 . 2005-02-02 02:49:03 +00:00
Roland McGrath
9f6a861109 2005-02-01 Roland McGrath <roland@redhat.com>
* linux/ia64/syscallent.h: Add fadvise64, fstatfs64, statfs64, mbind,
	[gs]et_mempolicy, mq_*, sys_kexec_load, vserver, and waitid.
	Fixes RH#146245.
2005-02-02 02:49:02 +00:00
Roland McGrath
fc544dbb6c 2005-01-22 Andreas Schwab <schwab@suse.de>
* net.c (sys_getsockopt): Change type of len to int.
2005-02-02 02:48:57 +00:00
Roland McGrath
eac26fc53e 2005-02-01 Roland McGrath <roland@redhat.com>
* util.c (getpc) [S390 || S390X]: Implement it.
	Patch by David Wilder <wilder@us.ibm.com>.
2005-02-02 02:48:53 +00:00
Roland McGrath
be4eeb95f5 . 2004-10-20 02:24:28 +00:00
Roland McGrath
e27ed3426d 2004-10-19 Roland McGrath <roland@redhat.com>
* file.c (sys_fadvise64): Conditionalize just on [LINUX].
2004-10-20 02:24:19 +00:00
Roland McGrath
b0756891d2 . 2004-10-20 02:17:58 +00:00
Roland McGrath
f041d47866 2004-10-19 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.8.
	* debian/changelog, strace.spec: 4.5.8-1.
2004-10-20 02:17:52 +00:00
Roland McGrath
6e52d23cc6 2004-10-19 Roland McGrath <roland@redhat.com>
* configure.ac: Check for sys/epoll.h.
	* desc.c: Protect #include <sys/epoll.h> with [HAVE_SYS_EPOLL_H].
	(epollctls, epollevents): Protect each entry with #ifdef on its macro.
2004-10-20 02:17:41 +00:00
Roland McGrath
63d6e54c8b 2004-10-19 Roland McGrath <roland@redhat.com>
* configure.ac: Check for sys/epoll.h.
	* desc.c: Protect #include <sys/epoll.h> with [HAVE_SYS_EPOLL_H].
	(epollctls, epollevents): Protect each entry with #ifdef on its macro.
2004-10-20 02:17:41 +00:00
Roland McGrath
e26a37832e . 2004-10-20 02:04:19 +00:00
Roland McGrath
00dc13fbe7 2004-10-19 Roland McGrath <roland@redhat.com>
* strace.c (handle_group_exit): Don't detach leader that wasn't
	TCB_ATTACHED.  Instead mark it with TCB_GROUP_EXITING.
	Remove droptcb loop at end, no longer required since 2.6 reports each
	thread death.
	Fixes RH#135254.
2004-10-20 02:04:15 +00:00
Roland McGrath
712bc7a97b . 2004-10-20 01:00:45 +00:00
Roland McGrath
0569095472 2004-10-19 Roland McGrath <roland@redhat.com>
* strace.c (trace): Use handle_group_exit for non-TCB_ATTACHED child
	taking signal when it has nclone_threads > 0.
	* strace.c (handle_group_exit): Don't detach leader that wasn't
	TCB_ATTACHED.
	* strace.c (handle_group_exit, trace): Mark leader with
	TCB_GROUP_EXITING and don't be surprised at child deaths when their
	leader has it set.
	Fixes RH#132150.
2004-10-20 01:00:27 +00:00
Roland McGrath
223a3ff9a8 . 2004-10-19 23:33:53 +00:00
Roland McGrath
8988d1e16c 2004-10-19 Roland McGrath <roland@redhat.com>
* sock.c [! LINUX]: Include <sys/socket.h> before <sys/sockio.h>.
	Reported by Marty Leisner <mleisner@eng.mc.xerox.com>.
2004-10-19 23:33:50 +00:00
Roland McGrath
5e02a5793d 2004-10-19 Roland McGrath <roland@redhat.com>
* process.c (WCOREFLAG): Define if not defined.
	(W_STOPCODE, W_EXITCODE): Likewise.
	Reported by Marty Leisner <mleisner@eng.mc.xerox.com>.
2004-10-19 23:33:47 +00:00
Roland McGrath
c5fa4ac3f0 2004-10-19 Roland McGrath <roland@redhat.com>
* debian/rules: Make strace64.1.gz symlink to strace.1.gz instead of
	strace64.1 to strace.1, which doesn't exist.
	Fixes Debian bug #269220.
2004-10-19 23:29:47 +00:00
Roland McGrath
9597e6dc2c 2004-09-05 Phil Blundell <pb@nexus.co.uk>
* linux/arm/syscallent.h: New file.
2004-10-19 23:29:27 +00:00
Roland McGrath
391d5a1183 2004-09-14 Richard Henderson <rth@twiddle.net>
* linux/alpha/syscallent.h: Add tgkill, *stat64, vserver, mbind,
	[gs]et_mempolicy, mq_*, waitid.
2004-10-19 23:23:59 +00:00
Roland McGrath
205ad8be0a 2004-10-19 Roland McGrath <roland@redhat.com>
* linux/hppa/syscallent.h: Update for 2.6.9 syscalls.
	From Randolph Chung <tausq@debian.org>
	Fixes Debian bug #273887.
2004-10-19 23:23:36 +00:00
Roland McGrath
38d88e6494 2004-10-19 Roland McGrath <roland@redhat.com>
* debian/rules (DEB_BUILD_GNU_TYPE, CONFIG_OPTS): New variables.
	[$(DEB_HOST_GNU_TYPE) == s390-linux] (build64, HOST64, CC64): Set them.
	(build/Makefile): Use $(CONFIG_OPTS).
	(build64/Makefile): Pass --host as well as --build.
	From Steve Langasek <vorlon@debian.org>.
	Fixes Debian bug #271500.
2004-10-19 23:23:34 +00:00
Roland McGrath
914f3aa017 . 2004-10-19 23:00:14 +00:00
Roland McGrath
8c304bcc00 2004-10-19 Roland McGrath <roland@redhat.com>
* file.c (sys_llseek): Revert last change.
2004-10-19 22:59:55 +00:00
Roland McGrath
0aa53f65fc . 2004-10-07 19:09:23 +00:00
Roland McGrath
2fe2a3e124 2004-10-07 Roland McGrath <roland@redhat.com>
* file.c (sys_llssek, sys_readahead, sys_fadvise64, sys_fadvise64_64):
	Use LONG_LONG macro.
	* io.c (sys_pread, sys_pwrite, sys_sendfile): Likewise.
2004-10-07 19:09:16 +00:00
Roland McGrath
61b324bc39 . 2004-10-07 18:59:13 +00:00
Roland McGrath
63b2d857f5 2004-10-07 Roland McGrath <roland@redhat.com>
* linux/x86_64/syscallent.h: Fix botched table entries.
	From Ulrich Drepper <drepper@redhat.com>.
2004-10-07 18:58:45 +00:00
Roland McGrath
aa08d71282 . 2004-10-07 18:53:17 +00:00
Roland McGrath
b10a33590d 2004-10-07 Roland McGrath <roland@redhat.com>
* mem.c [LINUX] (sys_mbind, sys_set_mempolicy, sys_get_mempolicy):
	New functions.
	* linux/syscall.h: Declare them.
	* linux/x86_64/syscallent.h: Likewise.
	* linux/syscallent.h: Handle mbind, set_mempolicy, get_mempolicy.
	From Ulrich Drepper <drepper@redhat.com>.
2004-10-07 18:53:12 +00:00
Roland McGrath
51f9ac0da6 . 2004-10-07 18:51:22 +00:00
Roland McGrath
df13e8f4ca 2004-10-07 Roland McGrath <roland@redhat.com>
* file.c [LINUX && (I386 || X86_64)] (sys_fadvise64, sys_fadvise64_64):
	New functions.
	* linux/syscall.h: Declare them.
	* linux/syscallent.h: Handle fadvise64 and fadvise64_64 using those.
	From Ulrich Drepper <drepper@redhat.com>.
2004-10-07 18:51:19 +00:00