diff options
author | peter <peter@FreeBSD.org> | 2003-05-08 00:05:00 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-05-08 00:05:00 +0000 |
commit | 068f75971f64344d1cb4e2cc5fefffb205dc2f50 (patch) | |
tree | e62d0c99ece0484a3cb4bfca5ea25d923a525779 /lib/libc/regex/regexec.c | |
parent | c0c9e857817ea4cd7f136f335f31a0b397354ff0 (diff) | |
download | FreeBSD-src-068f75971f64344d1cb4e2cc5fefffb205dc2f50.zip FreeBSD-src-068f75971f64344d1cb4e2cc5fefffb205dc2f50.tar.gz |
Fix a preemption race. I was reenabling interrupts in the fast system
call handler before it was safe. It was possible for to lose context
and for something else to clobber the PCPU scratch variable. This
moves the interrupt enable *way* too late, but its better safe than
sorry for the moment.
Diffstat (limited to 'lib/libc/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions