[RFC PATCH] fs: obtain the inode generation number from vfs directly
Dave Chinner
david at fromorbit.com
Wed Aug 28 04:27:53 UTC 2024
On Tue, Aug 27, 2024 at 01:41:08AM +0000, Hongbo Li wrote:
> Many mainstream file systems already support the GETVERSION ioctl,
> and their implementations are completely the same, essentially
> just obtain the value of i_generation. We think this ioctl can be
> implemented at the VFS layer, so the file systems do not need to
> implement it individually.
>
> Signed-off-by: Hongbo Li <lihongbo22 at huawei.com>
Nope. No. Definitely not.
I definitely do not want unprivileged users to be able to construct
arbitrary file handles in userspace.....
-Dave.
--
Dave Chinner
david at fromorbit.com
More information about the Linux-security-module-archive
mailing list