On Thu, 14 Aug 2025 17:54:28 -0600, Thomas Bertschinger wrote: > In f07c7cc4684a, do_handle_open() was switched to use the automatic > cleanup method for getting a FD. In that change it was also switched > to pass O_CLOEXEC unconditionally to get_unused_fd_flags() instead > of passing the user-specified flags. > > I don't see anything in that commit description that indicates this was > intentional, so I am assuming it was an oversight. > > [...] Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes [3/6] fhandle: do_handle_open() should get FD with user flags https://git.kernel.org/vfs/vfs/c/b5ca88927e35