]> granicus.if.org Git - strace/log
strace
19 years ago.
Roland McGrath [Wed, 2 Feb 2005 03:38:49 +0000 (03:38 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 03:38:32 +0000 (03:38 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 03:11:43 +0000 (03:11 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 03:11:32 +0000 (03:11 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* net.c (sys_getsockopt): Fix a format %ld -> %d.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 03:07:24 +0000 (03:07 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 03:06:52 +0000 (03:06 +0000)]
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!

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 02:54:35 +0000 (02:54 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 02:54:33 +0000 (02:54 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Fix exit_group entry.

19 years ago.
Roland McGrath [Wed, 2 Feb 2005 02:49:03 +0000 (02:49 +0000)]
.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 02:49:02 +0000 (02:49 +0000)]
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.

19 years ago2005-01-22 Andreas Schwab <schwab@suse.de>
Roland McGrath [Wed, 2 Feb 2005 02:48:57 +0000 (02:48 +0000)]
2005-01-22  Andreas Schwab  <schwab@suse.de>

* net.c (sys_getsockopt): Change type of len to int.

19 years ago2005-02-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 2 Feb 2005 02:48:53 +0000 (02:48 +0000)]
2005-02-01  Roland McGrath  <roland@redhat.com>

* util.c (getpc) [S390 || S390X]: Implement it.
Patch by David Wilder <wilder@us.ibm.com>.

19 years ago.
Roland McGrath [Wed, 20 Oct 2004 02:24:28 +0000 (02:24 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:24:19 +0000 (02:24 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* file.c (sys_fadvise64): Conditionalize just on [LINUX].

19 years ago.
Roland McGrath [Wed, 20 Oct 2004 02:17:58 +0000 (02:17 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:17:52 +0000 (02:17 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.8.
* debian/changelog, strace.spec: 4.5.8-1.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:17:41 +0000 (02:17 +0000)]
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.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:17:41 +0000 (02:17 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 20 Oct 2004 02:04:19 +0000 (02:04 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 02:04:15 +0000 (02:04 +0000)]
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.

19 years ago.
Roland McGrath [Wed, 20 Oct 2004 01:00:45 +0000 (01:00 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 20 Oct 2004 01:00:27 +0000 (01:00 +0000)]
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.

19 years ago.
Roland McGrath [Tue, 19 Oct 2004 23:33:53 +0000 (23:33 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:33:50 +0000 (23:33 +0000)]
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>.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:33:47 +0000 (23:33 +0000)]
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>.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:29:47 +0000 (23:29 +0000)]
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.

19 years ago2004-09-05 Phil Blundell <pb@nexus.co.uk>
Roland McGrath [Tue, 19 Oct 2004 23:29:27 +0000 (23:29 +0000)]
2004-09-05  Phil Blundell  <pb@nexus.co.uk>

* linux/arm/syscallent.h: New file.

19 years ago2004-09-14 Richard Henderson <rth@twiddle.net>
Roland McGrath [Tue, 19 Oct 2004 23:23:59 +0000 (23:23 +0000)]
2004-09-14  Richard Henderson  <rth@twiddle.net>

* linux/alpha/syscallent.h: Add tgkill, *stat64, vserver, mbind,
[gs]et_mempolicy, mq_*, waitid.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:23:36 +0000 (23:23 +0000)]
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.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 23:23:34 +0000 (23:23 +0000)]
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.

19 years ago.
Roland McGrath [Tue, 19 Oct 2004 23:00:14 +0000 (23:00 +0000)]
.

19 years ago2004-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 19 Oct 2004 22:59:55 +0000 (22:59 +0000)]
2004-10-19  Roland McGrath  <roland@redhat.com>

* file.c (sys_llseek): Revert last change.

19 years ago.
Roland McGrath [Thu, 7 Oct 2004 19:09:23 +0000 (19:09 +0000)]
.

19 years ago2004-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 7 Oct 2004 19:09:16 +0000 (19:09 +0000)]
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.

19 years ago.
Roland McGrath [Thu, 7 Oct 2004 18:59:13 +0000 (18:59 +0000)]
.

19 years ago2004-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 7 Oct 2004 18:58:45 +0000 (18:58 +0000)]
2004-10-07  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Fix botched table entries.
From Ulrich Drepper <drepper@redhat.com>.

19 years ago.
Roland McGrath [Thu, 7 Oct 2004 18:53:17 +0000 (18:53 +0000)]
.

19 years ago2004-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 7 Oct 2004 18:53:12 +0000 (18:53 +0000)]
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>.

19 years ago.
Roland McGrath [Thu, 7 Oct 2004 18:51:22 +0000 (18:51 +0000)]
.

19 years ago2004-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 7 Oct 2004 18:51:19 +0000 (18:51 +0000)]
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>.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:32:04 +0000 (22:32 +0000)]
.

19 years ago2004-09-13 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Wed, 6 Oct 2004 22:31:38 +0000 (22:31 +0000)]
2004-09-13  Dmitry V. Levin  <ldv@altlinux.org>

* linux/ioctlsort.c (main): Omit duplicate lines
(with same name and code) from output.
* linux/ioctlent.sh: Build the list of ioctls defined in
scsi/sg.h (0x22..), scsi/scsi.h and scsi/scsi_ioctl.h (0x53..),
as suggested by Peter Jones <pjones@redhat.com>
* linux/ioctlent.h: Regenerated.
Fixes RH#129808.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:28:17 +0000 (22:28 +0000)]
.

19 years ago2004-09-13 Ulrich Drepper <drepper@redhat.com>, Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Wed, 6 Oct 2004 22:27:43 +0000 (22:27 +0000)]
2004-09-13  Ulrich Drepper <drepper@redhat.com>, Dmitry V. Levin <ldv@altlinux.org>

* time.c [LINUX] (print_rtc): New function, for printing rtc_time
structure.
[LINUX] (rtc_ioctl): New function, for parsing RTC_* ioctls.
* ioctl.c [LINUX] (ioctl_decode): Call rtc_ioctl.
* defs.h [LINUX]: Declare rtc_ioctl.
Fixes RH#58606.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:23:55 +0000 (22:23 +0000)]
.

19 years ago2004-10-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:23:31 +0000 (22:23 +0000)]
2004-10-06  Roland McGrath  <roland@redhat.com>

