mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
4a1195ca50
When mounting a snapshot in the .zfs/snapshots control directory, temporarily assume roots credentials to perform the VFS_MOUNT(). This allows regular users and users inside jails to access these snapshots. The regular usermount code is not helpful here, since it requires that the user performing the mount own the mountpoint, which won't be the case for .zfs/snapshot/<snapname> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Signed-off-by: Allan Jude <allan@klarasystems.com> Sponsored-By: Modirum MDPay Sponsored-By: Klara Inc. Closes #11312 |
||
---|---|---|
.. | ||
acl_common.c | ||
callb.c | ||
list.c | ||
sha224.h | ||
sha256.h | ||
sha256c.c | ||
sha384.h | ||
sha512.h | ||
sha512c.c | ||
sha512t.h | ||
spl_acl.c | ||
spl_atomic.c | ||
spl_cmn_err.c | ||
spl_dtrace.c | ||
spl_kmem.c | ||
spl_kstat.c | ||
spl_misc.c | ||
spl_policy.c | ||
spl_procfs_list.c | ||
spl_string.c | ||
spl_sunddi.c | ||
spl_sysevent.c | ||
spl_taskq.c | ||
spl_uio.c | ||
spl_vfs.c | ||
spl_vm.c | ||
spl_zlib.c | ||
spl_zone.c |