Page MenuHomeFreeBSD

Add prison_add_allow(), for creating dynamic allow.* jail parameters
ClosedPublic

Authored by jamie on Jul 5 2018, 6:33 PM.

Details

Summary

Currently, filesystems can define jail permissions, via dynamic allow.mount.* parameters supposed in prison_add_vfs(). Extend this capability to add any allow.* or allow.*.* flag with a new function prison_add_allow(). prison_add_vfs() still exists, but mostly as a wrapper to the new function.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jamie created this revision.Jul 5 2018, 6:33 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 6 2018, 6:50 PM
This revision was automatically updated to reflect the committed changes.