<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/mac, branch release/14.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:55:20Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line bare tag</title>
<updated>2023-08-16T17:55:20Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05248206f720394d95c2a7475429311df670a2e9'/>
<id>urn:sha1:05248206f720394d95c2a7475429311df670a2e9</id>
<content type='text'>
Remove /^\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:55:03Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf'/>
<id>urn:sha1:d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-16T17:54:16Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b3e7694832e81d7a904a10f525f8797b753bf0d3'/>
<id>urn:sha1:b3e7694832e81d7a904a10f525f8797b753bf0d3</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>mac_ipacl: new MAC policy module to limit jail/vnet IP configuration</title>
<updated>2023-07-26T00:07:57Z</updated>
<author>
<name>Shivank Garg</name>
<email>shivank@freebsd.org</email>
</author>
<published>2023-07-25T20:27:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=215bab7924f6c8e133a96431b3e2176d5fae1eff'/>
<id>urn:sha1:215bab7924f6c8e133a96431b3e2176d5fae1eff</id>
<content type='text'>
The mac_ipacl policy module enables fine-grained control over IP address
configuration within VNET jails from the base system.
It allows the root user to define rules governing IP addresses for
jails and their interfaces using the sysctl interface.

Requested by:	multiple
Sponsored by:	Google, Inc. (GSoC 2019)
MFC after:	2 months
Reviewed by:	bz, dch (both earlier versions)
Differential Revision: https://reviews.freebsd.org/D20967
</content>
</entry>
<entry>
<title>Resolve conflict between the fusefs(5) and mac_bsdextended(4) tests</title>
<updated>2020-05-02T20:14:59Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2020-05-02T20:14:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b43a935caec0cc4ae1abef7851d67ba3d135411d'/>
<id>urn:sha1:b43a935caec0cc4ae1abef7851d67ba3d135411d</id>
<content type='text'>
mac_bsdextended(4), when enabled, causes ordinary operations to send many
more VOP_GETATTRs to file system. The fusefs tests expectations aren't
written with those in mind. Optionally expecting them would greatly
obfuscate the fusefs tests. Worse, certain fusefs functionality (like
attribute caching) would be impossible to test if the tests couldn't expect
an exact number of GETATTR operations.

This commit resolves that conflict by making two changes:

1. The fusefs tests will now check for mac_bsdextended, and skip if it's
   enabled.
2. The mac_bsdextended tests will now check whether the module is enabled, not
   merely loaded. If it's loaded but disabled, the tests will automatically
   enable it for the duration of the tests.

With these changes, a CI system can achieve best coverage by loading both
fusefs and mac_bsdextended at boot, and setting
security.mac.bsdextended.enabled=0

PR:		244229
Reported by:	lwhsu
Reviewed by:	cem
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D24577
</content>
</entry>
<entry>
<title>mac_bsdextended: ATFify the tests</title>
<updated>2020-04-26T15:51:46Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2020-04-26T15:51:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=db20acc0299046045e47b637ff3e84409cd8a8bd'/>
<id>urn:sha1:db20acc0299046045e47b637ff3e84409cd8a8bd</id>
<content type='text'>
The new tests have more complete setup and cleanup, are more granular, and
correctly annotate expected failures and skipped tests. A follow-up commit
will resolve a conflict with the fusefs tests (bug 244229).

MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D24257
</content>
</entry>
<entry>
<title>Reduce nc timeout in sys.mac.portacl.*</title>
<updated>2020-02-11T20:41:51Z</updated>
<author>
<name>Li-Wen Hsu</name>
<email>lwhsu@FreeBSD.org</email>
</author>
<published>2020-02-11T20:41:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ec5fd09524e6e8736a0679085c2c489b5affca7e'/>
<id>urn:sha1:ec5fd09524e6e8736a0679085c2c489b5affca7e</id>
<content type='text'>
It is not necessary to wait that long for localhost.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>urn:sha1:ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Make test scripts under tests/... non-executable</title>
<updated>2017-08-08T04:59:16Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-08-08T04:59:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d2ba5111c125104b09aa1acd1bfe8af2a24c79cc'/>
<id>urn:sha1:d2ba5111c125104b09aa1acd1bfe8af2a24c79cc</id>
<content type='text'>
Executable bits should be set at install time instead of in the repo.
Setting executable bits on files triggers false positives with Phabricator.

MFC after:	2 months
</content>
</entry>
<entry>
<title>Add include Makefiles for tests/sys/{fs,kern,kqueue,mac}/...</title>
<updated>2017-01-14T20:29:26Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-01-14T20:29:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=15dbd418f63ebd0f8fd8bcec441a31d85919f91c'/>
<id>urn:sha1:15dbd418f63ebd0f8fd8bcec441a31d85919f91c</id>
<content type='text'>
The primary goal for doing this is to leverage the work done in r312114
for enabling WARNS to address trivial code quality issues with new tests

MFC after:	6 days
Tested with:	make tinderbox
Sponsored by:	Dell EMC Isilon
</content>
</entry>
</feed>
