<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>install: Fix typo</title>
<updated>2026-07-28T09:33:02+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-07-22T06:04:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8ba2237332b1f0bf6dcb4f2edd84db76438c8c91'/>
<id>8ba2237332b1f0bf6dcb4f2edd84db76438c8c91</id>
<content type='text'>
MFC after:	1 week
Reported by:	markj
Fixes:		d34870708db9 ("install: Allow installing stdin")

(cherry picked from commit 0eef3d01c22a5e00cd2cf10c34871eddbfd22aa0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
Reported by:	markj
Fixes:		d34870708db9 ("install: Allow installing stdin")

(cherry picked from commit 0eef3d01c22a5e00cd2cf10c34871eddbfd22aa0)
</pre>
</div>
</content>
</entry>
<entry>
<title>install: Code cleanup</title>
<updated>2026-07-28T09:33:02+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-07-21T08:03:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=823e3bbb30804fbe92b4f8ce07721a19f6f6cf54'/>
<id>823e3bbb30804fbe92b4f8ce07721a19f6f6cf54</id>
<content type='text'>
This is mainy focused on using bool for booleans but also renames some
variables for clarity, adds some explicit comparisons, adds some braces,
with miscellanous style fixes thrown in.

MFC after:	1 week
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D58355

(cherry picked from commit 134ddd372f8213885dd828ab38cec2384fd451db)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is mainy focused on using bool for booleans but also renames some
variables for clarity, adds some explicit comparisons, adds some braces,
with miscellanous style fixes thrown in.

MFC after:	1 week
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D58355

(cherry picked from commit 134ddd372f8213885dd828ab38cec2384fd451db)
</pre>
</div>
</content>
</entry>
<entry>
<title>install: Allow installing stdin</title>
<updated>2026-07-28T09:33:01+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-07-21T08:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eaf2b738b99caa531c467acc33ca8813fbd1b89b'/>
<id>eaf2b738b99caa531c467acc33ca8813fbd1b89b</id>
<content type='text'>
If from_name is "/dev/stdin" or "-" and the target is not a directory,
skip the comparison and copy data from standard input to the target.

MFC after:	1 week
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D58348

(cherry picked from commit d34870708db9fa1eb8e29b5e085b755de1189b1f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If from_name is "/dev/stdin" or "-" and the target is not a directory,
skip the comparison and copy data from standard input to the target.

MFC after:	1 week
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D58348

(cherry picked from commit d34870708db9fa1eb8e29b5e085b755de1189b1f)
</pre>
</div>
</content>
</entry>
<entry>
<title>install.1: Convert link flags to a table</title>
<updated>2026-07-28T09:32:02+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-06-03T17:50:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a1a98dd063f97859e7ff564be008eae11c932074'/>
<id>a1a98dd063f97859e7ff564be008eae11c932074</id>
<content type='text'>
The five link flags get lost in prose.

Reviewed by:	ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57418

(cherry picked from commit 248dd56d2dea03e4723e8225b890d02fcc10973f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The five link flags get lost in prose.

Reviewed by:	ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57418

(cherry picked from commit 248dd56d2dea03e4723e8225b890d02fcc10973f)
</pre>
</div>
</content>
</entry>
<entry>
<title>install.1: Document options incompatible with -s</title>
<updated>2026-07-28T09:32:01+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-06-03T15:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=48e85d9569986d7308bfa895ed6bd3b9c5f44d30'/>
<id>48e85d9569986d7308bfa895ed6bd3b9c5f44d30</id>
<content type='text'>
Reported by:	des
Reviewed by:	ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57409

(cherry picked from commit b49021b49a78ca6a9e3a1a59c5aa6f2fec503afb)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by:	des
Reviewed by:	ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57409

(cherry picked from commit b49021b49a78ca6a9e3a1a59c5aa6f2fec503afb)
</pre>
</div>
</content>
</entry>
<entry>
<title>xinstall: Do not allow -l and -s together</title>
<updated>2026-07-28T09:31:41+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-06-03T01:27:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=44eb447094b7ddd181389f5fcb4fb0cae0fee957'/>
<id>44eb447094b7ddd181389f5fcb4fb0cae0fee957</id>
<content type='text'>
Cannot strip the target if creating a link.

Reviewed by:	des
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57398

(cherry picked from commit 521afce6a859c1d7ac9674e8f21ff45418becaf5)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cannot strip the target if creating a link.

Reviewed by:	des
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57398

(cherry picked from commit 521afce6a859c1d7ac9674e8f21ff45418becaf5)
</pre>
</div>
</content>
</entry>
<entry>
<title>xinstall: Add test for -d -s not allowed together</title>
<updated>2026-07-28T09:31:41+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-06-03T14:13:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=23f153a177250f74230a0441e77b283437d6bf31'/>
<id>23f153a177250f74230a0441e77b283437d6bf31</id>
<content type='text'>
Reviewed by:	des
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57403

(cherry picked from commit 4908bea5b7f5de70032e201e718958ef40bc3b03)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	des
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57403

(cherry picked from commit 4908bea5b7f5de70032e201e718958ef40bc3b03)
</pre>
</div>
</content>
</entry>
<entry>
<title>install: drop obsolete file size limit for -C</title>
<updated>2026-07-28T09:31:16+00:00</updated>
<author>
<name>Aleksandr Rybalko</name>
<email>ray@FreeBSD.org</email>
</author>
<published>2026-06-08T14:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=81004ee18aa4a2fa31b9834f9e80a9fe7cf10b95'/>
<id>81004ee18aa4a2fa31b9834f9e80a9fe7cf10b95</id>
<content type='text'>
Removes the file size limit for -C comparisons. The limit was
meant to prevent oversized mmap allocations, which is no longer
relevant as mmap is no longer used here (removed by
a0439a1b820fa0e742c00d095f5f5c06f5f19432, review D44809).
Credit to bdrewery.
See: https://reviews.freebsd.org/D57230

Reviewed by:	bdrewery, glebius, ziaee
Approved by:	glebius (mentor)
Obtained from:	Fudo Security
MFC after:	2 weeks
Sponsored by:	Fudo Security
Differential Revision:	https://reviews.freebsd.org/D57503

(cherry picked from commit 9d10b4d2c9e86d8f6ff1b654f468381a4a4cad6d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes the file size limit for -C comparisons. The limit was
meant to prevent oversized mmap allocations, which is no longer
relevant as mmap is no longer used here (removed by
a0439a1b820fa0e742c00d095f5f5c06f5f19432, review D44809).
Credit to bdrewery.
See: https://reviews.freebsd.org/D57230

Reviewed by:	bdrewery, glebius, ziaee
Approved by:	glebius (mentor)
Obtained from:	Fudo Security
MFC after:	2 weeks
Sponsored by:	Fudo Security
Differential Revision:	https://reviews.freebsd.org/D57503

(cherry picked from commit 9d10b4d2c9e86d8f6ff1b654f468381a4a4cad6d)
</pre>
</div>
</content>
</entry>
<entry>
<title>install: Bump compare size limit (128MB) to support large binaries</title>
<updated>2026-07-28T09:31:16+00:00</updated>
<author>
<name>Aleksandr Rybalko</name>
<email>ray@FreeBSD.org</email>
</author>
<published>2026-05-27T12:07:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ce59deaf3540a44f0414bf6deb2288b23f10d02b'/>
<id>ce59deaf3540a44f0414bf6deb2288b23f10d02b</id>
<content type='text'>
Preserve metadata and prevent redundant disk writes during builds with
the install's -C (compare) flag.

The previous historical comparison limit of 16MB is insufficient for
modern toolchains, frequently choked or bypassed by a large base
components like LLVM/Clang, kernels, Rust apps, and large runtime
libraries.

By leaving matching files alone, install keeps their modification timestamps
intact. make(1) safely ignores those files on subsequent runs.

Base examples: 15.0 amd64 GENERIC kernel - 28MB, clang - 105MB, lldb - 97MB, etc.

Reviewed by:    glebius
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks
Sponsored by:   Fudo Security
Differential Revision:	https://reviews.freebsd.org/D57271

(cherry picked from commit 5a8e0e03ae86b449f29626b4f9db25d17c89b273)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Preserve metadata and prevent redundant disk writes during builds with
the install's -C (compare) flag.

The previous historical comparison limit of 16MB is insufficient for
modern toolchains, frequently choked or bypassed by a large base
components like LLVM/Clang, kernels, Rust apps, and large runtime
libraries.

By leaving matching files alone, install keeps their modification timestamps
intact. make(1) safely ignores those files on subsequent runs.

Base examples: 15.0 amd64 GENERIC kernel - 28MB, clang - 105MB, lldb - 97MB, etc.

Reviewed by:    glebius
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks
Sponsored by:   Fudo Security
Differential Revision:	https://reviews.freebsd.org/D57271

(cherry picked from commit 5a8e0e03ae86b449f29626b4f9db25d17c89b273)
</pre>
</div>
</content>
</entry>
<entry>
<title>install: add -z &lt;max_cmp_size&gt; option</title>
<updated>2026-07-28T09:31:15+00:00</updated>
<author>
<name>Aleksandr Rybalko</name>
<email>ray@FreeBSD.org</email>
</author>
<published>2026-05-25T07:53:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=25e66327126deb92f95fc2d65c8c7d51c4862e2b'/>
<id>25e66327126deb92f95fc2d65c8c7d51c4862e2b</id>
<content type='text'>
Introduces the -z &lt;max_cmp_size&gt; flag, enabling users to set a custom file
size limit for pre-installation change checks and avoiding future hard-coded
limit modifications.

Reviewed by:    glebius
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks
Sponsored by:   Fudo Security
Differential Revision:	https://reviews.freebsd.org/D57230

(cherry picked from commit 97cad013a50a4012328e11424ed2350c1efc036c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduces the -z &lt;max_cmp_size&gt; flag, enabling users to set a custom file
size limit for pre-installation change checks and avoiding future hard-coded
limit modifications.

Reviewed by:    glebius
Approved by:    glebius (mentor)
Obtained from:  Fudo Security
MFC after:      2 weeks
Sponsored by:   Fudo Security
Differential Revision:	https://reviews.freebsd.org/D57230

(cherry picked from commit 97cad013a50a4012328e11424ed2350c1efc036c)
</pre>
</div>
</content>
</entry>
</feed>
