summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/ucontext.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-01-10 00:04:56 +0000
committerjake <jake@FreeBSD.org>2003-01-10 00:04:56 +0000
commit916cb451357cdbe4cabeff94af7c6e22fb2e3376 (patch)
treea296d9e8d9c6192cb38c55ae2f0c8b0f971a06ae /sys/sparc64/include/ucontext.h
parent7cbdb1fe0229201b65142705fd8eadd04ad6235e (diff)
downloadFreeBSD-src-916cb451357cdbe4cabeff94af7c6e22fb2e3376.zip
FreeBSD-src-916cb451357cdbe4cabeff94af7c6e22fb2e3376.tar.gz
Don't allow user process to set an invalid window state through sigreturn.
Spotted by: tmm
Diffstat (limited to 'sys/sparc64/include/ucontext.h')
-rw-r--r--sys/sparc64/include/ucontext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/include/ucontext.h b/sys/sparc64/include/ucontext.h
index b4550c6..c05ec26 100644
--- a/sys/sparc64/include/ucontext.h
+++ b/sys/sparc64/include/ucontext.h
@@ -51,6 +51,7 @@ typedef struct __mcontext mcontext_t;
#define mc_tpc mc_in[1]
#define mc_tstate mc_in[2]
#define mc_y mc_in[4]
+#define mc_wstate mc_in[5]
#define _MC_VERSION_SHIFT 0
#define _MC_VERSION_BITS 32
OpenPOWER on IntegriCloud