* desc.c [LINUX] (sys_epoll_create, sys_epoll_ctl, sys_epoll_wait):
New functions.
* linux/syscall.h: Declare them.
* linux/syscallent.h: Use those for epoll_* syscalls.
* linux/alpha/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc64/syscallent2.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#134463.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:15:18 +0000 (22:15 +0000)]
.

19 years ago2004-10-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:14:53 +0000 (22:14 +0000)]
2004-10-06  Roland McGrath  <roland@redhat.com>

* resource.c (resources): Add RLIMIT_LOCKS, RLIMIT_SIGPENDING,
and RLIMIT_MSGQUEUE, if defined.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#133594.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:12:09 +0000 (22:12 +0000)]
.

19 years ago2004-10-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:11:54 +0000 (22:11 +0000)]
2004-10-06  Roland McGrath  <roland@redhat.com>

* file.c (sprintmode): Add const to return type.
(sprintfstype): Likewise.
* signal.c (printsiginfo): Add a const.

19 years ago2004-10-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:11:51 +0000 (22:11 +0000)]
2004-10-06  Roland McGrath  <roland@redhat.com>

* net.c [HAVE_SENDMSG] (printcmsghdr): New function.
(printmsghdr): Use it.

19 years ago.
Roland McGrath [Wed, 6 Oct 2004 22:03:22 +0000 (22:03 +0000)]
.

19 years ago2004-09-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:02:59 +0000 (22:02 +0000)]
2004-09-15  Roland McGrath  <roland@redhat.com>

* linux/syscallent.h: waitid takes 5 arguments, and is in TP category.
* process.c (sys_waitid): Handle fifth argument (struct rusage *).

19 years ago2004-09-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Oct 2004 22:02:41 +0000 (22:02 +0000)]
2004-09-15  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Use sys_waitid.

19 years ago.
Roland McGrath [Sat, 11 Sep 2004 08:13:27 +0000 (08:13 +0000)]
.

19 years ago2004-09-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 11 Sep 2004 08:12:45 +0000 (08:12 +0000)]
2004-09-11  Roland McGrath  <roland@redhat.com>

* time.c (sys_clock_nanosleep): Print zero flags arg correctly.
(sys_timer_settime): Likewise.
(printsigevent): Print signals by name for SIGEV_SIGNAL.
(sys_timer_create): Print clock ID symbolically.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#131420.

19 years ago2004-09-07 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Tue, 7 Sep 2004 14:06:03 +0000 (14:06 +0000)]
2004-09-07  Michal Ludvig  <mludvig@suse.cz>

* defs.h (nioctlents1, nsignals2): Fix typos in decls.

19 years ago.
Roland McGrath [Sat, 4 Sep 2004 04:20:49 +0000 (04:20 +0000)]
.

19 years ago2004-09-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 4 Sep 2004 04:20:43 +0000 (04:20 +0000)]
2004-09-03  Roland McGrath  <roland@redhat.com>

