diff options
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/aux_syscalls.stp | 4 |
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(); %} %{ |