diff options
author | andrew <andrew@FreeBSD.org> | 2016-06-22 12:05:08 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-06-22 12:05:08 +0000 |
commit | 4c327142ba2577ba04fa3df00bb2c992d4420495 (patch) | |
tree | 29f80a72041b2159d50eb800ca8a6778a4f85e2b /lib/libc/stdio/setbuf.c | |
parent | 2b26f1f44b746e4ccfd50c9d1e2cd3f7ac1e3ad5 (diff) | |
download | FreeBSD-src-4c327142ba2577ba04fa3df00bb2c992d4420495.zip FreeBSD-src-4c327142ba2577ba04fa3df00bb2c992d4420495.tar.gz |
Fix a race when the hardware has raised an exception with an unknown or
uncategorised reason. We need to read the fault address register before
enabling interrupts as the interrupt handler may cause this register to
change.
Approved by: re (marius, kib)
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libc/stdio/setbuf.c')
0 files changed, 0 insertions, 0 deletions