<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin, branch releng/13.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-10-29T18:54:58Z</updated>
<entry>
<title>fetch: correct env var name for --crl option to work</title>
<updated>2024-10-29T18:54:58Z</updated>
<author>
<name>Franco Fichtner</name>
<email>franco@opnsense.org</email>
</author>
<published>2024-10-07T09:36:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f1314a30b4a6f5bcc2c149b8555fce539cc0f11'/>
<id>urn:sha1:9f1314a30b4a6f5bcc2c149b8555fce539cc0f11</id>
<content type='text'>
Reviewed by:	grembo
MFC after:	3 days
Security:	FreeBSD-SA-24:19.fetch
Approved by:	so
Differential Revision: https://reviews.freebsd.org/D46973

(cherry picked from commit 1d7a33888e09f86feb4c2c9f9640d936be07ce9d)
(cherry picked from commit 48472457842226eb3445fd70dd995954020f0cb8)
</content>
</entry>
<entry>
<title>calendar: don't setlogin(2) in the -a user handlers</title>
<updated>2024-09-04T20:28:41Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2024-08-05T18:43:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eab94c0fbb782f1d849981d0dde2106ec9bc8df3'/>
<id>urn:sha1:eab94c0fbb782f1d849981d0dde2106ec9bc8df3</id>
<content type='text'>
As of e67975d331 ("Fix 'calendar -a' in several ways."), `calendar -a`
will now fork off a new process for each user and do all of its own
processing in the user's own context.

As a side-effect, calendar(1) started calling setlogin(2) in each of the
forked processes and inadvertently hijacked the login name for the
session it was running under, which was typically not a fresh session
but rather that of whatever cron/periodic run spawned it.  Thus, daily
and security e-mails started coming from completely arbitrary user.

We could create a new session, but it appears that nothing calendar(1)
does really needs the login name to be clobbered; opt to just avoid the
setlogin(2) call entirely rather than incur the overhead of a new
session for each process.

PR:		280418
Reviewed by:	des, olce
Fixes:		e67975d331 ("Fix 'calendar -a' in several ways.")

(cherry picked from commit 6cb8b61efe8899ee9194563108d0ae90c1eb89e3)
(cherry picked from commit 3a9010c98b3d9676307fac20d42cdd3cfd4bc46d)

Approved by:	so
</content>
</entry>
<entry>
<title>join(1): Fix ordering in case of missing fields</title>
<updated>2024-01-31T09:19:00Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2024-01-22T10:35:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=085ab2c143eb5192ea18b8dd52bd8fa69c9f2d06'/>
<id>urn:sha1:085ab2c143eb5192ea18b8dd52bd8fa69c9f2d06</id>
<content type='text'>
The comparison function had the ordering reversed causing join(1) to
miss some matching lines.

PR:		232405
Submitted by:	Martijn van Duren &lt;martijn@openbsd.org&gt;

(cherry picked from commit 95bf75895ddcf17402b1f69dce26cb821c922476)
</content>
</entry>
<entry>
<title>top: Avoid printing a blank line when the ZFS ARC is empty</title>
<updated>2024-01-25T14:58:44Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-01-11T14:58:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f4524aff6d66edbfb7b3f184118b0a4299c4b1af'/>
<id>urn:sha1:f4524aff6d66edbfb7b3f184118b0a4299c4b1af</id>
<content type='text'>
PR:		275994
MFC after:	2 weeks

(cherry picked from commit 1f62718d8ba26d813d8c2e826ac5f4caee4c6730)
</content>
</entry>
<entry>
<title>renice: Clean up the tests a bit.</title>
<updated>2024-01-21T16:11:13Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2023-12-20T16:59:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5b88f1efe1081885e0015bc4332a693a542fc5cf'/>
<id>urn:sha1:5b88f1efe1081885e0015bc4332a693a542fc5cf</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	ngie, asomers
Differential Revision:	https://reviews.freebsd.org/D43087

