<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/usr.bin/login, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-12-19T03:07:38Z</updated>
<entry>
<title>login(1): when exporting variables check the result of setenv(3)</title>
<updated>2020-12-19T03:07:38Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2020-12-19T03:07:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=dcc6f62526ad357f17fe030f6b9b4c3001add705'/>
<id>urn:sha1:dcc6f62526ad357f17fe030f6b9b4c3001add705</id>
<content type='text'>
When exporting a variable we correctly check all the preconditions that
could make setenv(3) fail. Checking the setenv(3) return value seems
redundant, but given that login(1) is critical, it doesn't hurt to have
a post-check.

This change is based on the "Principles of Secure Coding" course by
Matthew Bishop, PhD., which specifically discusses this code in FreeBSD.

(This change redoes r368776 due to a silly mistake)
</content>
</entry>
<entry>
<title>Revert r368776:</title>
<updated>2020-12-19T02:42:14Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2020-12-19T02:42:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a0bed901984022e6e0fdfc017c70e31302de878e'/>
<id>urn:sha1:a0bed901984022e6e0fdfc017c70e31302de878e</id>
<content type='text'>
login(1): when exporting variables check the result of setenv(3)

mismatch: the return value upon error is -1, so the code was not
doing nothing.
</content>
</entry>
<entry>
<title>login(1): when exporting variables check the result of setenv(3)</title>
<updated>2020-12-19T02:23:53Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2020-12-19T02:23:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ebb4fcc7cf3045dcd3b7ff6eb6877fb4ec4a9e05'/>
<id>urn:sha1:ebb4fcc7cf3045dcd3b7ff6eb6877fb4ec4a9e05</id>
<content type='text'>
When exporting a variable we correctly check all the preconditions that
could make setenv(3) fail. Checking the setenv(3) return value seems
redundant, but given that login(1) is critical, it doesn't hurt to have
a post-check.

This change is based on the "Principles of Secure Coding" course by
Matthew Bishop, PhD., which specifically discusses this code in FreeBSD.

Differential Revision:	https://reviews.freebsd.org/D26966
</content>
</entry>
<entry>
<title>Change the default locale to C.UTF-8</title>
<updated>2020-11-14T19:16:39Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2020-11-14T19:16:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=09ef995baf45333d45ab214daf8c03e1a25f8fcc'/>
<id>urn:sha1:09ef995baf45333d45ab214daf8c03e1a25f8fcc</id>
<content type='text'>
The C.UTF-8 locales is the same as the actual C locale except it does support
the unicode character set. But the collation etc are still the same as the C
locale one.

Reviewed by:	many
Approved by:	many
Differential Revision:	https://reviews.freebsd.org/D26973
</content>
</entry>
<entry>
<title>Add more explicit instructions about updating motd</title>
<updated>2020-10-19T01:16:39Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2020-10-19T01:16:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=618cdd89645f0a6af3ef85c59fda975888ae83f8'/>
<id>urn:sha1:618cdd89645f0a6af3ef85c59fda975888ae83f8</id>
<content type='text'>
Not that you can regenerate the motd by editing motd.template and
running 'service motd restart' rather than rebooting.

Small wordsmithing by me, and updated the example from FreeBSD 2.1.6.1
release to 12.1 release.

Submitted by: Dan Mack
</content>
</entry>
<entry>
<title>Normalize deployment tools usage and definitions by putting into one place</title>
<updated>2020-04-07T02:46:22Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2020-04-07T02:46:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a8b8edb25e1d97b1872f699d31b43633d60d76b8'/>
<id>urn:sha1:a8b8edb25e1d97b1872f699d31b43633d60d76b8</id>
<content type='text'>
instead of sprinkling them out over many disjoint files. This is a follow-up
to achieve the same goal in an incomplete rev.348521.

Approved by:	imp
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D20520
</content>
</entry>
<entry>
<title>login.conf(5): update commented-out standard, too</title>
<updated>2020-02-09T22:35:49Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-09T22:35:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=020419b6652e4570efac3108b5232e76f3ba2ba2'/>
<id>urn:sha1:020419b6652e4570efac3108b5232e76f3ba2ba2</id>
<content type='text'>
MAIL now has a mail capability, instead, as of r357560.
</content>
</entry>
<entry>
<title>login.conf(5): set a default PATH for the daemon class</title>
<updated>2020-02-05T04:27:08Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-05T04:27:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ed6f64ff8a90eee579fefef510329b5e9f1f9a65'/>
<id>urn:sha1:ed6f64ff8a90eee579fefef510329b5e9f1f9a65</id>
<content type='text'>
This is a sensible default used by, e.g., cron(8), and useful if one wanted
to honor it.

This is a part of D21481.

Submitted by:	Andrew Gierth &lt;andrew_tao173.riddles.org.uk&gt;
</content>
</entry>
<entry>
<title>login.conf(5): split MAIL env var out into a "mail" capability</title>
<updated>2020-02-05T04:17:14Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-02-05T04:17:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=acf2957e49f798b82c130cbf6e4e5ef986911bba'/>
<id>urn:sha1:acf2957e49f798b82c130cbf6e4e5ef986911bba</id>
<content type='text'>
This allows it to be easily suppressed in, e.g., the "daemon" class where it
will not be properly expanded.

This is a part of D21481.

Submitted by:	Andrew Gierth &lt;andrew_tao173.riddles.org.uk&gt;
</content>
</entry>
<entry>
<title>Update Makefile.depend files</title>
<updated>2019-12-11T17:37:53Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2019-12-11T17:37:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2c9a9dfc187d171de6b92654d71b977f067ed641'/>
<id>urn:sha1:2c9a9dfc187d171de6b92654d71b977f067ed641</id>
<content type='text'>
Update a bunch of Makefile.depend files as
a result of adding Makefile.depend.options files

Reviewed by:	 bdrewery
MFC after:	1 week
Sponsored by:   Juniper Networks
Differential Revision:  https://reviews.freebsd.org/D22494
</content>
</entry>
</feed>
