forked from pool/strace
This commit is contained in:
parent
66226dd0b3
commit
a44d1d0a5b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 16:54:04 CET 2007 - schwab@suse.de
|
||||
|
||||
- Fix getdents64 decoding.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 3 13:44:47 CEST 2007 - schwab@suse.de
|
||||
|
||||
|
@ -14,9 +14,9 @@ Name: strace
|
||||
BuildRequires: libacl-devel
|
||||
License: BSD 3-Clause
|
||||
Group: Development/Tools/Debuggers
|
||||
Autoreqprov: on
|
||||
AutoReqProv: on
|
||||
Version: 4.5.16
|
||||
Release: 1
|
||||
Release: 22
|
||||
Summary: A utility to trace the system calls of a program
|
||||
Source: strace-%{version}.tar.bz2
|
||||
Patch: strace-%{version}.diff
|
||||
@ -26,7 +26,7 @@ Patch4: strace-sysinfo.diff
|
||||
Patch5: strace-graph.diff
|
||||
Patch6: ioctl.diff
|
||||
Patch8: ptrace.diff
|
||||
URL: http://sourceforge.net/projects/strace/
|
||||
Url: http://sourceforge.net/projects/strace/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -74,6 +74,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %{_mandir}/man1/strace.1.gz
|
||||
|
||||
%changelog
|
||||
* Mon Nov 19 2007 - schwab@suse.de
|
||||
- Fix getdents64 decoding.
|
||||
* Fri Aug 03 2007 - schwab@suse.de
|
||||
- Update to strace 4.5.16.
|
||||
* Bug fixes.
|
||||
|
112
syscalls.diff
112
syscalls.diff
@ -1,3 +1,68 @@
|
||||
--- linux/alpha/syscallent.h
|
||||
+++ linux/alpha/syscallent.h
|
||||
@@ -403,9 +403,9 @@
|
||||
{ 3, 0, printargs, "getresgid" }, /* 372 */
|
||||
{ 4, 0, printargs, "dipc" }, /* 373, not implemented */
|
||||
{ 2, TF, printargs, "pivot_root" }, /* 374 */
|
||||
- { 3, 0, printargs, "mincore" }, /* 375 */
|
||||
+ { 3, 0, sys_mincore, "mincore" }, /* 375 */
|
||||
{ 4, 0, printargs, "pciconfig_iobase" }, /* 376 */
|
||||
- { 4, TD, sys_getdents64, "getdents64" }, /* 377 */
|
||||
+ { 3, TD, sys_getdents64, "getdents64" }, /* 377 */
|
||||
{ 0, 0, printargs, "gettid" }, /* 378 */
|
||||
{ 4, TD, sys_readahead, "readahead" }, /* 379 */
|
||||
{ 5, 0, printargs, "SYS_380" }, /* 380 */
|
||||
--- linux/arm/syscallent.h
|
||||
+++ linux/arm/syscallent.h
|
||||
@@ -247,7 +247,7 @@
|
||||
{ 1, 0, sys_setgid, "setgid32" }, /* 214 */
|
||||
{ 1, 0, sys_setfsuid, "setfsuid32" }, /* 215 */
|
||||
{ 1, 0, sys_setfsgid, "setfsgid32" }, /* 216 */
|
||||
- { 4, 0, sys_getdents64, "getdents64" }, /* 217 */
|
||||
+ { 3, 0, sys_getdents64, "getdents64" }, /* 217 */
|
||||
{ 2, TF, sys_pivotroot, "pivot_root" }, /* 218 */
|
||||
{ 3, 0, printargs, "mincore" }, /* 219 */
|
||||
{ 3, 0, sys_madvise, "madvise" }, /* 220 */
|
||||
--- linux/ia64/syscallent.h
|
||||
+++ linux/ia64/syscallent.h
|
||||
@@ -1014,13 +1014,13 @@
|
||||
{ 3, TN, sys_sendmsg, "sendmsg" }, /* 1205 */
|
||||
{ 3, TN, sys_recvmsg, "recvmsg" }, /* 1206 */
|
||||
{ 2, TF, sys_pivotroot, "pivot_root" }, /* 1207 */
|
||||
- { 3, 0, printargs, "mincore" }, /* 1208 */
|
||||
+ { 3, 0, sys_mincore, "mincore" }, /* 1208 */
|
||||
{ 3, 0, sys_madvise, "madvise" }, /* 1209 */
|
||||
{ 2, TF, sys_stat, "stat" }, /* 1210 */
|
||||
{ 2, 0, sys_lstat, "lstat" }, /* 1211 */
|
||||
{ 2, TD, sys_fstat, "fstat" }, /* 1212 */
|
||||
{ 6, TP, sys_clone, "clone2" }, /* 1213 */
|
||||
- { 3, 0, printargs, "getdents64" }, /* 1214 */
|
||||
+ { 3, TD, sys_getdents64, "getdents64" }, /* 1214 */
|
||||
{ 2, 0, printargs, "getunwind" }, /* 1215 */
|
||||
{ 4, TD, sys_readahead, "readahead" }, /* 1216 */
|
||||
{ 5, TF, sys_setxattr, "setxattr" }, /* 1217 */
|
||||
--- linux/m68k/syscallent.h
|
||||
+++ linux/m68k/syscallent.h
|
||||
@@ -248,7 +248,7 @@
|
||||
{ 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
|
||||
{ 5, 0, printargs, "SYS_218" }, /* 218 */
|
||||
{ 5, 0, printargs, "SYS_219" }, /* 219 */
|
||||
- { 4, 0, sys_getdents64, "getdents64" }, /* 220 */
|
||||
+ { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
|
||||
{ 0, 0, printargs, "gettid" }, /* 221 */
|
||||
{ 2, TS, sys_kill, "tkill" }, /* 222 */
|
||||
{ 5, TF, sys_setxattr, "setxattr" }, /* 223 */
|
||||
--- linux/mips/syscallent.h
|
||||
+++ linux/mips/syscallent.h
|
||||
@@ -4215,7 +4215,7 @@
|
||||
{ 2, TF, sys_lstat64, "lstat64" }, /* 4214 */
|
||||
{ 2, TD, sys_fstat64, "fstat64" }, /* 4215 */
|
||||
{ 2, TF, sys_pivotroot, "pivot_root" }, /* 4216 */
|
||||
- { 3, 0, printargs, "mincore" }, /* 4217 */
|
||||
+ { 3, 0, sys_mincore, "mincore" }, /* 4217 */
|
||||
{ 3, 0, sys_madvise, "madvise" }, /* 4218 */
|
||||
{ 3, TF, sys_getdents64, "getdents64" }, /* 4219 */
|
||||
{ 3, TD, sys_fcntl, "fcntl64" }, /* 4220 */
|
||||
--- linux/powerpc/syscallent.h
|
||||
+++ linux/powerpc/syscallent.h
|
||||
@@ -299,7 +299,7 @@
|
||||
@ -9,3 +74,50 @@
|
||||
{ 5, 0, printargs, "keyctl" }, /* 271 */
|
||||
{ 5, TP, sys_waitid, "waitid" }, /* 272 */
|
||||
{ 3, 0, printargs, "ioprio_set" }, /* 273 */
|
||||
--- linux/sh/syscallent.h
|
||||
+++ linux/sh/syscallent.h
|
||||
@@ -250,9 +250,9 @@
|
||||
{ 1, 0, printargs, "setfsuid32" }, /* 215 */
|
||||
{ 1, 0, printargs, "setfsgid32" }, /* 216 */
|
||||
{ 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
|
||||
- { 3, 0, printargs, "mincore" }, /* 218 */
|
||||
+ { 3, 0, sys_mincore, "mincore" }, /* 218 */
|
||||
{ 3, 0, sys_madvise, "madvise" }, /* 219 */
|
||||
- { 4, 0, printargs, "getdents64" }, /* 220 */
|
||||
+ { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
|
||||
{ 3, TD, sys_fcntl, "fcntl64" }, /* 221 */
|
||||
{ 4, 0, printargs, "SYS_222" }, /* 222 */
|
||||
{ 4, 0, printargs, "SYS_223" }, /* 223 */
|
||||
--- linux/sparc/syscallent.h
|
||||
+++ linux/sparc/syscallent.h
|
||||
@@ -152,7 +152,7 @@
|
||||
{ 4, TN, sys_getmsg, "getmsg" }, /* 151 */
|
||||
{ 4, TN, sys_putmsg, "putmsg" }, /* 152 */
|
||||
{ 3, TD, sys_poll, "poll" }, /* 153 */
|
||||
- { 4, TD, sys_getdents64, "getdents64" }, /* 154 */
|
||||
+ { 3, TD, sys_getdents64, "getdents64" }, /* 154 */
|
||||
{ 3, TD, sys_fcntl, "fcntl64" }, /* 155 */
|
||||
{ 4, 0, printargs, "getdirentries" }, /* 156 */
|
||||
{ 2, TF, sys_statfs, "statfs" }, /* 157 */
|
||||
--- linux/syscallent.h
|
||||
+++ linux/syscallent.h
|
||||
@@ -250,7 +250,7 @@
|
||||
{ 2, TF, sys_pivotroot, "pivot_root" }, /* 217 */
|
||||
{ 3, 0, sys_mincore, "mincore" }, /* 218 */
|
||||
{ 3, 0, sys_madvise, "madvise" }, /* 219 */
|
||||
- { 4, TD, sys_getdents64, "getdents64" }, /* 220 */
|
||||
+ { 3, TD, sys_getdents64, "getdents64" }, /* 220 */
|
||||
{ 3, TD, sys_fcntl, "fcntl64" }, /* 221 */
|
||||
{ 4, 0, printargs, "SYS_222" }, /* 222 */
|
||||
/*TODO*/{ 5, 0, printargs, "security" }, /* 223 */
|
||||
--- linux/x86_64/syscallent.h
|
||||
+++ linux/x86_64/syscallent.h
|
||||
@@ -215,7 +215,7 @@
|
||||
{ 4, 0, printargs, "epoll_ctl_old" }, /* 214 */
|
||||
{ 4, 0, printargs, "epoll_wait_old"}, /* 215 */
|
||||
{ 5, 0, sys_remap_file_pages, "remap_file_pages"}, /* 216 */
|
||||
- { 4, TD, sys_getdents64, "getdents64" }, /* 217 */
|
||||
+ { 3, TD, sys_getdents64, "getdents64" }, /* 217 */
|
||||
{ 1, 0, printargs, "set_tid_address"}, /* 218 */
|
||||
{ 0, 0, sys_restart_syscall, "restart_syscall"}, /* 219 */
|
||||
{ 5, TI, sys_semtimedop, "semtimedop" }, /* 220 */
|
||||
|
Loading…
Reference in New Issue
Block a user