aboutsummaryrefslogtreecommitdiff
path: root/lib/liblua
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2023-11-23 15:23:33 +0000
committerMark Johnston <markj@FreeBSD.org>2023-12-04 15:45:11 +0000
commit4fd0162652a2e0f51aad99055ec837049febaee2 (patch)
tree908afa5bbcc42221032fb0ca43dd3062dccd1063 /lib/liblua
parent31f6cfca851f20099162352dac8d044857b2e1f9 (diff)
nfsd: Fix NFS access to .zfs/snapshot snapshots
When a process attempts to access a snapshot under /<dataset>/.zfs/snapshot, the snapshot is automounted. However, without this patch, the automount does not set mnt_exjail, which results in the snapshot not being accessible over NFS. This patch defines a new function called vfs_exjail_clone() which sets mnt_exjail from another mount point and then uses that function to set mnt_exjail in the snapshot automount. A separate patch that is currently a pull request for OpenZFS, calls this function to fix the problem. PR: 275200 Approved by: so Security: FreeBSD-EN-23:22.vfs (cherry picked from commit f5f277728adec4c5b3e840a1fb16bd16f8cc956d) (cherry picked from commit a7c25f0d064425bc7a3b170aa441fecf0ae38600)
Diffstat (limited to 'lib/liblua')
0 files changed, 0 insertions, 0 deletions