<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/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-01T16:42:34Z</updated>
<entry>
<title>pax: Clear arcn in each read function.</title>
<updated>2024-08-01T16:42:34Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-07-24T20:06:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b7834095749d56d7d35871918ed371f133fcb624'/>
<id>urn:sha1:b7834095749d56d7d35871918ed371f133fcb624</id>
<content type='text'>
Instead of initializing individual fields to zero, clear the entire
struct prior to populating it.

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

(cherry picked from commit f890020d43bf2070f12ffec37bcd9579f6fb1347)
</content>
</entry>
<entry>
<title>ls: Make -, apply to -s as well as -l.</title>
<updated>2024-08-01T16:42:33Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-07-24T20:06:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=600504767528cce6b0e4f9eb44e9d4cec856abc8'/>
<id>urn:sha1:600504767528cce6b0e4f9eb44e9d4cec856abc8</id>
<content type='text'>
While here, remove a bogus comment about a gcc bug.  The bug was in ls,
which used an incorrect format string, and in libc, which accepted it.

MFC after:	1 week
Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D46067

(cherry picked from commit 647d4a8cafd2c9b291cab388191bc7fcfe12a66b)
</content>
</entry>
<entry>
<title>cat: Check for lack of success rather than a specific failure.</title>
<updated>2024-05-14T06:59:12Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-05-10T10:59:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b6fb1131e64f47854c08ab8ee733aed1f6f81180'/>
<id>urn:sha1:b6fb1131e64f47854c08ab8ee733aed1f6f81180</id>
<content type='text'>
MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	oshogbo
Differential Revision:	https://reviews.freebsd.org/D45149

(cherry picked from commit c6f9df7064106a3b016c13ea3b9a930362b53089)

cat: Missed a couple.

MFC after:	3 days
Sponsored by:	Klara, Inc.

(cherry picked from commit ad4f3bdf733c1a670021f4db378338f5aaedbfd8)
</content>
</entry>
<entry>
<title>sync.8: Document that the "sync dance" is not a thing</title>
<updated>2024-04-28T18:29:36Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2024-04-23T14:12:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5119386711a88f86dfb3ec3eb609d0d2c6a4f050'/>
<id>urn:sha1:5119386711a88f86dfb3ec3eb609d0d2c6a4f050</id>
<content type='text'>
People still believe that it is essential to run sync(8) a couple of
times before a reboot/halt. Document that this has not been necessary
for a long time now.

Reviewed by:	imp, bcr, Pau Amma &lt;pauamma@gundo.com&gt;
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D33233

(cherry picked from commit 177ba183076bd6fe6b29b1d657b954cca256506b)
</content>
</entry>
<entry>
<title>cp: Clarify an obscure comment.</title>
<updated>2024-04-27T14:58:40Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-04-17T01:36:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17997507040c4ad1c6a25ce93c3981ee19ce28c0'/>
<id>urn:sha1:17997507040c4ad1c6a25ce93c3981ee19ce28c0</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D44805

(cherry picked from commit 64d6925d1901637125f9f739282e72c992657dc8)

cp: Additional sanity check.

Once we've successfully opened the file we've been asked to copy, check
that it's of the same type as FTS told us it was.

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

(cherry picked from commit 9075d4cfad5b339aabdf8033623a2164898c2786)

cp: Use warnc().

MFC after:	1 week
Sponsored by:	Klara, Inc.

(cherry picked from commit f070188c3ad6b87ee9ce220b21718333d1bd9d52)
</content>
</entry>
<entry>
<title>ln: Improve link(1) variant of ln(1).</title>
<updated>2024-04-08T10:10:15Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-04-04T14:14:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc0087a3aa788dbee4f3b4ab0270fdbb48bc20c9'/>
<id>urn:sha1:dc0087a3aa788dbee4f3b4ab0270fdbb48bc20c9</id>
<content type='text'>
* Give link(1) its own usage message.
* Use getprogname(3) instead of rolling our own.
* Verify that the target file does not already exist.
* Add tests specific to link(1).

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

(cherry picked from commit bee7cf9e97f6d7bdc918421a93270fa88659808b)
</content>
</entry>
<entry>
<title>cp: Improved conformance when copying directories.</title>
<updated>2024-04-08T10:10:14Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-04-01T17:28:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=39d543db53a456d97e3dec12b22ac191360b8866'/>
<id>urn:sha1:39d543db53a456d97e3dec12b22ac191360b8866</id>
<content type='text'>
* When copying a directory, if the destination exists and is not a
  directory, we would previously emit an error message and exit.  The
  correct behavior according to POSIX is to emit an error message and
  continue without descending further into the source directory.

* When copying a directory, if the destination does not exist and we
  fail to create it, we would previously emit an error message and
  exit.  The correct behavior according to POSIX is to emit an error
  message and continue.  Whether to descend further into the source
  directory is explicitly left unspecified; GNU cp does not, which
  seems to me to be the safer and less surprising option, so let's not
  either.

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

(cherry picked from commit dd286b0dc187c351a9537a363840245d5505b15b)

cp: Correct the list of non-portable flags.

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

(cherry picked from commit aaa1806f68ef3102a9b888a03360f166b88618c8)
</content>
</entry>
<entry>
<title>ln: Use stdbool, style nits.</title>
<updated>2024-04-04T09:51:05Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-03-27T10:03:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f862c31a41599206b4bda19a10fc5d5b6256e715'/>
<id>urn:sha1:f862c31a41599206b4bda19a10fc5d5b6256e715</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	imp, allanjude
Differential Revision:	https://reviews.freebsd.org/D44511

(cherry picked from commit 437d53daf71a357aae960881ef037564736f7441)

ln: Clean up and simplify tests.

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

(cherry picked from commit e0afcbc85690b6464706ead57103baa0493fdfb2)

ln: Add a test case for ln -sfF.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	allanjude, asomers
Differential Revision:	https://reviews.freebsd.org/D44513

(cherry picked from commit 2ae8d34666a6dea4c1c77a1905c7b8cebd6a21f9)
</content>
</entry>
<entry>
<title>cat: fix cap_rights_init usage</title>
<updated>2024-03-22T13:35:44Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2024-02-15T00:03:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a17cc127bb0a404d8f641926ad4a3cc42c482da'/>
<id>urn:sha1:8a17cc127bb0a404d8f641926ad4a3cc42c482da</id>
<content type='text'>
Capability rights passed to cap_rights_* are not simple bitmaks and
cannot be ORed together in general (although it will work for certain
subsets of rights).

PR:		277057
Reported by:	asomers, markj

(cherry picked from commit 05f530f4d2bb15fda3d258b3bd92d4515d9ef39f)
(cherry picked from commit dbf34bbb188876551dcfec32fbbed2ba8ba24f12)
</content>
</entry>
<entry>
<title>cat: add CAP_SEEK capability</title>
<updated>2024-03-22T13:35:43Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2023-09-28T13:20:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1abd98ecf9e31b96ee72cca1431e53361233cc96'/>
<id>urn:sha1:1abd98ecf9e31b96ee72cca1431e53361233cc96</id>
<content type='text'>
The copy_file_range might require that.

Reviewed by:	emaste, theraven, kib, markj
Differential Revision:	https://reviews.freebsd.org/D41967

(cherry picked from commit 64c6327738fc24bb34b9f40ff1c223ab460ef637)
(cherry picked from commit 5f527dbe41b804d3fc6a789c5def25b25a44a3a0)
</content>
</entry>
</feed>
