summaryrefslogtreecommitdiff
path: root/include/uapi/linux/mtio.h
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2026-01-29 11:02:12 +0100
committerChristian Brauner <brauner@kernel.org>2026-01-29 17:26:30 +0100
commitb3c78bc53630d14a5770451ede3a30e7052f3b8b (patch)
treeabde4f6c6cd2525078b1c127f90a971747973d97 /include/uapi/linux/mtio.h
parenta39162f77f49b618df5a721a1e48d8b903280fbd (diff)
nfsd: do not allow exporting of special kernel filesystems
pidfs and nsfs recently gained support for encode/decode of file handles via name_to_handle_at(2)/open_by_handle_at(2). These special kernel filesystems have custom ->open() and ->permission() export methods, which nfsd does not respect and it was never meant to be used for exporting those filesystems by nfsd. Therefore, do not allow nfsd to export filesystems with custom ->open() or ->permission() methods. Fixes: b3caba8f7a34a ("pidfs: implement file handle support") Fixes: 5222470b2fbb3 ("nsfs: support file handles") Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Link: https://patch.msgid.link/20260129100212.49727-3-amir73il@gmail.com Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/uapi/linux/mtio.h')
0 files changed, 0 insertions, 0 deletions