Commit Graph

622 Commits

Author SHA1 Message Date
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
Roland McGrath
5ef24abf00 Revert jhughes commits. 2004-02-20 02:22:35 +00:00
John Hughes
d535306ce2 Better output for sys_migrate 2004-02-05 14:37:02 +00:00
John Hughes
ae25933773 port SSI clustering mods to OpenSSI on Linux 2004-01-29 11:17:50 +00:00
Roland McGrath
ec0cf0b16b . 2004-01-13 10:18:52 +00:00
Roland McGrath
1c04b0b000 2004-01-13 Roland McGrath <roland@redhat.com>
* stream.c (internal_stream_ioctl): Fix typo strict -> struct.
	Reported by Petter Reinholdtsen <pere@hungry.com>.
2004-01-13 10:18:46 +00:00
Roland McGrath
7515547868 . 2004-01-13 10:17:00 +00:00
Roland McGrath
9205324e8b 2003-12-14 Anton Blanchard <anton@samba.org>
* file.c (sys_getdents64): Don't cast d_ino and d_off to unsigned long.
	Use %llu formats for them.
2004-01-13 10:16:47 +00:00
Roland McGrath
135db8908d . 2004-01-13 10:14:04 +00:00
Roland McGrath
c767ad8e1a 2003-12-14 Anton Blanchard <anton@samba.org>
* file.c [LINUX] (fsmagic): Add SYSFS_MAGIC.
2004-01-13 10:13:45 +00:00
Roland McGrath
190f8dd7b1 2003-12-14 Anton Blanchard <anton@samba.org>
* syscall.c (get_error) [POWERPC]: Cast result to unsigned long for
	ppc64, we were misreporting syscalls that really succeeded as having
	failed.
2004-01-13 10:13:44 +00:00
Roland McGrath
3a95725ec7 2003-12-14 Anton Blanchard <anton@samba.org>
* linux/powerpc/syscallent.h: Update to include recently added
	syscalls.
2004-01-13 10:13:43 +00:00
Roland McGrath
ca4e10c060 2003-12-31 David Mosberger <davidm@hpl.hp.com>
* process.c (struct_user_offsets) [IA64]: Fix up register name list.
2004-01-13 10:13:20 +00:00
Roland McGrath
8950c69092 . 2004-01-13 10:00:01 +00:00
Roland McGrath
3766a56ee7 2004-01-13 Roland McGrath <roland@redhat.com>
* strace.1: Remove comment about vfork on Linux.
	Fixes Debian bug #223390.
2004-01-13 09:59:55 +00:00
Roland McGrath
2efe879fa8 2003-12-15 Dmitry V. Levin <ldv@altlinux.org>
* strace.c (trace) [WCOREDUMP]: Show coredump status of the
	killed process if available.
2004-01-13 09:59:45 +00:00
Roland McGrath
5b7aa6866b . 2004-01-13 09:52:52 +00:00
Roland McGrath
4054284e29 2004-01-13 Roland McGrath <roland@redhat.com>
* file.c (direnttypes): Define under [LINUX] as well.  Add DT_UNKNOWN.
	(sys_getdents64) [LINUX]: Print d_type field.
2004-01-13 09:47:49 +00:00
Roland McGrath
cf28303d84 . 2003-11-14 02:57:31 +00:00
Roland McGrath
00eb84e55f 2003-11-13 Roland McGrath <roland@redhat.com>
* configure.ac, NEWS: Version 4.5.1.
	* strace.spec, debian/changelog: 4.5.1-1.
2003-11-14 02:57:22 +00:00