summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2007-09-24 18:31:01 +0000
committerfche <fche>2007-09-24 18:31:01 +0000
commit88c4fbce967fb176ade97e8b58a42ebe606cf318 (patch)
treecc663bc52d79e6087af69b9102037bcf8e16399f
parentda64b256d828a33ff5c3bd78b11aad3705056019 (diff)
downloadsystemtap-steved-88c4fbce967fb176ade97e8b58a42ebe606cf318.tar.gz
systemtap-steved-88c4fbce967fb176ade97e8b58a42ebe606cf318.tar.xz
systemtap-steved-88c4fbce967fb176ade97e8b58a42ebe606cf318.zip
Add missing CATCH_DEREF_FAULT()s.
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/aux_syscalls.stp4
2 files changed, 8 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 34610a67..e386bd3d 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -9,6 +9,10 @@
2007-09-24 Frank Ch. Eigler <fche@elastic.org>
+ * aux_syscalls.stp: Add missing CATCH_DEREF_FAULT()s.
+
+2007-09-24 Frank Ch. Eigler <fche@elastic.org>
+
* inet_sock.stp, ioblock.stp, rpc.stp, scsi.stp, socket.stp,
tcp.stp: Add /* pure */ to embedded-C functions.
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index 4d1e31ed..4c9df863 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -52,6 +52,7 @@ function _struct_timeval:string(addr:long)
else
snprintf(THIS->__retvalue, MAXSTRINGLEN, "[%ld.%06ld]",
kread(&(tv->tv_sec)), kread(&(tv->tv_usec)));
+ CATCH_DEREF_FAULT();
%}
function _struct_timezone_u:string(uaddr:long)
@@ -67,6 +68,7 @@ function _struct_timezone_u:string(uaddr:long)
else
strlcpy (THIS->__retvalue, "UNKNOWN", MAXSTRINGLEN);
}
+ CATCH_DEREF_FAULT();
%}
%{
@@ -219,6 +221,7 @@ function _struct_timespec:string(addr:long)
(unsigned long)kread(&(ts->tv_sec)),
(unsigned long)kread(&(ts->tv_nsec)));
}
+ CATCH_DEREF_FAULT();
%}
function _struct_itimerspec_u:string(uaddr:long)
@@ -285,6 +288,7 @@ function _struct_itimerval:string(addr:long)
(int)kread(&(itv->it_value.tv_sec)),
(int)kread(&(itv->it_value.tv_usec)));
}
+ CATCH_DEREF_FAULT();
%}
%{