diff options
| author | Li Chen <me@linux.beauty> | 2026-07-16 13:28:20 +0800 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-22 16:45:57 +0200 |
| commit | 1d0cff74d8c8d798a64c1e7fe442659aecb64130 (patch) | |
| tree | 987a447678ce7c5bc7547af8959c496d02ed7cc0 /rust/zerocopy-derive/git@git.tavy.me:linux.git | |
| parent | a1e0eb8f55cfe09bb31a202a388babc411292656 (diff) | |
pidfs: handle FS_IOC32_GETVERSION in compat ioctl
FS_IOC32_GETVERSION has a distinct compat command encoding. Passing it
through compat_ptr_ioctl() leaves pidfd_ioctl() unable to recognize the
otherwise architecture-independent inode generation query.
Translate the compat command to FS_IOC_GETVERSION before dispatching it
through the native pidfd ioctl implementation.
Signed-off-by: Li Chen <me@linux.beauty>
Link: https://patch.msgid.link/20260716052822.1034228-1-me@linux.beauty
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'rust/zerocopy-derive/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
