<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/getty, branch stable/12</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Revert "Do a sweep and remove most WARNS=6 settings"</title>
<updated>2021-08-29T13:28:30+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2021-08-29T13:28:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e92630fc682954a7b4f724f4a8174d196d7d9cc5'/>
<id>e92630fc682954a7b4f724f4a8174d196d7d9cc5</id>
<content type='text'>
This reverts commit befc47822966, as it caused various CI build errors,
and we never merged the prerequisite commit fe815331bb40 ("build:
provide a default WARNS for all in-tree builds"). The latter is rather
intrusive, so I will avoid it.

Direct commit to stable/12 since the CI bots are broken.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit befc47822966, as it caused various CI build errors,
and we never merged the prerequisite commit fe815331bb40 ("build:
provide a default WARNS for all in-tree builds"). The latter is rather
intrusive, so I will avoid it.

Direct commit to stable/12 since the CI bots are broken.
</pre>
</div>
</content>
</entry>
<entry>
<title>Do a sweep and remove most WARNS=6 settings</title>
<updated>2021-08-29T10:49:28+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-10-01T01:10:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=befc478229660bca9cbda38d73f6b9d7c8918ded'/>
<id>befc478229660bca9cbda38d73f6b9d7c8918ded</id>
<content type='text'>
Repeating the default WARNS here makes it slightly more difficult to
experiment with default WARNS changes, e.g. if we did something absolutely
bananas and introduced a WARNS=7 and wanted to try lifting the default to
that.

Drop most of them; there is one in the blake2 kernel module, but I suspect
it should be dropped -- the default WARNS in the rest of the build doesn't
currently apply to kernel modules, and I haven't put too much thought into
whether it makes sense to make it so.

(cherry picked from commit 7cc42f6d25ef2e19059d088fa7d4853fe9afefb5)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Repeating the default WARNS here makes it slightly more difficult to
experiment with default WARNS changes, e.g. if we did something absolutely
bananas and introduced a WARNS=7 and wanted to try lifting the default to
that.

Drop most of them; there is one in the blake2 kernel module, but I suspect
it should be dropped -- the default WARNS in the rest of the build doesn't
currently apply to kernel modules, and I haven't put too much thought into
whether it makes sense to make it so.

(cherry picked from commit 7cc42f6d25ef2e19059d088fa7d4853fe9afefb5)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r363408:</title>
<updated>2020-09-09T22:40:14+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2020-09-09T22:40:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3efa62d3b8706c55e05ba8c57c58e1921a6ecad4'/>
<id>3efa62d3b8706c55e05ba8c57c58e1921a6ecad4</id>
<content type='text'>
r363408 | imp | 2020-07-21 18:44:47 -0600 (Tue, 21 Jul 2020) | 4 lines

getty appears to date from 3rd edition research unix. That's the oldest man page
on TUHS and its 'unix 1972' restoration effort has assembler sources that look
like simpler version of what's in the 5th edition.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r363408 | imp | 2020-07-21 18:44:47 -0600 (Tue, 21 Jul 2020) | 4 lines

getty appears to date from 3rd edition research unix. That's the oldest man page
on TUHS and its 'unix 1972' restoration effort has assembler sources that look
like simpler version of what's in the 5th edition.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r355222, r355260:</title>
<updated>2019-12-15T08:23:38+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2019-12-15T08:23:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a23ed3f1ad8ccb2b1d72b9b5ffc4e7bcf362bbb6'/>
<id>a23ed3f1ad8ccb2b1d72b9b5ffc4e7bcf362bbb6</id>
<content type='text'>
r355222: Use strlcat().
r355260: Simplify code with strlcpy/strlcat.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r355222: Use strlcat().
r355260: Simplify code with strlcpy/strlcat.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r343479: Fix potential buffer overflow and undefined behavior.</title>
<updated>2019-02-09T14:21:29+00:00</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2019-02-09T14:21:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4af3ade922874be16a68ffddd7c5413d544a2040'/>
<id>4af3ade922874be16a68ffddd7c5413d544a2040</id>
<content type='text'>
The buffer allocated in read_chat() could be 1 element too short, if the
chatstr parameter passed in is 1 or 3 charachters long (e.g. "a" or "a b").
The allocation of the pointer array does not account for the terminating
NULL pointer in that case.

Overlapping source and destination strings are undefined in strcpy().
Instead of moving a string to the left by one character just increment the
char pointer before it is assigned to the results array.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The buffer allocated in read_chat() could be 1 element too short, if the
chatstr parameter passed in is 1 or 3 charachters long (e.g. "a" or "a b").
The allocation of the pointer array does not account for the terminating
NULL pointer in that case.

Overlapping source and destination strings are undefined in strcpy().
Instead of moving a string to the left by one character just increment the
char pointer before it is assigned to the results array.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move gettytab to libexec/getty/</title>
<updated>2018-09-05T15:25:23+00:00</updated>
<author>
<name>Brad Davis</name>
<email>brd@FreeBSD.org</email>
</author>
<published>2018-09-05T15:25:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ce9e223ebd9c3fc9225b1d45d598fe2988f64dde'/>
<id>ce9e223ebd9c3fc9225b1d45d598fe2988f64dde</id>
<content type='text'>
Approved by:	re (gjb), will (mentor)
Differential Revision:	https://reviews.freebsd.org/D16953
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re (gjb), will (mentor)
Differential Revision:	https://reviews.freebsd.org/D16953
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove pointless comment.</title>
<updated>2018-08-03T10:59:05+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2018-08-03T10:59:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b32ae5fe795d684389f353edd8b7a4df827e3b5d'/>
<id>b32ae5fe795d684389f353edd8b7a4df827e3b5d</id>
<content type='text'>
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
</pre>
</div>
</content>
</entry>
<entry>
<title>.Xr pam_securetty(8) from ttys(5), to hint the users as to what actually</title>
<updated>2018-08-03T10:58:13+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2018-08-03T10:58:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b6784423605b1d5ce6d1dfab57084f192acd47e4'/>
<id>b6784423605b1d5ce6d1dfab57084f192acd47e4</id>
<content type='text'>
enforces the 'secure' tty flag.

MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
enforces the 'secure' tty flag.

MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
</pre>
</div>
</content>
</entry>
<entry>
<title>.Xr pstat(8), so that people have a chance to learn how to get a list</title>
<updated>2018-03-02T14:16:19+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2018-03-02T14:16:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7a467312ef9f4c8f354d5747b2312b1fbe4a18dd'/>
<id>7a467312ef9f4c8f354d5747b2312b1fbe4a18dd</id>
<content type='text'>
of terminal devices using "pstat -t".

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of terminal devices using "pstat -t".

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix gettytab(5) to document f0, f1, and f2 as unsupported; they've been gone</title>
<updated>2018-02-26T17:51:18+00:00</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2018-02-26T17:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fe3f4a580a73ffe6ff14ec6a1169912f3ff2d5a2'/>
<id>fe3f4a580a73ffe6ff14ec6a1169912f3ff2d5a2</id>
<content type='text'>
since r131091.

PR:             184691 (partial)
Submitted by:   naddy@
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
since r131091.

PR:             184691 (partial)
Submitted by:   naddy@
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
</feed>