* syscall.c (qual_options): Add const to defn.
Update all uses.
(call_count, error_count, tv_count): Variables removed.
(struct call_counts, counts): New type and variable.
Update all users of the old three to use the new array of structs.
(trace_syscall): Allocate counts on first use.
(sorted_count): Variable removed.
(call_summary): Allocate locally.

19 years ago.
Roland McGrath [Sat, 4 Sep 2004 03:53:18 +0000 (03:53 +0000)]
.

19 years ago2004-09-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 4 Sep 2004 03:53:10 +0000 (03:53 +0000)]
2004-09-03  Roland McGrath  <roland@redhat.com>

* syscall.c (sysent0, sysent1, sysent2, sysent): Add const to defn.
(nsyscalls0, nsyscalls1, nsyscalls2): Likewise.
(errnoent0, errnoent1, errnoent2, errnoent): Likewise.
(nerrnos0, nerrnos1, nerrnos2): Likewise.
* signal.c (signalent0, signalent1, signalent2): Likewise.
(nsignals0, nsignals1, nsignals2): Likewise.
(signame): LIkewise.
* ioctl.c (ioctlent0, ioctlent1, ioctlent2): Likewise.
(nioctlents0, nioctlents1, nioctlents2): Likewise.
(ioctl_lookup, ioctl_next_match): Likewise.
* defs.h: Update decls.
* io.c (sys_ioctl): Update users.

19 years ago.
Roland McGrath [Sat, 4 Sep 2004 03:39:26 +0000 (03:39 +0000)]
.

19 years ago2004-09-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 4 Sep 2004 03:39:20 +0000 (03:39 +0000)]
2004-09-03  Roland McGrath  <roland@redhat.com>

* util.c (xlookup, printxval, addflags, printflags): Use const for
struct xlat * argument.
* defs.h (xlookup, printxval, addflags, printflags): Update decls.
* bjm.c: Add const to all struct xlat defns.
* desc.c: Likewise.
* file.c: Likewise.
* ipc.c: Likewise.
* mem.c: Likewise.
* net.c: Likewise.
* proc.c: Likewise.
* process.c: Likewise.
* resource.c: Likewise.
* signal.c: Likewise.
* sock.c: Likewise.
* stream.c: Likewise.
* system.c: Likewise.
* term.c: Likewise.
* time.c: Likewise.
* util.c: Likewise.

19 years ago.
Roland McGrath [Wed, 1 Sep 2004 19:39:59 +0000 (19:39 +0000)]
.

19 years ago2004-09-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 1 Sep 2004 19:39:50 +0000 (19:39 +0000)]
2004-09-01  Roland McGrath  <roland@redhat.com>

* linux/x86_64/syscallent.h: Add new entries for timer_*, clock_*, and
mq_* syscalls, and names only for new calls up to 252.
* linux/syscallent.h: Add waitid.
* linux/x86_64/syscallent.h: Likewise.
* linux/syscall.h: Declare sys_waitid.

19 years ago2004-09-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 1 Sep 2004 19:39:46 +0000 (19:39 +0000)]
2004-09-01  Roland McGrath  <roland@redhat.com>

