mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
Add FreeBSD jail support hooks
Add the 'zfs jail/unjail' subcommands along with the relevant documentation from FreeBSD. This feature is not supported on Linux and still requires the match kernel ioctls which will be included when the FreeBSD platform code is integrated. Reviewed-by: Jorgen Lundman <lundman@lundman.net> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Signed-off-by: Ryan Moeller <ryan@ixsystems.com> Closes #9686
This commit is contained in:
committed by
Brian Behlendorf
parent
657ce25357
commit
4bc721965f
@@ -237,7 +237,7 @@ extern proto_table_t proto_table[PROTO_END];
|
||||
|
||||
extern int do_mount(const char *src, const char *mntpt, char *opts, int flags);
|
||||
extern int do_unmount(const char *mntpt, int flags);
|
||||
extern int zfs_can_user_mount(void);
|
||||
extern int zfs_mount_delegation_check(void);
|
||||
extern int zfs_share_proto(zfs_handle_t *zhp, zfs_share_proto_t *proto);
|
||||
extern int unshare_one(libzfs_handle_t *hdl, const char *name,
|
||||
const char *mountpoint, zfs_share_proto_t proto);
|
||||
|
||||
Reference in New Issue
Block a user