mirror_zfs/module/os
Allan Jude f900279e6d
Restrict visibility of per-dataset kstats inside FreeBSD jails
When inside a jail, visibility on datasets not "jailed" to the
jail is restricted. However, it was possible to enumerate all
datasets in the pool by looking at the kstats sysctl MIB.

Only the kstats corresponding to datasets that the user has
visibility on are accessible now.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Allan Jude <allan@klarasystems.com>
Closes #14254
2022-12-09 11:04:29 -08:00
..
freebsd Restrict visibility of per-dataset kstats inside FreeBSD jails 2022-12-09 11:04:29 -08:00
linux Linux: Cleanup unnecessary NULL check in __vdev_disk_physio() 2022-12-08 13:52:47 -08:00