Page MenuHomeFreeBSD

mac_set_fd(3): add support for jail descriptors
ClosedPublic

Authored by kevans on Nov 27 2025, 6:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 27, 8:15 PM
Unknown Object (File)
Mon, Jun 22, 9:16 PM
Unknown Object (File)
Tue, Jun 16, 8:22 AM
Unknown Object (File)
Jun 5 2026, 7:50 AM
Unknown Object (File)
Jun 4 2026, 7:49 PM
Unknown Object (File)
Jun 4 2026, 5:55 AM
Unknown Object (File)
Jun 3 2026, 8:47 PM
Unknown Object (File)
May 31 2026, 11:14 AM
Subscribers

Details

Summary

We'll still add an old-fashioned jail param to configure jail MAC
labels, but for testing it's really easy to grab a jaildesc and use
that.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Dec 2 2025, 4:17 AM

There is an alloc/free mismatch, see inline comment. Else seems good.

sys/security/mac/mac_syscalls.c
591–592