summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/arc4random/getentropy_solaris.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-05-17 14:06:02 +0000
committerjsg <jsg@openbsd.org>2020-05-17 14:06:02 +0000
commit8f7c441ba3f5ac4d3396441a3f7d0558612b9939 (patch)
treee312013394c90bba803ea68451f768f7343f5cef /lib/libcrypto/arc4random/getentropy_solaris.c
parentPut setjmp+longjmp inside #ifdef DDB the only kernel-side user. (diff)
downloadwireguard-openbsd-8f7c441ba3f5ac4d3396441a3f7d0558612b9939.tar.xz
wireguard-openbsd-8f7c441ba3f5ac4d3396441a3f7d0558612b9939.zip
restore VGA fonts on VT switch
Avoids an unusable screen when switching to a VT with a custom VGA font from X. While it is possible to modify the xserver to invoke an ioctl for this kettenis@ points out the xserver may have crashed so doing it in the kernel is preferred. Problem reported by and patch from John Carmack. Changed slightly to do the vga_restore_fonts() (write to video memory) call before vga_setfont() (pointing the character generator at it) at the suggestion of kettenis@. ok kettenis@
Diffstat (limited to 'lib/libcrypto/arc4random/getentropy_solaris.c')
0 files changed, 0 insertions, 0 deletions