* process.c (internal_wait): Take second arg giving index of flags
argument.
* defs.h: Update prototype.
* syscall.c (internal_syscall): Update caller.
Also use internal_wait for SYS_waitid.
* process.c (sys_waitid): Define for [LINUX] as well.
Don't tweak TCB_SUSPENDED--internal_wait does that.
(waitid_types): Conditionalize use of nonstandard P_* macros.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 09:02:35 +0000 (09:02 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.7.
* debian/changelog: 4.5.7-1.
* strace.spec: 4.5.7-2.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 08:58:10 +0000 (08:58 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.7.
* debian/changelog: 4.5.7-1.
* strace.spec: 4.5.7-2.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 08:54:09 +0000 (08:54 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* debian/rules: Rewrite sparc64 change of 2004-07-12.
Always do each build in a separate build directory.
Fixes Debian bug #254728.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 08:41:59 +0000 (08:41 +0000)]
.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 08:41:47 +0000 (08:41 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.7.
* strace.spec, debian/changelog: 4.5.7-1.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 08:40:50 +0000 (08:40 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* debian/rules: Rewrite sparc64 change of 2004-07-12.
Always do each build in a separate build directory.
Fixes Debian bug #254728.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 08:26:39 +0000 (08:26 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* time.c (clocknames): Use #ifdef around CLOCK_* uses.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 08:17:26 +0000 (08:17 +0000)]
.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 08:17:22 +0000 (08:17 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* debian/rules: Revert sparc64 change of 2004-07-12.
It does not build properly.
Fixes Debian bug #254728.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 08:17:20 +0000 (08:17 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.7.
* strace.spec, debian/changelog: 4.5.7-1.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 07:48:03 +0000 (07:48 +0000)]
.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 07:47:47 +0000 (07:47 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* strace.1: Say that -c shows system CPU time, not real time.
Fixes Debian bug #254438.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 07:47:45 +0000 (07:47 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* syscall.c (dumpio): Match pread and pwrite system calls too.
Fixes Debian bug #239947.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 07:16:21 +0000 (07:16 +0000)]
.

19 years ago2004-08-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 07:16:14 +0000 (07:16 +0000)]
2004-08-31  Roland McGrath  <roland@redhat.com>

* net.c (sockoptions): Add all SO_* macros known in Linux 2.6.9.
Fixes Debian bug #171653.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 07:03:43 +0000 (07:03 +0000)]
.

19 years ago2004-07-12 Dmitry V. Levin <ldv@altlinux.org>
Roland McGrath [Tue, 31 Aug 2004 07:03:20 +0000 (07:03 +0000)]
2004-07-12  Dmitry V. Levin  <ldv@altlinux.org>

* signal.c [LINUX] (parse_sigset_t): Fix hex strings parser.
Fixes RH#128091.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 07:02:00 +0000 (07:02 +0000)]
.

19 years ago2004-08-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 07:01:56 +0000 (07:01 +0000)]
2004-08-30  Roland McGrath  <roland@redhat.com>

* strace.c (main): Don't call fake_execve under -c.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#129166.

19 years ago2004-08-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 07:01:26 +0000 (07:01 +0000)]
2004-08-30  Roland McGrath  <roland@redhat.com>

* net.c (sockipoptions): Add some options.
[SOL_IPV6] (sockipv6options): New variable.
(sys_getsockopt, printsockopt): Use it for SOL_IPV6 level.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#128391.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 06:52:49 +0000 (06:52 +0000)]
.

19 years ago2004-08-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 06:52:45 +0000 (06:52 +0000)]
2004-08-30  Roland McGrath  <roland@redhat.com>

* time.c (clocknames): New variable, symbolic names for clock_t.
(sys_clock_settime, sys_clock_gettime, sys_clock_nanosleep): Use it.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#129378.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 06:49:09 +0000 (06:49 +0000)]
.

19 years ago2004-08-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 06:48:46 +0000 (06:48 +0000)]
2004-08-30  Roland McGrath  <roland@redhat.com>

* system.c (personality_options): Hard-code values here.
Don't #include <linux/personality.h> at all.
Fixes RH#130965.

19 years ago.
Roland McGrath [Tue, 31 Aug 2004 06:30:51 +0000 (06:30 +0000)]
.

19 years ago2004-08-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 31 Aug 2004 06:30:48 +0000 (06:30 +0000)]
2004-08-30  Roland McGrath  <roland@redhat.com>

* file.c (print_xattr_val): New function to show attribute values.
(sys_setxattr, sys_fsetxattr, sys_getxattr, sys_fgetxattr): Use it.
From Ulrich Drepper <drepper@redhat.com>.
Fixes RH#131177.

20 years ago.
Roland McGrath [Mon, 12 Jul 2004 07:56:00 +0000 (07:56 +0000)]
.

20 years ago2004-07-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 12 Jul 2004 07:55:48 +0000 (07:55 +0000)]
2004-07-12  Roland McGrath  <roland@redhat.com>

* configure.ac, NEWS: Version 4.5.6.
* strace.spec, debian/changelog: 4.5.6-1.

20 years ago.
Roland McGrath [Mon, 12 Jul 2004 07:54:09 +0000 (07:54 +0000)]
.

20 years ago2004-07-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 12 Jul 2004 07:54:02 +0000 (07:54 +0000)]
2004-07-12  Roland McGrath  <roland@redhat.com>

* debian/rules: On sparc-linux, build strace64 as well.
From Ben Collins <bcollins@debian.org>.
Fixes Debian bug #254728.

20 years ago2004-07-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 12 Jul 2004 07:53:59 +0000 (07:53 +0000)]
2004-07-12  Roland McGrath  <roland@redhat.com>

* Makefile.am (EXTRA_DIST): Add linux/sparc64 files.

20 years ago2004-07-07 David S. Miller <davem@nuts.davemloft.net>
Roland McGrath [Mon, 12 Jul 2004 07:44:08 +0000 (07:44 +0000)]
2004-07-07  David S. Miller  <davem@nuts.davemloft.net>

