diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-10-30 06:32:05 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-10-30 06:32:05 +0000 |
| commit | 02c58685a4354c39fd2387a4b20e00c3f5d26096 (patch) | |
| tree | 3c9df194f59066cf56f290cfea6886eefc551a5e /sys/alpha/linux/linux_sysvec.c | |
| parent | 1c6972cf901bc9353c445d55f23bbe92d54e3dfe (diff) | |
Notes
Diffstat (limited to 'sys/alpha/linux/linux_sysvec.c')
| -rw-r--r-- | sys/alpha/linux/linux_sysvec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c index 4d0def06ea26..eaf2a047eafc 100644 --- a/sys/alpha/linux/linux_sysvec.c +++ b/sys/alpha/linux/linux_sysvec.c @@ -221,7 +221,8 @@ linux_sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code) * if access is denied. */ if ((grow_stack (p, (int)fp) == FALSE) || - (useracc((caddr_t)fp, sizeof (struct linux_sigframe), B_WRITE) == FALSE)) { + !useracc((caddr_t)fp, sizeof (struct linux_sigframe), + VM_PROT_WRITE)) { /* * Process has trashed its stack; give it an illegal * instruction to halt it in its tracks. |
