791 Commits

Author SHA1 Message Date
Roland McGrath
8d1bf3c198 . 2004-04-16 21:48:43 +00:00
Roland McGrath
0e82f523e2 2004-04-16 Roland McGrath <roland@redhat.com>
* configure.ac: Check for <mqueue.h>.
	* ipc.c (sys_mq_open, printmqattr) [! HAVE_MQUEUE_H]: Don't try to
	decode struct mq_attr.
2004-04-16 21:48:42 +00:00
Roland McGrath
4df13c169d 2004-04-16 Roland McGrath <roland@redhat.com>
* configure.ac: Check for <mqueue.h>.
	* ipc.c (sys_mq_open, printmqattr) [! HAVE_MQUEUE_H]: Don't try to
	decode struct mq_attr.
	* linux/syscall.h: Support new mq_* syscalls on Linux.
	* linux/syscallent.h: Likewise.
	* linux/dummy.h: Likewise.
	* ipc.c: Likewise.
	* time.c (printsigevent): Handle SIGEV_THREAD.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#120701.
2004-04-16 21:48:40 +00:00
Roland McGrath
085bae16db . 2004-04-14 02:54:02 +00:00
Roland McGrath
05e5e79a70 2004-04-13 Roland McGrath <roland@redhat.com>
* net.c (msg_flags): Grok MSG_FIX, MSG_SYN, MSG_RST, MSG_NOSIGNAL,
	MSG_MORE.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#120541.
2004-04-14 02:53:54 +00:00
Roland McGrath
6421d63d74 . 2004-04-14 02:46:35 +00:00
Roland McGrath
79fbda596a 2004-04-13 Roland McGrath <roland@redhat.com>
* process.c (printstatus): Mask out bits presented symbolically, and
	print "| 0xnnn" if the remaining bits are not all zero.
	Fixes Debian bug #240062.
	* process.c (print_affinitylist): Rewritten to handle indirect values.
	(sys_sched_setaffinity, sys_sched_getaffinity): Update callers.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#118685.
2004-04-14 02:45:55 +00:00
Roland McGrath
149d415fd4 2004-04-13 Roland McGrath <roland@redhat.com>
* acinclude.m4: Quote first argument to AC_DEFUN in all cases.
2004-04-14 02:45:53 +00:00
Roland McGrath
74dcbd888c . 2004-04-09 00:25:47 +00:00
Roland McGrath
62412203f8 2004-04-08 Roland McGrath <roland@redhat.com>
* strace.c (main) [LINUX]: When attaching for -p, look in
	/proc/PID/task for all threads and attach them as presumed
	CLONE_THREAD children.
	* NEWS: Mention the feature.
2004-04-09 00:25:38 +00:00
Roland McGrath
70b08530b8 2004-04-08 Roland McGrath <roland@redhat.com>
* strace.c (main) [LINUX]: When attaching for -p, look in
	/proc/PID/task for all threads and attach them as presumed
	CLONE_THREAD children.
2004-04-09 00:25:21 +00:00
Roland McGrath
6835f23b63 . 2004-03-02 08:50:47 +00:00
Roland McGrath
02cee8d5cb 2004-03-02 Roland McGrath <roland@redhat.com>
* util.c (setbpt): Fix one missed spot to use new arg0_index macro.
	From Michael Holzheu <HOLZHEU@de.ibm.com>.
2004-03-02 08:50:42 +00:00
Roland McGrath
2d1ecca2aa . 2004-03-02 08:07:20 +00:00
Roland McGrath
75a2c617a2 2004-03-02 Roland McGrath <roland@redhat.com>
* debian/control (Standards-Version): Update to 3.6.1.
2004-03-02 08:07:11 +00:00
Roland McGrath
30423407e6 . 2004-03-02 06:54:57 +00:00
Roland McGrath
d62b6711b4 2004-03-01 Roland McGrath <roland@redhat.com>
* strace.c (main): Avoid potential buffer overruns from ludicrous
	arguments or PATH values.
	* syscall.c (qual_signal): Bail out for too-long string.
