summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/scanf.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-12-16 18:28:33 +0000
committerkib <kib@FreeBSD.org>2014-12-16 18:28:33 +0000
commit42d5fa98d30175edd5c387fa437ec4d956cb2300 (patch)
tree5bab7bd32ecb7998e9cf2d68dfbc476532a3c1cc /lib/libc/stdio/scanf.c
parented7560000fc3fb90198b801920bef29f4195e861 (diff)
downloadFreeBSD-src-42d5fa98d30175edd5c387fa437ec4d956cb2300.zip
FreeBSD-src-42d5fa98d30175edd5c387fa437ec4d956cb2300.tar.gz
The iret instruction may generate #np and #ss fault, besides #gp.
When returning to usermode, the handler for that exceptions is also executed with wrong gs base. Handle all three possible faults in the same way, checking for iret fault, and performing full iret. Sponsored by: The FreeBSD Foundation MFC after: 3 days
Diffstat (limited to 'lib/libc/stdio/scanf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud