]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
um: Remove redundant range check from __access_ok_vsyscall()
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 28 Oct 2025 09:15:42 +0000 (10:15 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Nov 2025 12:02:33 +0000 (13:02 +0100)
commit880f615bf96eff89eab88b4f9aacf527cf55a714
treeb2f0e58d93a24e684d093ed7f706e12371a4ab50
parent78fdfc9fc4215add97fe331aff7c64e4a423a104
um: Remove redundant range check from __access_ok_vsyscall()

The only caller __access_ok() is already doing the same check through
__addr_range_nowrap().

Remove the redundant check.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20251028-uml-remove-32bit-pseudo-vdso-v1-7-e930063eff5f@weissschuh.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/include/asm/uaccess.h