1
0
mirror of https://github.com/torvalds/linux.git synced 2025-04-11 04:53:02 +00:00
Benjamin Berg a5d2cfe749 um: remove copy_context_skas0
The kernel flushes the memory ranges anyway for CoW and does not assume
that the userspace process has anything set up already. So, start with a
fresh process for the new mm context.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20240703134536.1161108-8-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-07-03 17:09:49 +02:00

16 lines
321 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#include <asm/unistd.h>
#include <sys/mman.h>
#include <signal.h>
#include <as-layout.h>
#include <stub-data.h>
#ifdef __i386__
#include "stub_32.h"
#else
#include "stub_64.h"
#endif
extern void stub_segv_handler(int, siginfo_t *, void *);
extern void stub_syscall_handler(void);