summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2013-01-07 07:33:48 +0000
committergrehan <grehan@FreeBSD.org>2013-01-07 07:33:48 +0000
commit6b4735f33a04654288e66e77e13b9ec13c620488 (patch)
treefbf26081eca0dc491cca8ed1bed8fcbd81013abb /lib/libc
parent89556fd0ba3250c2723106cab75be15a87b0d650 (diff)
downloadFreeBSD-src-6b4735f33a04654288e66e77e13b9ec13c620488.zip
FreeBSD-src-6b4735f33a04654288e66e77e13b9ec13c620488.tar.gz
Don't completely drain the read file descriptor. Instead, only
fill up to the uart's rx fifo size, and leave any remaining input for when the rx fifo is read. This allows cut'n'paste of long lines to be done into the bhyve console without truncation. Also, introduce a mutex since the file input will run in the mevent thread context and may corrupt state accessed by a vCPU thread. Reviewed by: neel Approved by: NetApp
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud