summaryrefslogtreecommitdiffstats
path: root/lib/libpam/modules
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2006-09-13 15:48:15 +0000
committerscottl <scottl@FreeBSD.org>2006-09-13 15:48:15 +0000
commitae1ca6fd73256507ef9094b93fec5b9760349c20 (patch)
tree3f6091ef6a36694ab3df9980406f14ca618e4170 /lib/libpam/modules
parent3927aa447494d5f1b31035c64ecc9b2ae7401a52 (diff)
downloadFreeBSD-src-ae1ca6fd73256507ef9094b93fec5b9760349c20.zip
FreeBSD-src-ae1ca6fd73256507ef9094b93fec5b9760349c20.tar.gz
Introduce a spinlock for synchronizing access to the video output hardware
in syscons. This replaces a simple access semaphore that was assumed to be protected by Giant but often was not. If two threads that were otherwise SMP-safe called printf at the same time, there was a high likelyhood that the semaphore would get corrupted and result in a permanently frozen video console. This is similar to what is already done in the serial console drivers.
Diffstat (limited to 'lib/libpam/modules')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud