]> Git Repo - linux.git/commit - fs/ioctl.c
fs: remove the access_ok() check in ioctl_fiemap
authorChristoph Hellwig <[email protected]>
Sat, 23 May 2020 07:30:15 +0000 (09:30 +0200)
committerTheodore Ts'o <[email protected]>
Thu, 4 Jun 2020 03:16:55 +0000 (23:16 -0400)
commitc7d216e8c44cfc0b680d8c0de4f9bdafd92f7ef6
tree144f957706d8bc5a569f7b5346c9f24f44feee47
parent45dd052e67ad17c7a24874a783f41aeab15bc294
fs: remove the access_ok() check in ioctl_fiemap

access_ok just checks we are fed a proper user pointer.  We also do that
in copy_to_user itself, so no need to do this early.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ritesh Harjani <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
fs/ioctl.c
This page took 0.043275 seconds and 4 git commands to generate.