diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-03-29 19:34:08 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-03-29 19:34:08 +0000 |
commit | 714246ebb18cf669ce9f18b957235b160d31a547 (patch) | |
tree | 113d4dfde61ef5e475715f639b31742051966f59 /sys/arch/sparc64/include/pcb.h | |
parent | 0b455547bf95424f5c740f665671dc9b89d549fd (diff) |
sparc64 StackGhost.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc64/include/pcb.h')
-rw-r--r-- | sys/arch/sparc64/include/pcb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/pcb.h b/sys/arch/sparc64/include/pcb.h index a0f4e42f856..43d19b7bd64 100644 --- a/sys/arch/sparc64/include/pcb.h +++ b/sys/arch/sparc64/include/pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcb.h,v 1.4 2003/06/02 23:27:56 millert Exp $ */ +/* $OpenBSD: pcb.h,v 1.5 2005/03/29 19:34:07 kettenis Exp $ */ /* $NetBSD: pcb.h,v 1.7 2000/12/29 17:12:05 eeh Exp $ */ /* @@ -136,6 +136,8 @@ struct pcb { char pcb_pil; /* %pil when switch() was called -- prolly not needed */ const char *lastcall; /* DEBUG -- name of last system call */ + u_int64_t pcb_wcookie; + /* the following MUST be aligned on a 64-bit boundary */ struct rwindow64 pcb_rw[PCB_MAXWIN]; /* saved windows */ }; @@ -149,6 +151,7 @@ struct pcb { struct md_coredump { struct trapframe64 md_tf; struct fpstate64 md_fpstate; + u_int64_t md_wcookie; }; #ifdef _KERNEL |