diff options
author | Christian Brauner <brauner@kernel.org> | 2025-06-24 10:29:13 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-06-24 17:02:05 +0200 |
commit | b95361481b1e5bd3627835b7e4b921d5a09e68a4 (patch) | |
tree | 91c1a7efcb0b206d54f0bc10a94de1f43d7a6d43 /lib/crypto/mpi/mpiutil.c | |
parent | 3941e37f62fe2c3c8b8675c12183185f20450539 (diff) |
fhandle, pidfs: support open_by_handle_at() purely based on file handle
Various filesystems such as pidfs (and likely drm in the future) have a
use-case to support opening files purely based on the handle without
having to require a file descriptor to another object. That's especially
the case for filesystems that don't do any lookup whatsoever and there's
zero relationship between the objects. Such filesystems are also
singletons that stay around for the lifetime of the system meaning that
they can be uniquely identified and accessed purely based on the file
handle type. Enable that so that userspace doesn't have to allocate an
object needlessly especially if they can't do that for whatever reason.
Link: https://lore.kernel.org/20250624-work-pidfs-fhandle-v2-10-d02a04858fe3@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions