Page MenuHomeFreeBSD

D58833.id184438.diff
No OneTemporary

D58833.id184438.diff

diff --git a/sys/fs/tarfs/tarfs_vfsops.c b/sys/fs/tarfs/tarfs_vfsops.c
--- a/sys/fs/tarfs/tarfs_vfsops.c
+++ b/sys/fs/tarfs/tarfs_vfsops.c
@@ -1236,6 +1236,6 @@
.vfs_unmount = tarfs_unmount,
.vfs_vget = tarfs_vget,
};
-VFS_SET(tarfs_vfsops, tarfs, VFCF_READONLY);
+VFS_SET(tarfs_vfsops, tarfs, VFCF_JAIL | VFCF_READONLY);
MODULE_VERSION(tarfs, 1);
MODULE_DEPEND(tarfs, xz, 1, 1, 1);
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd December 4, 2025
+.Dd August 13, 2026
.Dt JAIL 8
.Os
.Sh NAME
@@ -807,6 +807,14 @@
and only when
.Va enforce_statfs
is set to a value lower than 2.
+.It Va allow.mount.tarfs
+privileged users inside the jail will be able to mount and unmount the
+tarfs file system.
+This permission is effective only together with
+.Va allow.mount
+and only when
+.Va enforce_statfs
+is set to a value lower than 2.
.It Va allow.mount.tmpfs
privileged users inside the jail will be able to mount and unmount the
tmpfs file system.

File Metadata

Mime Type
text/plain
Expires
Thu, Sep 10, 10:29 AM (20 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38631524
Default Alt Text
D58833.id184438.diff (1 KB)

Event Timeline