<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests, 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-09-19T13:00:48Z</updated>
<entry>
<title>pf: invert direction for inner icmp state lookups</title>
<updated>2024-09-19T13:00:48Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2024-08-14T09:29:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=36265a707dc51189843498e059361010ea3c9718'/>
<id>urn:sha1:36265a707dc51189843498e059361010ea3c9718</id>
<content type='text'>
(e.g. traceroute with icmp)
ok henning, jsing

Also extend the test case to cover this scenario.

Approved by:	so
Security:	FreeBSD-EN-24:16.pf
PR:		280701
Obtained from:	OpenBSD
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 89f6723288b0d27d3f14f93e6e83f672fa2b8aca)
(cherry picked from commit 5f3f07397a7909e8f9449d1aa0b465159cbf0d60)
</content>
</entry>
<entry>
<title>pf tests: ensure that traceroutes using ICMP work</title>
<updated>2024-09-19T13:00:40Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2024-08-12T10:14:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a16cd5ff50ea2e5954958d90ef6de18e0f1aa4bc'/>
<id>urn:sha1:a16cd5ff50ea2e5954958d90ef6de18e0f1aa4bc</id>
<content type='text'>
Approved by:	so
Security:	FreeBSD-EN-24:16.pf
PR:		280701
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 34063cb714602972b6d985ad747fc8f66a8daae1)
(cherry picked from commit 7024e1066d5aba76dbbc85eb191357da7d32c619)
</content>
</entry>
<entry>
<title>pf tests: ensure we don't confuse different ICMP types</title>
<updated>2024-09-19T13:00:32Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2024-07-09T09:22:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49c896761e2ed6025767a2fea0ed4dbeb2834001'/>
<id>urn:sha1:49c896761e2ed6025767a2fea0ed4dbeb2834001</id>
<content type='text'>
When creating a state for ICMP (v4 or v6) packets we only used the ID, which
means that we could confuse different ICMP types. For example, if we allowed
neighbour discovery but not ICMPv6 echo requests an ND packet could create a
state that the echo request would match.

Test that this is now fixed.

Approved by:	so
Security:	FreeBSD-EN-24:16.pf
Reported by:	Enrico Bassetti &lt;e.bassetti@tudelft.nl&gt;
MFC after:	1 day
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit b9f0dbc3d006e0b904ee4275d54459f4edd65bb8)
(cherry picked from commit 4ebd7fc30ab779b87c055b0d54eabdd97a9fc730)
</content>
</entry>
<entry>
<title>fusefs: fix invalid value for st_birthtime.tv_nsec</title>
<updated>2024-02-12T20:17:13Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2024-01-25T15:19:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f2c72486da30eda54f0db1a9b7ca822afc835ecf'/>
<id>urn:sha1:f2c72486da30eda54f0db1a9b7ca822afc835ecf</id>
<content type='text'>
If a file system's on-disk format does not support st_birthtime, it
isn't clear what value it should return in stat(2).  Neither our man
page nor the OpenGroup specifies.  But our convention for UFS and
msdosfs is to return { .tv_sec = -1, .tv_nsec = 0 }.  fusefs is
different.  It returns { .tv_sec = -1, .tv_nsec = -1 }.  It's done that
ever since the initial import in SVN r241519.

Most software apparently handles this just fine.  It must, because we've
had no complaints.  But the Rust standard library will panic when
reading such a timestamp during std::fs::metadata, even if the caller
doesn't care about that particular value.  That's a separate bug, and
should be fixed.

Change our invalid value to match msdosfs and ufs, pacifying the Rust
standard library.

PR:		276602
Sponsored by:	Axcient
Reviewed by:	emaste
Approved by:	re (cperciva)
Differential Revision: https://reviews.freebsd.org/D43590

(cherry picked from commit 65e25e4a614a99243e7419279b294e399991dfff)
</content>
</entry>
<entry>
<title>kern: pts: do not special case closed slave side</title>
<updated>2024-01-30T17:11:10Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2024-01-16T02:55:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=984128ce2d5eb7d3374dd4b245d443ec2f5d96b2'/>
<id>urn:sha1:984128ce2d5eb7d3374dd4b245d443ec2f5d96b2</id>
<content type='text'>
This would previously return 1 if the slave side of the pts was closed
to force an application to read() from it and observe the EOF, but it's
not clear why and this is inconsistent both with how we handle devices
with similar mechanics (like pipes) and also with other kernels, such as
OpenBSD/NetBSD and Linux.

PR:             239604
Reviewed by:	kib

(cherry picked from commit 30189156d325fbcc9d1997d791daedc9fa3bed20)
</content>
</entry>
<entry>
<title>Add a regression test for PR 276191.</title>
<updated>2024-01-19T20:27:09Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2024-01-08T01:03:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d89317a66ff7874c9c04461739d7546e3042c0ad'/>
<id>urn:sha1:d89317a66ff7874c9c04461739d7546e3042c0ad</id>
<content type='text'>
The bug isn't fusefs-specific, but this is the easiest way to reproduce
it.

PR:		276191
MFC with:	bdb46c21a3e68d4395d6e0b6a205187e655532b0
Differential Revision:  https://reviews.freebsd.org/D43446
Reviewed by: 	kib

(cherry picked from commit 6b1c534927ad47e9b0dd8be1a39f56c3ea813d44)
</content>
</entry>
<entry>
<title>zfsd: fault disks that generate too many I/O delay events</title>
<updated>2024-01-19T20:16:48Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2023-07-12T20:46:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e2ce586899ff94d8e3baf10de614dfe61d06a5e0'/>
<id>urn:sha1:e2ce586899ff94d8e3baf10de614dfe61d06a5e0</id>
<content type='text'>
If ZFS reports that a disk had at least 8 I/O operations over 60s that
were each delayed by at least 30s (implying a queue depth &gt; 4 or I/O
aggregation, obviously), fault that disk.  Disks that respond this
slowly can degrade the entire system's performance.

Sponsored by:	Axcient
Reviewed by:	delphij
Differential Revision: https://reviews.freebsd.org/D42825

(cherry picked from commit d565784a7ebaa59e26febdcfd4a60329786ea5f5)
</content>
</entry>
<entry>
<title>libifconfig: Fix bridge status member list</title>
<updated>2024-01-05T11:56:18Z</updated>
<author>
<name>Michael Gmelin</name>
<email>grembo@FreeBSD.org</email>
</author>
<published>2023-12-20T20:21:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c2299997ce174e6b1ec3ad14bb10c19b64942609'/>
<id>urn:sha1:c2299997ce174e6b1ec3ad14bb10c19b64942609</id>
<content type='text'>
When this functionality was moved to libifconfig in 3dfbda3401abea84da9,
the end of list calculation was modified for unknown reasons, practically
limiting the number of bridge member returned to (about) 102.

This patch changes the calculation back to what it was originally and
adds a unit test to verify it works as expected.

Reported by:	Patrick M. Hausen (via ML)
Reviewed by:	kp
Approved by:	kp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43135

(cherry picked from commit 3d36053ca6d6a17d408c8f92c504e6135dc9d8df)
</content>
</entry>
<entry>
<title>Silence VLA extension warnings in fusefs tests</title>
<updated>2023-12-24T14:01:24Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2023-12-21T22:41:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d9951cbb68b76d385264e222e5cf74a993b127e'/>
<id>urn:sha1:4d9951cbb68b76d385264e222e5cf74a993b127e</id>
<content type='text'>
Building tests/sys/fs/fusefs with clang 18 results the following
warning:

  tests/sys/fs/fusefs/cache.cc:145:14: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]
    145 |         uint8_t buf[bufsize];
        |                     ^~~~~~~

Because we do not particularly care that this is a clang extension,
suppress the warning.

MFC after:	3 days

(cherry picked from commit dc0b4094abf6784bf1a9492c2fea3fb91116b014)
</content>
</entry>
<entry>
<title>pf tests: fix typos in the abort_v6 test case head / cleanup function name</title>
<updated>2023-12-21T09:35:57Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2023-12-14T09:22:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df1bacc781c766c79038a085c05ec08977c75c46'/>
<id>urn:sha1:df1bacc781c766c79038a085c05ec08977c75c46</id>
<content type='text'>
MFC after:	1 week

(cherry picked from commit 8fab83d2c5c5e801105dbf25c28252fc97935b00)
</content>
</entry>
</feed>