* linux/sparc/syscallent.h: Sync with reality.
* linux/sparc/syscall.h (sys_sendfile64, sys_futex, sys_gettid,
sys_sched_setaffinity, sys_sched_getaffinity, sys_setxattr,
sys_lsetxattr, sys_fsetxattr, sys_getxattr, sys_lgetxattr,
sys_fgetxattr, sys_listxattr, sys_llistxattr, sys_flistxattr,
sys_removexattr, sys_lremovexattr, sys_fremovexattr,
sys_remap_file_pages, sys_readahead, sys_tgkill, sys_statfs64,
sys_fstatfs64, sys_clock_settime, sys_clock_gettime,
sys_clock_getres, sys_clock_nanosleep, sys_timer_create,
sys_timer_settime, sys_timer_gettime): New declarations.
* linux/sparc64/dummy2.h, linux/sparc64/syscallent2.h,
linux/sparc64/syscall.h, linux/sparc64/errnoent.h,
linux/sparc64/errnoent1.h, linux/sparc64/errnoent2.h,
linux/sparc64/ioctlent.h, linux/sparc64/ioctlent1.h,
linux/sparc64/ioctlent2.h, linux/sparc64/signalent.h,
linux/sparc64/signalent.h, linux/sparc64/signalent.h,
linux/sparc64/signalent1.h, linux/sparc64/signalent2.h,
linux/sparc64/syscall1.h, linux/sparc64/syscallent.h,
linux/sparc64/syscallent1.h: New files.
* defs.h (LINUXSPARC): Define also when SPARC64.
(LINUX && SPARC64): Set SUPPORTED_PERSONALITIES to 3.
Ignore SIGTRAP after execve by defining TCB_WAITEXECVE.
Define possibly missing __NR_exit_group.  Declare getrval2.
* configure.ac (sparc64): New architecture case.
* config.h.in (SPARC64): New define.
* file.c (stat_sparc64): New structure.
(printstat_sparc64): New output routine for that.
(printstat): Call it, if personality is 2.
(printstat64): Likewise.
* util.c: Conditionalize ptrace defines on LINUXSPARC
not LINUX && SPARC.
(SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS
to PTRACE_FOOREGS64 so that more sparc code can be shared
between 64-bit and 32-bit.
(_hack_syscall5): Correct trap number when SPARC64.
(PTRACE_WRITE{TEXT,DATA}): Add SPARC64 to ifdef guard.
(getpc): Handle SPARC64 && LINUX.
(printcall): Likewise.
(arg fetching/setting): Use same code for SPARC64 LINUX
as for SPARC.
(setbpt): Handle SPARC64 && LINUX.
(clearbpt): Likewise.
* signal.c: Conditionalize ptrace defines on SPARC and
SPARC64.
(SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS
to PTRACE_FOOREGS64 so that more sparc code can be shared
between 64-bit and 32-bit.
(m_siginfo): Use same definition on SPARC64 as SPARC.
(sys_sigreturn): Handle LINUX && SPARC64.
* syscall.c: Conditionalize ptrace defines on SPARC and
SPARC64.
(SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS
to PTRACE_FOOREGS64 so that more sparc code can be shared
between 64-bit and 32-bit.
(getscno): Use same static state on SPARC64 as SPARC,
and add SPARC64 handling.
(get_error): Handle LINUX && SPARC64.
(force_result): Likewise.
(syscall_enter): Likewise.
(trace_syscall): Handle sys_socketcall and sys_ipc on SPARC64
just like SPARC.
(getrval2): Handle LINUX && SPARC64.
* process.c: Conditionalize ptrace defines on SPARC and
SPARC64.
(SPARC64 && LINUX): Define r_pc to r_tpc, and PTRACE_FOOREGS
to PTRACE_FOOREGS64 so that more sparc code can be shared
between 64-bit and 32-bit.
(change_syscall): Handle LINUX && SPARC64.
(struct_user_offsets): Ifdef out those which do not exist
on SPARC64.
* net.c (sys_pipe): Handle LINUX && SPARC64.
* ioctl.c: Fix initializer typo for nioctlents2, was
nioctlents1 by accident.

20 years ago2004-06-28 Andreas Schwab <schwab@suse.de>
Roland McGrath [Mon, 12 Jul 2004 07:38:55 +0000 (07:38 +0000)]
2004-06-28  Andreas Schwab  <schwab@suse.de>

* process.c (internal_exec): Move TCB_WAITEXECVE handling here.
(sys_execve): Remove it here.

20 years ago2004-07-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 12 Jul 2004 07:27:25 +0000 (07:27 +0000)]
2004-07-12  Roland McGrath  <roland@redhat.com>

* debian/control (Section): Move to utils, matching Debian override.