This commit is contained in:
parent
4639c54fbb
commit
66226dd0b3
@ -1,11 +0,0 @@
|
|||||||
--- file.c
|
|
||||||
+++ file.c
|
|
||||||
@@ -1225,7 +1225,7 @@
|
|
||||||
printpath(tcp, tcp->u_arg[1]);
|
|
||||||
tprintf(", ");
|
|
||||||
} else {
|
|
||||||
-#ifdef HAVE_STAT64
|
|
||||||
+#if defined HAVE_STAT64 && !(defined POWERPC && defined __powerpc64__)
|
|
||||||
printstat64(tcp, tcp->u_arg[2]);
|
|
||||||
#else
|
|
||||||
printstat(tcp, tcp->u_arg[2]);
|
|
@ -1,31 +0,0 @@
|
|||||||
--- signal.c
|
|
||||||
+++ signal.c
|
|
||||||
@@ -1697,7 +1697,7 @@
|
|
||||||
struct tcb *tcp;
|
|
||||||
{
|
|
||||||
if (entering(tcp)) {
|
|
||||||
- tprintf("%ld, %s", tcp->u_arg[0], signame(tcp->u_arg[1]));
|
|
||||||
+ tprintf("%d, %s", (pid_t)tcp->u_arg[0], signame(tcp->u_arg[1]));
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
--- strace.c
|
|
||||||
+++ strace.c
|
|
||||||
@@ -1461,7 +1461,7 @@
|
|
||||||
|
|
||||||
#ifdef LINUX
|
|
||||||
if (zombie != NULL)
|
|
||||||
- error = detach(zombie) || error;
|
|
||||||
+ error = detach(zombie, 0) || error;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return error;
|
|
||||||
@@ -2035,7 +2035,7 @@
|
|
||||||
fprintf(stderr,
|
|
||||||
"PANIC: handle_group_exit: %d leader %d\n",
|
|
||||||
tcp->pid, leader ? leader->pid : -1);
|
|
||||||
- detach(tcp); /* Already died. */
|
|
||||||
+ detach(tcp, 0); /* Already died. */
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
/* Mark that we are taking the process down. */
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ba8c492c1b2033d4e2131f05df9e3780d4bc35bea87aa32a6052dd53a814e288
|
|
||||||
size 455607
|
|
11
strace-4.5.16.diff
Normal file
11
strace-4.5.16.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- signal.c
|
||||||
|
+++ signal.c
|
||||||
|
@@ -1701,7 +1701,7 @@ sys_kill(tcp)
|
||||||
|
struct tcb *tcp;
|
||||||
|
{
|
||||||
|
if (entering(tcp)) {
|
||||||
|
- tprintf("%ld, %s", tcp->u_arg[0], signame(tcp->u_arg[1]));
|
||||||
|
+ tprintf("%d, %s", (pid_t)tcp->u_arg[0], signame(tcp->u_arg[1]));
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
3
strace-4.5.16.tar.bz2
Normal file
3
strace-4.5.16.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1736de29c20e1501ba50aca824492fdb5fe0bbd054ae6f79f4ab9efd424c7a96
|
||||||
|
size 457272
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 3 13:44:47 CEST 2007 - schwab@suse.de
|
||||||
|
|
||||||
|
- Update to strace 4.5.16.
|
||||||
|
* Bug fixes.
|
||||||
|
* Improved output for delete_module, futex, and mbind system calls on Linux.
|
||||||
|
* Improved output for SG_IO ioctls on Linux.
|
||||||
|
* Support new Linux system calls move_pages, utimensat, signalfd, timerfd,
|
||||||
|
eventfd, getcpu, epoll_pwait.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 18 21:22:32 CEST 2007 - schwab@suse.de
|
Wed Apr 18 21:22:32 CEST 2007 - schwab@suse.de
|
||||||
|
|
||||||
|
17
strace.spec
17
strace.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package strace (Version 4.5.15)
|
# spec file for package strace (Version 4.5.16)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -12,11 +12,11 @@
|
|||||||
|
|
||||||
Name: strace
|
Name: strace
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
License: Other License(s), see package
|
License: BSD 3-Clause
|
||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 4.5.15
|
Version: 4.5.16
|
||||||
Release: 10
|
Release: 1
|
||||||
Summary: A utility to trace the system calls of a program
|
Summary: A utility to trace the system calls of a program
|
||||||
Source: strace-%{version}.tar.bz2
|
Source: strace-%{version}.tar.bz2
|
||||||
Patch: strace-%{version}.diff
|
Patch: strace-%{version}.diff
|
||||||
@ -25,7 +25,6 @@ Patch3: syscalls.diff
|
|||||||
Patch4: strace-sysinfo.diff
|
Patch4: strace-sysinfo.diff
|
||||||
Patch5: strace-graph.diff
|
Patch5: strace-graph.diff
|
||||||
Patch6: ioctl.diff
|
Patch6: ioctl.diff
|
||||||
Patch7: fstatat-ppc64.patch
|
|
||||||
Patch8: ptrace.diff
|
Patch8: ptrace.diff
|
||||||
URL: http://sourceforge.net/projects/strace/
|
URL: http://sourceforge.net/projects/strace/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -51,7 +50,6 @@ Authors:
|
|||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch6
|
%patch6
|
||||||
%patch7
|
|
||||||
%patch8
|
%patch8
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -76,6 +74,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man1/strace.1.gz
|
%doc %{_mandir}/man1/strace.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 03 2007 - schwab@suse.de
|
||||||
|
- Update to strace 4.5.16.
|
||||||
|
* Bug fixes.
|
||||||
|
* Improved output for delete_module, futex, and mbind system calls on Linux.
|
||||||
|
* Improved output for SG_IO ioctls on Linux.
|
||||||
|
* Support new Linux system calls move_pages, utimensat, signalfd, timerfd,
|
||||||
|
eventfd, getcpu, epoll_pwait.
|
||||||
* Wed Apr 18 2007 - schwab@suse.de
|
* Wed Apr 18 2007 - schwab@suse.de
|
||||||
- Decode more ptrace options.
|
- Decode more ptrace options.
|
||||||
* Fri Mar 16 2007 - schwab@suse.de
|
* Fri Mar 16 2007 - schwab@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user