linux-stable/arch/um
Johannes Berg 9f0b4807a4 um: rework userspace stubs to not hard-code stub location
The userspace stacks mostly have a stack (and in the case of the
syscall stub we can just set their stack pointer) that points to
the location of the stub data page already.

Rework the stubs to use the stack pointer to derive the start of
the data page, rather than requiring it to be hard-coded.

In the clone stub, also integrate the int3 into the stack remap,
since we really must not use the stack while we remap it.

This prepares for putting the stub at a variable location that's
not part of the normal address space of the userspace processes
running inside the UML machine.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-02-12 21:35:02 +01:00
..
configs um: Cleanup CONFIG_IOSCHED_CFQ 2020-03-29 23:15:22 +02:00
drivers um: fix spelling mistake in Kconfig "privleges" -> "privileges" 2021-02-12 21:26:20 +01:00
include um: rework userspace stubs to not hard-code stub location 2021-02-12 21:35:02 +01:00
kernel um: rework userspace stubs to not hard-code stub location 2021-02-12 21:35:02 +01:00
os-Linux um: rework userspace stubs to not hard-code stub location 2021-02-12 21:35:02 +01:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig Revert "um: support some of ARCH_HAS_SET_MEMORY" 2021-01-26 22:11:38 +01:00
Kconfig.debug treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile kbuild: remove cc-option test of -fno-stack-protector 2020-07-07 11:13:10 +09:00
Makefile-os-Linux
Makefile-skas