(cherry picked from commit afdce0837014fb7a41fced959c9457f89e878052)
</content>
</entry>
<entry>
<title>renice: Force /bin/sh usage on su calls for the regression tests.</title>
<updated>2024-01-21T16:11:08Z</updated>
<author>
<name>Olivier Cochard</name>
<email>olivier@FreeBSD.org</email>
</author>
<published>2022-10-13T15:23:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f5c2e34f226a7ffd04a71dfb5e9c7f358068607'/>
<id>urn:sha1:9f5c2e34f226a7ffd04a71dfb5e9c7f358068607</id>
<content type='text'>
If the root account is configured to use a different shell than sh,
it fails to retreive the pid of the background process.

Approved by:	des
Obtained from:	chs
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D36930

(cherry picked from commit 07b1ea961af77d728dfef4d0a11f98a8ab2fe226)
</content>
</entry>
<entry>
<title>nfsstat: make -q work without -e/-E</title>
<updated>2024-01-19T20:23:42Z</updated>
<author>
<name>Lexi Winter</name>
<email>lexi@le-fay.org</email>
</author>
<published>2023-12-28T12:56:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1726e4ced9009b516bdb276234718489c1a0e05f'/>
<id>urn:sha1:1726e4ced9009b516bdb276234718489c1a0e05f</id>
<content type='text'>
Pull Request:	https://github.com/freebsd/freebsd-src/pull/961

(cherry picked from commit f79b200b6aefb9bdcbe931c5b7ea604e259beee0)
</content>
</entry>
<entry>
<title>nfsstat: update option strings in docs</title>
<updated>2024-01-19T20:22:54Z</updated>
<author>
<name>Lexi Winter</name>
<email>lexi@le-fay.org</email>
</author>
<published>2023-12-27T17:30:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=266c79883a7e1653f80c482a6fba513c80ac5f35'/>
<id>urn:sha1:266c79883a7e1653f80c482a6fba513c80ac5f35</id>
<content type='text'>
Add the missing -q option to the nfsstat(1) manpage SYNOPSIS (it is
already documented in DESCRIPTION), and add the missing -E and -q
options to the built-in usage output.

PR:		275912
Pull Request:	https://github.com/freebsd/freebsd-src/pull/958

(cherry picked from commit 30ce26cacfd626552c647c9327dd510e7f421d97)
</content>
</entry>
<entry>
<title>mail: add volatile in grabh()</title>
<updated>2024-01-19T14:26:53Z</updated>
<author>
<name>Lexi Winter</name>
<email>lexi@le-Fay.ORG</email>
</author>
<published>2024-01-04T22:34:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d78f3a6310d0f873a8515541e6fbf62ef7237d6'/>
<id>urn:sha1:6d78f3a6310d0f873a8515541e6fbf62ef7237d6</id>
<content type='text'>
setjmp() requires that any stack variables modified between the setjmp
call and the longjmp() must be volatile.  This means that 'saveint' in
grabh() must be volatile, since it's modified after the setjmp().
Otherwise, the signal handler is not properly restored, resulting in a
crash (SIGBUS) if ^C is typed twice while composing.

PR:		276119
Reported by:	Christopher Davidson &lt;christopher.davidson@gmail.com&gt;
MFC after:	2 weeks
Pull Request:	https://github.com/freebsd/freebsd-src/pull/993

(cherry picked from commit 6c951b37170f1fb2ae8b4827070743e61b6eaed2)
</content>
</entry>
<entry>
<title>usr.bin/gh-bc: fix missing LTO support after MFC</title>
<updated>2024-01-19T08:19:38Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2024-01-19T08:19:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=62d25c65977f5bea6553650f2acc0d15f8e13368'/>
<id>urn:sha1:62d25c65977f5bea6553650f2acc0d15f8e13368</id>
<content type='text'>
Restore exclusion of powerpc64 and mips* from LTO, which has been lost
by the MFC of the fix for the WITHOUT_NLS_CATALOGS case.
</content>
</entry>
</feed>
