]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/dev/dtrace/systrace.c
xnu-1504.7.4.tar.gz
[apple/xnu.git] / bsd / dev / dtrace / systrace.c
index 3a8382f15bb426490f53326f3b25da81cbd82ece..74ab8a10566aa33a895eb0ea55ac718775e6856d 100644 (file)
@@ -219,6 +219,7 @@ dtrace_systrace_syscall(struct proc *pp, void *uap, int *rv)
                                        munged_rv1 = ((u_int)rv[1]);
                                        break;
                                case _SYSCALL_RET_OFF_T:
+                               case _SYSCALL_RET_UINT64_T:
                                        munged_rv0 = *(u_int64_t *)rv;
                                        munged_rv1 = 0LL;
                                        break;
@@ -302,6 +303,7 @@ dtrace_systrace_syscall_return(unsigned short code, int rval, int *rv)
                                        munged_rv1 = ((u_int)rv[1]);
                                        break;
                                case _SYSCALL_RET_OFF_T:
+                               case _SYSCALL_RET_UINT64_T:
                                        munged_rv0 = *(u_int64_t *)rv;
                                        munged_rv1 = 0LL;
                                        break;