Thread (16 messages) 16 messages, 8 authors, 2024-08-29

Re: [RFC PATCH] fs: obtain the inode generation number from vfs directly

From: Dave Chinner <david@fromorbit.com>
Date: 2024-08-28 04:27:57
Also in: linux-fsdevel

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@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@fromorbit.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help