HomeFreeBSD

tests/mac_portacl: restore sysctls after modification

Description

tests/mac_portacl: restore sysctls after modification

While here, use 'required_kmods' instead of ad-hoc
checks.

Signed-off-by: Siva Mahadevan <me@svmhdvn.name>

Reviewed by: markj
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Pull Request: https://github.com/freebsd/freebsd-src/pull/1855

Details

Provenance
Siva Mahadevan <me@svmhdvn.name>Authored on Jul 15 2025, 4:45 PM
markjCommitted on Oct 8 2025, 2:34 PM
Parents
rGe21e6e96b662: release: Avoid generating .pkgsave files in OCI images
Branches
Unknown
Tags
Unknown