On Mon, Dec 16, 2019 at 11:39 AM <quentin.bouget@xxxxxx> wrote: > > Hello, > > I recently noticed that the syscall open_by_handle_at() automatically > fails if > its first argument is a file descriptor opened with O_PATH. I looked at > the code > and saw no reason this could not be allowed. Attached to this mail are a > a reproducer and the patch I came up with. > > I am not quite familiar with the kernel's way of processing patches. Any > pointer > or advice on this matter is very welcome. > See similar patch by Miklos to do the same for f*xattr() syscalls that looks simpler: https://lore.kernel.org/linux-fsdevel/20191128155940.17530-8-mszeredi@xxxxxxxxxx/ Al, any objections to making this change? Thanks, Amir.