<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/pty, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r303151:</title>
<updated>2016-07-28T11:51:20+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-07-28T11:51:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9465945bd1c19f69b09ab15fc00541d29405e0fb'/>
<id>9465945bd1c19f69b09ab15fc00541d29405e0fb</id>
<content type='text'>
Provide counter_warning(9) KPI.

MFC r303155:
Hide counted_warning(9) under #ifdef _KERNEL braces.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide counter_warning(9) KPI.

MFC r303155:
Hide counted_warning(9) under #ifdef _KERNEL braces.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r298337:</title>
<updated>2016-05-13T08:41:09+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2016-05-13T08:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6b6d4233df6b69892741f076c71f1a0c0bca7562'/>
<id>6b6d4233df6b69892741f076c71f1a0c0bca7562</id>
<content type='text'>
r298337 (by cem):

pty(4): Use strlcpy to guarantee destination buffer isn't overrun

The devtoname() name is strcpyed into a small stack buffer.  Sure, we always
expect the name to be ttyXX (or ptyXX).  If that's the case, strlcpy() doesn't
hurt.

CID:		1006768
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r298337 (by cem):

pty(4): Use strlcpy to guarantee destination buffer isn't overrun

The devtoname() name is strcpyed into a small stack buffer.  Sure, we always
expect the name to be ttyXX (or ptyXX).  If that's the case, strlcpy() doesn't
hurt.

CID:		1006768
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r293825:</title>
<updated>2016-02-03T15:16:20+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-02-03T15:16:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=94c1107c499b1873690aebb32600a983a86722e4'/>
<id>94c1107c499b1873690aebb32600a983a86722e4</id>
<content type='text'>
Switch legacy pty clone handler to use make_dev_s(9).

MFC r294594:
Remove printf only useful for debugging.

Approved by:	re (marius)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch legacy pty clone handler to use make_dev_s(9).

MFC r294594:
Remove printf only useful for debugging.

Approved by:	re (marius)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix whitespace inconsistencies in the TTY layer and its drivers owned by me.</title>
<updated>2011-06-26T18:26:20+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2011-06-26T18:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7c9669276e4a26554643756f0c0ff180b990b625'/>
<id>7c9669276e4a26554643756f0c0ff180b990b625</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Finish r210923, 210926. Mark some devices as eternal.</title>
<updated>2011-01-04T10:59:38+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2011-01-04T10:59:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=23b70c1ae21553acc791d61475afa4708977ad9c'/>
<id>23b70c1ae21553acc791d61475afa4708977ad9c</id>
<content type='text'>
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Move ptmx into pty(4).</title>
<updated>2009-09-06T10:27:45+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-09-06T10:27:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4d3b1aacfce673dc535917542c1844221f1fc9a5'/>
<id>4d3b1aacfce673dc535917542c1844221f1fc9a5</id>
<content type='text'>
Now that pty(4) is a loadable kernel module, I'd better move /dev/ptmx
in there as well. This means that pty(4) now provides almost all
pseudo-terminal compatibility code. This means it's very easy to test
whether applications use the proper library interfaces when allocating
pseudo-terminals (namely posix_openpt and openpty).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that pty(4) is a loadable kernel module, I'd better move /dev/ptmx
in there as well. This means that pty(4) now provides almost all
pseudo-terminal compatibility code. This means it's very easy to test
whether applications use the proper library interfaces when allocating
pseudo-terminals (namely posix_openpt and openpty).
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow pty(4) to be loaded as a kld.</title>
<updated>2009-08-23T20:26:09+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-08-23T20:26:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bfdaa523828e5a7e690ec5d7e9b5353bef992d2f'/>
<id>bfdaa523828e5a7e690ec5d7e9b5353bef992d2f</id>
<content type='text'>
Unfortunately, the wrappers that are present in pts(4) don't have the
mechanics to allow pty(4) to be unloaded safely, so I'm forcing this kld
to return EBUSY. This also means we have to enable some extra code in
pts(4) unconditionally.

Proposed by:	rwatson
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately, the wrappers that are present in pts(4) don't have the
mechanics to allow pty(4) to be unloaded safely, so I'm forcing this kld
to return EBUSY. This also means we have to enable some extra code in
pts(4) unconditionally.

Proposed by:	rwatson
</pre>
</div>
</content>
</entry>
</feed>
