diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-04-12 12:09:06 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-04-12 12:09:06 +0000 |
commit | 7edd9ade6fd2bd173f58e6c43df92e49debd819b (patch) | |
tree | 6845edc02f22169c53033080179e5ccb5066135e | |
parent | 74d28f6e8cd0424d6f5b27cd9e2b301796111043 (diff) |
PT_GETXMMREGS and PT_SETXMMREGS can take a TID.
-rw-r--r-- | sys/kern/sys_process.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 8f665600f1d..0d5248d29c0 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_process.c,v 1.53 2012/04/11 15:28:50 kettenis Exp $ */ +/* $OpenBSD: sys_process.c,v 1.54 2012/04/12 12:09:05 kettenis Exp $ */ /* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */ /*- @@ -146,6 +146,12 @@ sys_ptrace(struct proc *p, void *v, register_t *retval) #ifdef PT_SETFPREGS case PT_SETFPREGS: #endif +#ifdef PT_GETXMMREGS + case PT_GETXMMREGS: +#endif +#ifdef PT_SETXMMREGS + case PT_SETXMMREGS: +#endif if (SCARG(uap, pid) > THREAD_PID_OFFSET) { t = pfind(SCARG(uap, pid) - THREAD_PID_OFFSET); if (t == NULL) |