summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regexec.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-05-08 00:05:00 +0000
committerpeter <peter@FreeBSD.org>2003-05-08 00:05:00 +0000
commit068f75971f64344d1cb4e2cc5fefffb205dc2f50 (patch)
treee62d0c99ece0484a3cb4bfca5ea25d923a525779 /lib/libc/regex/regexec.c
parentc0c9e857817ea4cd7f136f335f31a0b397354ff0 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud