<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/file, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-03-22T13:35:44Z</updated>
<entry>
<title>path_test: 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:45:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e8d01b2efaa358b5ff8991b7defefbf970f871ff'/>
<id>urn:sha1:e8d01b2efaa358b5ff8991b7defefbf970f871ff</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
Fixes:		e5e1d9c7b781 ("path_test: Add a test case for...")
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 8d1348f55aed6873f34f54bc3b275b73ef0ff66d)
(cherry picked from commit ea3910c452cf44342e0b65d6283aebeb77a10863)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9'/>
<id>urn:sha1:023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit d0b2dbfa0ecf)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:26Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d497e17ebd33fe0f58d773e35ab994d750258d6'/>
<id>urn:sha1:3d497e17ebd33fe0f58d773e35ab994d750258d6</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in main:
(cherry picked from commit 1d386b48a555)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-23T17:43:21Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17da660ad5b3b9cd90e164dd4dbb9beaa7203054'/>
<id>urn:sha1:17da660ad5b3b9cd90e164dd4dbb9beaa7203054</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit b3e7694832e8)
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-07-25T15:13:49Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=caa41f641755c935b036e17440a3b49329c904ed'/>
<id>urn:sha1:caa41f641755c935b036e17440a3b49329c904ed</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix

(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
</content>
</entry>
<entry>
<title>path_test: Add a test case for openat(O_EMPTY_PATH) in capability mode</title>
<updated>2023-03-29T14:41:47Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-03-22T12:51:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6ebf11e77cf5490caed1fd629586db3def0db030'/>
<id>urn:sha1:6ebf11e77cf5490caed1fd629586db3def0db030</id>
<content type='text'>
MFC after:	1 week

(cherry picked from commit e5e1d9c7b781470b2eb31d80f40927481e0053b8)
</content>
</entry>
<entry>
<title>Have path_test ask the kernel for the page size</title>
<updated>2022-05-03T14:04:04Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2022-04-07T14:59:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3ed2c7a4bead6cb8240942decce32aadc0df8ca3'/>
<id>urn:sha1:3ed2c7a4bead6cb8240942decce32aadc0df8ca3</id>
<content type='text'>
It may be dynamic so we can't rely on PAGE_SIZE being present or
correct.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 8d40ee599d130a7dcf57eba448d3966a7ce30638)
</content>
</entry>
<entry>
<title>path_test: Verify that operations on unlinked files work</title>
<updated>2022-04-25T12:59:18Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-04-18T21:46:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=00193c79b4206ba8d576ae12a002340d7d1bd4ec'/>
<id>urn:sha1:00193c79b4206ba8d576ae12a002340d7d1bd4ec</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit b13ac678420292f5994b0b6e0f27995b9399268b)
</content>
</entry>
<entry>
<title>path_test: Correct the kevent test</title>
<updated>2022-04-20T14:15:06Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-04-18T15:45:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3861fe8ba8c96e52a7f3870cd723d14a54db4d76'/>
<id>urn:sha1:3861fe8ba8c96e52a7f3870cd723d14a54db4d76</id>
<content type='text'>
Perhaps surprisingly, and contrary to the expectations of
path_test:path_event, NOTE_LINK events are not raised when a file is
unlinked.  Prior to commit bf13db086b84, the test happened to work
because unlinking the file would cause the vnode to be recycled, and
EVFILT_VNODE knotes deliver an event with EV_EOF set when the vnode is
doomed.  Since the test did not verify the note type, the test
succeeded.  After commit bf13db086b84, the vnode is not recycled after
being unlinked and so the test hangs.

Fix the test by waiting for NOTE_DELETE instead, and check that we got
the note that we expected.

Reported by:	Jenkins
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 333f668468f0675e1e001f6fcc506e901e58c36e)
</content>
</entry>
<entry>
<title>tests: Fix the test plan for closefrom_test</title>
<updated>2022-03-07T12:15:47Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2022-03-06T17:56:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45014f965ece4f7b6afea254badfd99b2bae143f'/>
<id>urn:sha1:45014f965ece4f7b6afea254badfd99b2bae143f</id>
<content type='text'>
Fixes:	f3f3e3c44d3b ("fd: add close_range(..., CLOSE_RANGE_CLOEXEC)")
Reported by:	Jenkins

(cherry picked from commit 3a01dcc99ff9044bbd46386a48ed870838cfb555)
</content>
</entry>
</feed>
