Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171170664
D58833.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D58833.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 10, 5:21 AM (15 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38631524
Default Alt Text
D58833.id.diff (1 KB)
Attached To
Mode
D58833: tarfs: allow mounting inside jails
Attached
Detach File
Event Timeline
Log In to Comment