linux-yocto/arch/um/os-Linux
Benjamin Berg c9a6cf3fe6 um: remove copy_from_kernel_nofault_allowed
[ Upstream commit 84a6fc3784 ]

There is no need to override the default version of this function
anymore as UML now has proper _nofault memory access functions.

Doing this also fixes the fact that the implementation was incorrect as
using mincore() will incorrectly flag pages as inaccessible if they were
swapped out by the host.

Fixes: f75b1b1bed ("um: Implement probe_kernel_read()")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20250210160926.420133-3-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:37:34 +02:00
..
drivers uml: Replace strlcpy with strscpy 2023-06-20 13:35:37 -07:00
skas um: make stub data pages size tweakable 2023-04-20 23:08:43 +02:00
elf_aux.c ELF: fix all "Elf" typos 2023-04-08 13:45:37 -07:00
execvp.c
file.c
helper.c um: Fix naming clash between UML and scheduler 2024-02-05 20:14:30 +00:00
irq.c um: Remove the unneeded result variable 2023-02-01 22:11:24 +01:00
main.c
Makefile kbuild: remove --include-dir MAKEFLAG from top Makefile 2023-02-05 18:51:22 +09:00
mem.c um: Fix the declaration of kasan_map_memory 2024-06-12 11:12:42 +02:00
process.c um: remove copy_from_kernel_nofault_allowed 2025-04-10 14:37:34 +02:00
registers.c
sigio.c Revert "um: Use swap() to make code cleaner" 2023-07-27 13:07:03 -07:00
signal.c um: time-travel: fix signal blocking race/hang 2024-08-03 08:54:35 +02:00
start_up.c
time.c
tty.c
umid.c um: Remove strlcpy declaration 2023-07-27 08:51:06 -07:00
user_syms.c Revert "[PATCH] uml: export symbols added by GCC hardened" 2023-06-15 04:47:04 +09:00
util.c um: Don't use vfprintf() for os_info() 2024-02-05 20:14:31 +00:00