diff options
author | наб <[email protected]> | 2022-02-28 20:42:22 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-05-12 09:26:54 -0700 |
commit | 9b06aa634a80d6820ffb1453ccb3e4572be303d4 (patch) | |
tree | 16dbd09665ce99f0fa563965d52ddccdecddfc70 /lib/libshare/nfs.h | |
parent | a31fcd4bad22d20a22cdd8e9f7e388a99508a8d7 (diff) |
libshare/nfs: escape mount points when needed
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13165
Closes #13153
Diffstat (limited to 'lib/libshare/nfs.h')
-rw-r--r-- | lib/libshare/nfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libshare/nfs.h b/lib/libshare/nfs.h index 777581625..24ae1f8ad 100644 --- a/lib/libshare/nfs.h +++ b/lib/libshare/nfs.h @@ -28,6 +28,7 @@ #define FILE_HEADER "# !!! DO NOT EDIT THIS FILE MANUALLY !!!\n\n" +int nfs_escape_mountpoint(const char *mp, char **out, boolean_t *need_free); boolean_t nfs_is_shared_impl(const char *exports, sa_share_impl_t impl_share); int nfs_toggle_share(const char *lockfile, const char *exports, const char *expdir, sa_share_impl_t impl_share, |