<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/vt, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r332452: Update vt(4) "Terminus BSD Console" font to v4.46</title>
<updated>2018-04-19T00:50:51+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-04-19T00:50:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=05464b6be562b5e9d6fcea2b6a68fdd9db5f31a1'/>
<id>05464b6be562b5e9d6fcea2b6a68fdd9db5f31a1</id>
<content type='text'>
"Terminus BSD Console" is a derivative of Terminus that is provided
by Mr. Dimitar Zhekov under the 2-clause BSD license for use by the
FreeBSD vt(4) console and other BSDs.

PR:		227409
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"Terminus BSD Console" is a derivative of Terminus that is provided
by Mr. Dimitar Zhekov under the 2-clause BSD license for use by the
FreeBSD vt(4) console and other BSDs.

PR:		227409
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r332421: vt: add three more cp437 mappings for vga textmode</title>
<updated>2018-04-17T12:52:30+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2018-04-17T12:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4d88e7e65ef436e18c313a550006537d472e3a33'/>
<id>4d88e7e65ef436e18c313a550006537d472e3a33</id>
<content type='text'>
In UTF-8 locales mandoc uses a number of characters outside of the Basic
Latin group, e.g. from general punctuation or miscellaneous mathematical
symbols, and these rendered as ? in text mode.

This change adds (char, replacement, code point, description):

    – - U+2013 En Dash
    ⟨ &lt; U+27E8 Mathematical Left Angle Bracket
    ⟩ &gt; U+27E9 Mathematical Right Angle Bracket

This change addresses some common cases; there are others that still
need to be added after a more thorough review.

PR:		227409
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In UTF-8 locales mandoc uses a number of characters outside of the Basic
Latin group, e.g. from general punctuation or miscellaneous mathematical
symbols, and these rendered as ? in text mode.

This change adds (char, replacement, code point, description):

    – - U+2013 En Dash
    ⟨ &lt; U+27E8 Mathematical Left Angle Bracket
    ⟩ &gt; U+27E9 Mathematical Right Angle Bracket

This change addresses some common cases; there are others that still
need to be added after a more thorough review.

PR:		227409
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r331981:</title>
<updated>2018-04-04T05:26:33+00:00</updated>
<author>
<name>Gordon Tetlow</name>
<email>gordon@FreeBSD.org</email>
</author>
<published>2018-04-04T05:26:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b215cd6eebda39065005fc885baf2f62affea969'/>
<id>b215cd6eebda39065005fc885baf2f62affea969</id>
<content type='text'>
Limit glyph count in vtfont_load to avoid integer overflow.

Invalid font data passed to PIO_VFONT can result in an integer overflow
in glyphsize.  Characters may then be drawn on the console using glyph
map entries that point beyond the end of allocated glyph memory,
resulting in a kernel memory disclosure.

Submitted by:   emaste
Reported by:    Dr. Silvio Cesare of InfoSect
Security:       CVE-2018-6917
Security:       FreeBSD-SA-18:04.vt
Sponsored by:   The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Limit glyph count in vtfont_load to avoid integer overflow.

Invalid font data passed to PIO_VFONT can result in an integer overflow
in glyphsize.  Characters may then be drawn on the console using glyph
map entries that point beyond the end of allocated glyph memory,
resulting in a kernel memory disclosure.

Submitted by:   emaste
Reported by:    Dr. Silvio Cesare of InfoSect
Security:       CVE-2018-6917
Security:       FreeBSD-SA-18:04.vt
Sponsored by:   The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r313547, r313777: fix mouse selection when vt(4) scrolls</title>
<updated>2017-07-19T13:32:08+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2017-07-19T13:32:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=09f321941dbaa2090f6fc59b0272f08984569cb6'/>
<id>09f321941dbaa2090f6fc59b0272f08984569cb6</id>
<content type='text'>
r313547 (ray, submitted by hselasky):

o Reset mouse selection when new lines reach selection lines.
o Fix how selection handled on display.

r313777 (rpokala):

Un-break vt(4) for {powerpc,powerpc64,sparc64} LINT kernel builds

The {powerpc,powerpc64,sparc64} LINT kernel builds fail with this error:

    sys/dev/vt/vt_buf.c:198: warning: 'vtbuf_htw' defined but not used

Move vtbuf_htw() inside the '#if SC_NO_CUTPASTE' block where it belongs, and
put it in the proper order.

This fixes the immedate issue w/ vt(4), but all three then fail on different
issues.

PR:		211922
Relnotes:	Yes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r313547 (ray, submitted by hselasky):

o Reset mouse selection when new lines reach selection lines.
o Fix how selection handled on display.

