<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin, branch release/13.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-08-21T15:59:21Z</updated>
<entry>
<title>tail -F: fix crash</title>
<updated>2024-08-21T15:59:21Z</updated>
<author>
<name>Andre Albsmeier</name>
<email>mail@fbsd2.e4m.org</email>
</author>
<published>2024-08-19T07:54:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9b945635c147feb4ac6ebf84bd19e149e9a10227'/>
<id>urn:sha1:9b945635c147feb4ac6ebf84bd19e149e9a10227</id>
<content type='text'>
PR:	280910
Approved by:	re (cperciva)

(cherry picked from commit 308399a179a49b7b858c725de10177fdb0502fd2)
(cherry picked from commit 8dfa4e5b6ce2e22ef92c0ec13aa001994774c23f)
</content>
</entry>
<entry>
<title>calendar: don't setlogin(2) in the -a user handlers</title>
<updated>2024-08-14T03:36:52Z</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=7088bf662d46ef321a5838d290285086cd6446d2'/>
<id>urn:sha1:7088bf662d46ef321a5838d290285086cd6446d2</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
Approved by:	re (cperciva)
Fixes:		e67975d331 ("Fix 'calendar -a' in several ways.")

(cherry picked from commit 6cb8b61efe8899ee9194563108d0ae90c1eb89e3)
(cherry picked from commit 3a9010c98b3d9676307fac20d42cdd3cfd4bc46d)
</content>
</entry>
<entry>
<title>diff: Fix integer overflow.</title>
<updated>2024-08-01T16:46:19Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-07-29T14:02:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c14665b4aee7e1594467bac4a9d9cc5c66173975'/>
<id>urn:sha1:c14665b4aee7e1594467bac4a9d9cc5c66173975</id>
<content type='text'>
The legacy Stone algorithm uses `int` to represent line numbers, array
indices, and array lengths.  If given inputs approaching `INT_MAX` lines,
it would overflow and attempt to allocate ridiculously large amounts of
memory.  To avoid this without penalizing non-pathological inputs,
switch a few variables to `size_t` and add checks while and immediately
after reading both inputs.

MFC after:	3 days
PR:		280371
Sponsored by:	Klara, Inc.
Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D46169

(cherry picked from commit 9317242469f1ca682626d9806f8caf65d143c09a)
</content>
</entry>
<entry>
<title>sdiff: Fix --expand-tabs and --tabsize.</title>
<updated>2024-08-01T16:46:18Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-02-18T17:39:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=174337b9eca0d28b96f2749b44ff4e29d201c144'/>
<id>urn:sha1:174337b9eca0d28b96f2749b44ff4e29d201c144</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D43941

(cherry picked from commit a834edfccd14a8c0f152a3b0078469af8e05f3fd)

sdiff: Fix binary case.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D43942

(cherry picked from commit ad7bef8b890768e68a48bbfa6b92ebf635068504)

sdiff: Fix usage message.

The `--ignore-all-space` option was incorrectly documented as
`--ignore-all-spaces`.

MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	0mp, markj
Differential Revision:	https://reviews.freebsd.org/D46161

(cherry picked from commit ca75b7dac886de66fc06fd31facfa2c561f7567e)
</content>
</entry>
<entry>
<title>sdiff: Misc cleanup.</title>
<updated>2024-08-01T16:43:03Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-02-18T17:39:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9c2b6778b2f1f7e7355846ce28c80a88ae462cb4'/>
<id>urn:sha1:9c2b6778b2f1f7e7355846ce28c80a88ae462cb4</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D43943

(cherry picked from commit 3cc86989bfbe27c91b5db592c2af33fef153e230)
</content>
</entry>
<entry>
<title>diff: Fix usage message and documentation.</title>
<updated>2024-08-01T16:43:02Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-07-29T14:02:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ae8b85ac11257f1166dfe25c354bf0d4bd64b98d'/>
<id>urn:sha1:ae8b85ac11257f1166dfe25c354bf0d4bd64b98d</id>
<content type='text'>
The `--ignore-all-space` option was incorrectly documented as
`--ignore-all-blanks` in some (but not all) places.

MFC after:	3 days
PR:		280434
Sponsored by:	Klara, Inc.
Reviewed by:	0mp, markj
Differential Revision:	https://reviews.freebsd.org/D46160

(cherry picked from commit ab830de9f58c1b257e42b4fbdd46b3ca6a837ee6)
</content>
</entry>
<entry>
<title>ktrace(1): add more xrefs</title>
<updated>2024-08-01T15:09:22Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2024-06-11T00:31:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0e678b79d7b03e7d58e528bed1d87b39eef02c60'/>
<id>urn:sha1:0e678b79d7b03e7d58e528bed1d87b39eef02c60</id>
<content type='text'>
Following commit a87651e2ff18 add xrefs to intro(2) and sigaction(2),
and use a consistent form.

Suggested by:	kib, arrowd
Reviewed by:	kib (earlier)
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45555

(cherry picked from commit 0277c0c6f72a964bf0439db1f4558551052e4f3b)
(cherry picked from commit 7110def1b1dbf33d5f9e4505c0d646495f91acb6)
</content>
</entry>
<entry>
<title>ktrace(1): add xref to namei(9)</title>
<updated>2024-08-01T15:09:05Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2024-06-10T12:51:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c9294b873683669819d2a37ba2fa9d3559b6774d'/>
<id>urn:sha1:c9294b873683669819d2a37ba2fa9d3559b6774d</id>
<content type='text'>
namei was mistaken for a typo (see GitHub pull request #1284).  Add an
xref to make it clear.

Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45546

(cherry picked from commit a87651e2ff189cec4c26cb220354f1bc93794f31)
(cherry picked from commit ecd0ead0635b3d220ecf600f9136f12077dd0fca)
</content>
</entry>
<entry>
<title>13.4: update stable/13 to -PRERELEASE</title>
<updated>2024-07-20T00:31:41Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2024-07-20T00:31:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d15b7f50c73e16c8f0706ca163c53da9af86ffe3'/>
<id>urn:sha1:d15b7f50c73e16c8f0706ca163c53da9af86ffe3</id>
<content type='text'>
This marks the start of the FreeBSD 13.4 release cycle; the stable/13
tree is now in "code slush".

Developers are encouraged to prioritize fixing bugs (and/or merging bug
fixes from HEAD) over new features at this time.  Commit approval from
re@ is not required but if new features introduce problems they may be
removed from the release.

Approved by:	re (implicit)
Sponsored by:	Amazon
</content>
</entry>
<entry>
<title>systat: fix build with newer ncurses</title>
<updated>2024-06-27T09:01:57Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-06-20T13:10:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=53b41929560d9853a7d2b38b4ab205c091869a17'/>
<id>urn:sha1:53b41929560d9853a7d2b38b4ab205c091869a17</id>
<content type='text'>
(cherry picked from commit 35e941ce5520b8ef710bb388bd63460aa0ce63eb)
</content>
</entry>
</feed>