2004-03-02 06:52:01 +00:00
Roland McGrath
bdb09df186 2004-03-01 Roland McGrath <roland@redhat.com>
* strace.c (main): Avoid potential buffer overruns from ludicrous
	arguments or PATH values.
2004-03-02 06:50:04 +00:00
Roland McGrath
801bf1ff33 . 2004-03-02 06:38:40 +00:00
Roland McGrath
b66e936380 2004-03-01 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.2.
	* strace.spec, debian/changelog: 4.5.1-1.
2004-03-02 06:38:35 +00:00
Roland McGrath
5586f9a982 . 2004-03-02 06:23:08 +00:00
Roland McGrath
59aea57f0f . 2004-03-02 06:17:11 +00:00
Roland McGrath
05cdd3c6a5 2004-03-01 Roland McGrath <roland@redhat.com>
* mem.c [LINUX]: <asm/mman.h> -> <linux/mman.h>
2004-03-02 06:16:59 +00:00
Roland McGrath
8f30c1d6b4 . 2004-03-02 06:09:35 +00:00
Roland McGrath
b53a8a82df 2004-03-01 Roland McGrath <roland@redhat.com>
* linux/sparc/syscall.h: Copy linux/syscall.h defns of sys_sched_*.
2004-03-02 06:08:55 +00:00
Roland McGrath
7da8ff703c . 2004-03-01 22:10:58 +00:00
Roland McGrath
a796fd0ec7 2004-03-01 Roland McGrath <roland@redhat.com>
* system.c (sysctl_vm): Conditionalize VM_* macro uses, add some more.
	From Tim Yamin <plasmaroo@gentoo.org>.