r313777 (rpokala):

Un-break vt(4) for {powerpc,powerpc64,sparc64} LINT kernel builds

The {powerpc,powerpc64,sparc64} LINT kernel builds fail with this error:

    sys/dev/vt/vt_buf.c:198: warning: 'vtbuf_htw' defined but not used

Move vtbuf_htw() inside the '#if SC_NO_CUTPASTE' block where it belongs, and
put it in the proper order.

This fixes the immedate issue w/ vt(4), but all three then fail on different
issues.

PR:		211922
Relnotes:	Yes
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r303043: Increase vt(4) framebuffer maximum size</title>
<updated>2017-07-19T13:11:35+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2017-07-19T13:11:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da1ef6d660da760c1f39a77b947dff46d5a13f5a'/>
<id>da1ef6d660da760c1f39a77b947dff46d5a13f5a</id>
<content type='text'>
PR:		210382
Relnotes:	Yes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		210382
Relnotes:	Yes
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r319928:</title>
<updated>2017-07-17T21:09:35+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-07-17T21:09:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=60f01a07e0c2c6ae2a62c8fd99f27847732296a5'/>
<id>60f01a07e0c2c6ae2a62c8fd99f27847732296a5</id>
<content type='text'>
Use nitems(..) when computing `max` instead of the longhand version of
the same logic
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use nitems(..) when computing `max` instead of the longhand version of
the same logic
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r303338: vt: lock Giant around kbd calls in CONS_GETINFO</title>
<updated>2016-08-01T19:53:18+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-08-01T19:53:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9f521028cc8928e34be96a7ea5c4295c88ae8a47'/>
<id>9f521028cc8928e34be96a7ea5c4295c88ae8a47</id>
<content type='text'>
Note that keyboards are stored in an array and are not freed (just
"unregistered" by clearing some fields) so a race would be limited to
obtaining stale information about an unregistered keyboard.

Reported by:	CTurt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that keyboards are stored in an array and are not freed (just
"unregistered" by clearing some fields) so a race would be limited to
obtaining stale information about an unregistered keyboard.

Reported by:	CTurt
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC 297334</title>
<updated>2016-06-16T04:32:11+00:00</updated>
<author>
<name>Sepherosa Ziehau</name>
<email>sephe@FreeBSD.org</email>
</author>
<published>2016-06-16T04:32:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c10a35d1fecc52ba3d90ef7b20ecf74d23daceb0'/>
<id>c10a35d1fecc52ba3d90ef7b20ecf74d23daceb0</id>
<content type='text'>
    vt: Use textmode when we're running on hypervisors

    The graphic mode is noticeably slow on hypervisors, especially
    on Hyper-V (1 second to each line).

    Submitted by:       Dexuan Cui &lt;decui microsoft com&gt;
    Reviewed by:        kib, sephe, royger (early loader version)
    MFC after:  1 week
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D5739
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    vt: Use textmode when we're running on hypervisors

    The graphic mode is noticeably slow on hypervisors, especially
    on Hyper-V (1 second to each line).

    Submitted by:       Dexuan Cui &lt;decui microsoft com&gt;
    Reviewed by:        kib, sephe, royger (early loader version)
    MFC after:  1 week
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D5739
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: r285912</title>
<updated>2015-12-27T19:47:56+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2015-12-27T19:47:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=32543786f4f1920acaf1cd44f6058b9bb43b319a'/>
<id>32543786f4f1920acaf1cd44f6058b9bb43b319a</id>
<content type='text'>
- Use __FBSDID().
- Const'ify cons_to_vga_colors.
- Fix line wrapping.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use __FBSDID().
- Const'ify cons_to_vga_colors.
- Fix line wrapping.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC: r272715</title>
<updated>2015-09-14T14:42:06+00:00</updated>
<author>
<name>Aleksandr Rybalko</name>
<email>ray@FreeBSD.org</email>
</author>
<published>2015-09-14T14:42:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8ede3723e0660f4826a9453ca15feaa3cb8f4422'/>
<id>8ede3723e0660f4826a9453ca15feaa3cb8f4422</id>
<content type='text'>
	Allow vt(4) to disable terminal bell with `sysctl kern.vt.bell_enable=0`,
	similar as syscons(4) do.

Submitted by: Tiwei Bie &lt;btw@mail.ustc.edu.cn&gt;
Sponsored by: The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Allow vt(4) to disable terminal bell with `sysctl kern.vt.bell_enable=0`,
	similar as syscons(4) do.

Submitted by: Tiwei Bie &lt;btw@mail.ustc.edu.cn&gt;
Sponsored by: The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
</feed>
