diff options
author | Matthew Macy <[email protected]> | 2019-12-11 11:58:37 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-12-11 11:58:37 -0800 |
commit | 4bc721965ff272ad59c6e8a130a544e1e2c01b34 (patch) | |
tree | 0a177852b0609de4e6dc19a4ec73ec1c3e7e382d /include/libzfs_impl.h | |
parent | 657ce253575295ef680eb33cf4ef698548212a46 (diff) |
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #9686
Diffstat (limited to 'include/libzfs_impl.h')
-rw-r--r-- | include/libzfs_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libzfs_impl.h b/include/libzfs_impl.h index e9fd4cf41..276241e93 100644 --- a/include/libzfs_impl.h +++ b/include/libzfs_impl.h @@ -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); |