2004-03-01 22:10:54 +00:00
Roland McGrath
7decfb2298 2004-03-01 Roland McGrath <roland@redhat.com>
* configure.ac: Check for `struct user_desc' in <asm/ldt.h>.
	* process.c [HAVE_STRUCT_USER_DESC]: Use struct user_desc in place of
	struct modify_ldt_ldt_s.
	* mem.c [HAVE_STRUCT_USER_DESC]: Likewise.
2004-03-01 22:10:52 +00:00
Roland McGrath
ce23810f33 . 2004-03-01 22:04:09 +00:00
Roland McGrath
b09e33a286 2004-03-01 Roland McGrath <roland@redhat.com>
* process.c (sys_execve): Clear instead of set TCB_WAITEXECVE on
	erring syscall.
2004-03-01 22:03:58 +00:00
Roland McGrath
4695e94b94 . 2004-03-01 21:31:07 +00:00
Roland McGrath
b0acdfdbdc 2004-03-01 Roland McGrath <roland@redhat.com>
* configure.ac: Check for `struct pt_all_user_regs'
	and `struct ia64_fpreg' in <sys/ptrace.h>.
	* util.c, process.c, syscall.c, signal.c: Work around conflicts between
	<sys/ptrace.h> and <linux/ptrace.h> for defining those types.
2004-03-01 21:31:02 +00:00
Roland McGrath
e58b8a0014 . 2004-03-01 21:29:31 +00:00
Roland McGrath
fb1bc07376 2004-03-01 Roland McGrath <roland@redhat.com>
* process.c (struct_user_offsets) [LINUX && IA64]: Conditionalize
	PT_AR_CSD and PT_AR_SSD uses in case of older kernel headers.
	* configure.ac: Check for `struct pt_all_user_regs'
	and `struct ia64_fpreg' in <sys/ptrace.h>.
	* util.c, process.c, syscall.c: Work around conflicts between
	<sys/ptrace.h> and <linux/ptrace.h> for defining those types.
2004-03-01 21:29:24 +00:00
Roland McGrath
ce9f0740d3 2004-03-01 Roland McGrath <roland@redhat.com>
* configure.ac: Check for `struct pt_all_user_regs'
	and `struct ia64_fpreg' in <sys/ptrace.h>.
	* util.c, process.c, syscall.c: Work around conflicts between
	<sys/ptrace.h> and <linux/ptrace.h> for defining those types.
2004-03-01 21:29:22 +00:00
Roland McGrath
90d0afd728 Tweak last change. 2004-03-01 21:05:16 +00:00
Roland McGrath
861dc147e3 . 2004-03-01 20:57:16 +00:00
Roland McGrath
c9dc3c1ea7 2004-03-01 Roland McGrath <roland@redhat.com>
* util.c [LINUX] (arg0_index, arg1_index): New macros.
	[S390 || S390X]: Define them with inverted values.
	(setbpt): Use them for u_arg indices.
2004-03-01 20:57:09 +00:00
Roland McGrath
24e8d31c21 . 2004-03-01 20:30:51 +00:00
Roland McGrath
b4ce17690f 2004-02-26 Andreas Schwab <schwab@suse.de>
* defs.h [LINUX && IA64]: Declare getrval2 also on IA64.
	* net.c (sys_pipe) [LINUX && IA64]: For IA64 use the two return values.
	* syscall.c (getrval2) [LINUX && IA64]: Implement for IA64.
2004-03-01 20:30:48 +00:00
Roland McGrath
176ac32167 . 2004-03-01 20:28:19 +00:00
Roland McGrath
279d378b14 2004-03-01 Roland McGrath <roland@redhat.com>
* linux/dummy.h (sys_sched_getscheduler, sys_sched_setparam,
	sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler,
	sys_sched_get_priority_max, sys_sched_get_priority_min): Remove macros.
	* process.c [LINUX] (sys_sched_getscheduler, sys_sched_setparam,
	sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler,
	sys_sched_get_priority_min): New functions.
	From Ulrich Drepper <drepper@redhat.com>.
2004-03-01 20:27:37 +00:00
Roland McGrath
3d3f1c9fb7 . 2004-02-20 23:21:34 +00:00
Roland McGrath
ed817731b7 2004-02-20 Roland McGrath <roland@redhat.com>
* linux/hppa/syscallent.h: Update some syscalls.
	From Randolph Chung <tausq@debian.org>.
	Fixes Debian bug #231632.
2004-02-20 23:19:21 +00:00
Roland McGrath
b233c26029 . 2004-02-20 22:56:55 +00:00
Roland McGrath
08267b8d67 2003-12-31 David Mosberger <davidm@hpl.hp.com>
* process.c (internal_exit): For ia64, also recognize IA-32 252
	as exit_group().
	(change_syscall): For IA64, also support changing IA-32 syscalls.
	* syscall.c (internal_syscall): For IA64, also recognize IA-32
        syscall 252 (exit_group) as an internal_exit() syscall.
	* util.c (SYS_fork): For IA64, define them to the IA-32 syscall
	number.
	(SYS_vfork): Likewise.
	(arg_setup): For IA64 version, also support IA-32 syscalls.
	(get_arg0): Likewise.
	(get_arg1): Likewise.
	(set_arg0): Likewise.
	(set_arg1): Likewise.
2004-02-20 22:56:43 +00:00
Roland McGrath
13aeab3558 . 2004-02-20 02:25:42 +00:00
Roland McGrath
54394c80f7 2004-02-15 Anton Blanchard <anton@samba.org>
* linux/powerpc/syscallent.h: Add rtas call.
	Shift multiplexed syscalls to start at 300, we are already about
	to hit 256 real syscalls.
	* linux/syscall.h: SYS_socket_subcall is now 300 for [POWERPC].
2004-02-20 02:25:18 +00:00
Roland McGrath
c3266d51f0 2004-02-19 Roland McGrath <roland@redhat.com>
* strace.c (main): Use TCP->pid, not PID, in -p message.
	Fixes Debian bug #229802.
2004-02-20 02:23:52 +00:00
Roland McGrath
182aa38bb2 2004-01-13 Roland McGrath <roland@redhat.com>
* syscall.c (force_result) [LINUX] [S390 || S390X]: Remove bogus upeek
	call.
2004-02-20 02:23:30 +00:00