linux-yocto/arch/um/kernel
Benjamin Berg 84a6fc3784 um: remove copy_from_kernel_nofault_allowed
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>
2025-03-18 11:03:29 +01:00
..
skas um: move thread info into task 2024-11-12 14:50:31 +01:00
asm-offsets.c
config.c.in
dtb.c This pull request contains the following changes for UML: 2024-11-30 10:34:54 -08:00
dyn.lds.S um: move thread info into task 2024-11-12 14:50:31 +01:00
early_printk.c
exec.c um: Remove the call to SUBARCH_EXECVE1 macro 2024-09-12 20:42:22 +02:00
exitcode.c
gprof_syms.c
initrd.c um: Do not propagate initrd parameter to kernel 2024-10-23 09:52:49 +02:00
ioport.c
irq.c um: mark rodata read-only and implement _nofault accesses 2025-03-18 11:03:14 +01:00
kmsg_dump.c printk: Add a short description string to kmsg_dump() 2024-07-17 12:35:24 +02:00
ksyms.c um: generalize os_rcv_fd 2024-07-03 12:24:25 +02:00
load_file.c mm/memblock: add memblock_alloc_or_panic interface 2025-01-25 20:22:38 -08:00
Makefile um: remove copy_from_kernel_nofault_allowed 2025-03-18 11:03:29 +01:00
mem.c um: mark rodata read-only and implement _nofault accesses 2025-03-18 11:03:14 +01:00
physmem.c um: remove file sync for stub data 2024-11-07 17:36:30 +01:00
process.c um: avoid copying FP state from init_task 2025-02-12 23:40:38 +01:00
ptrace.c um: Move declarations to proper headers 2024-04-22 21:58:48 +02:00
reboot.c um: Remove unused mm_fd field from mm_id 2024-09-12 20:36:22 +02:00
sigio.c
signal.c um: Drop support for hosts without SYSEMU_SINGLESTEP support 2024-01-04 23:29:11 +01:00
stacktrace.c UML: add support for KASAN under x86_64 2022-07-17 23:35:22 +02:00
sysrq.c um: Always dump trace for specified task in show_stack 2024-11-07 18:05:22 +01:00
time.c um: insert scheduler ticks when userspace does not yield 2024-10-23 09:52:49 +02:00
tlb.c um: Rename _PAGE_NEWPAGE to _PAGE_NEEDSYNC 2024-10-23 09:52:49 +02:00
trap.c um: mark rodata read-only and implement _nofault accesses 2025-03-18 11:03:14 +01:00
um_arch.c um: Mark get_top_address as __init 2025-01-10 13:49:56 +01:00
um_arch.h um: Move declarations to proper headers 2024-04-22 21:58:48 +02:00
umid.c uml: Remove the initialization of statics to 0 2022-09-19 23:10:07 +02:00
uml.lds.S um: move thread info into task 2024-11-12 14:50:31 +01:00
vmlinux.lds.S UML: define RUNTIME_DISCARD_EXIT 2023-02-13 10:14:31 +01:00