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.