Page MenuHomeFreeBSD

mac_do(4): Revamp manual page after MAC/do updates
ClosedPublic

Authored by olce on Thu, Dec 19, 10:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 3:07 PM
Unknown Object (File)
Thu, Dec 26, 2:22 PM
Unknown Object (File)
Thu, Dec 26, 5:59 AM
Unknown Object (File)
Thu, Dec 26, 4:20 AM
Unknown Object (File)
Thu, Dec 26, 12:44 AM
Unknown Object (File)
Tue, Dec 24, 10:05 PM
Unknown Object (File)
Mon, Dec 23, 4:34 PM
Unknown Object (File)
Sun, Dec 22, 5:33 PM
Subscribers

Details

Summary

The new manual page in particular describes MAC/do's new rules syntax
and the jail support, as well as security considerations explaining the
overall design and how to leverage it in the most secure fashion.

Sponsored by: The FreeBSD Foundation

Diff Detail

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

Event Timeline

olce requested review of this revision.Thu, Dec 19, 10:41 PM

It would be nice to have the rules syntax described in grammar-tyle, similarly to pf.conf(5).

Your thoughts?

This revision is now accepted and ready to land.Fri, Dec 20, 8:01 AM

After proof-reading multiple times, LGTM, too.

ziaee added inline comments.
share/man/man4/mac_do.4
19–21

Sorry, I didn't have time to do a whole review, but why change Nm?

share/man/man4/mac_do.4
19–21

Sorry, I didn't have time to do a whole review, but why change Nm?

.Nm in .SYNOPSIS section behaves differently from other sections.

share/man/man4/mac_do.4
19–21

I see. Thanks!

olce marked 3 inline comments as done.Mon, Dec 23, 2:28 PM
olce added inline comments.
share/man/man4/mac_do.4
19–21

Yes, .Nm in the SYNOPSIS section forces the following text to be on the same line as the name. Not sure if there is a way to prevent that. It indeed would be more logical to use .Nm if this problem didn't exist.