linux-kernelorg-stable/arch/um/drivers
Johannes Berg 2fcb4090cd Revert "um: allocate a guard page to helper threads"
This reverts commit ef4459a6da ("um: allocate a guard page to
helper threads"), it's broken in multiple ways:

 1) the free no longer matches the alloc; and

 2) more importantly, the set_memory_ro() causes allocation of
    page tables for the normal memory that doesn't have any,
    and that later causes corruption and crashes (usually but
    not always in vfree()).

We could fix the first bug and use vmalloc() to work around the
second, but set_memory_ro() actually doesn't do anything either
so I'll just revert that as well.

Reported-by: Benjamin Berg <benjamin@sipsolutions.net>
Fixes: ef4459a6da ("um: allocate a guard page to helper threads")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-01-26 22:11:38 +01:00
..
Kconfig um: Allow static linking for non-glibc implementations 2020-10-11 23:13:15 +02:00
Makefile um: Do not evaluate compiler's library path when cleaning 2020-06-02 22:37:41 +02:00
chan.h
chan_kern.c
chan_user.c um: tty: Fix handling of close in tty lines 2020-12-13 22:38:28 +01:00
chan_user.h
cow.h
cow_sys.h
cow_user.c
daemon.h
daemon_kern.c
daemon_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
fd.c
harddog_kern.c
harddog_user.c
hostaudio_kern.c
line.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
line.h um: line, remove put_char 2020-06-24 16:53:37 +02:00
mconsole.h
mconsole_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
mconsole_kern.h
mconsole_user.c
mmapper_kern.c
net_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
net_user.c
null.c
pcap_kern.c
pcap_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
pcap_user.h
port.h
port_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
port_user.c
pty.c
random.c um: Remove IRQ_NONE type 2020-12-13 22:22:29 +01:00
slip.h
slip_common.c
slip_common.h
slip_kern.c
slip_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
slirp.h
slirp_kern.c
slirp_user.c
ssl.c um: line, remove put_char 2020-06-24 16:53:37 +02:00
stderr_console.c
stdio_console.c um: line, remove put_char 2020-06-24 16:53:37 +02:00
stdio_console.h
tty.c
ubd.h
ubd_kern.c Revert "um: allocate a guard page to helper threads" 2021-01-26 22:11:38 +01:00
ubd_user.c
umcast.h
umcast_kern.c
umcast_user.c
vde.h
vde_kern.c
vde_user.c
vector_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
vector_kern.h um: virtio: Replace zero-length array with flexible-array 2020-06-02 22:38:00 +02:00
vector_transports.c
vector_user.c um: vector: Add dynamic tap interfaces and scripting 2020-10-11 23:26:37 +02:00
vector_user.h um: Fix typo in vector driver transport option definition 2020-04-29 21:22:15 +02:00
vhost_user.h um: virtio: Replace zero-length array with flexible-array 2020-06-02 22:38:00 +02:00
virtio_uml.c um: virtio: free vu_dev only with the contained struct device 2021-01-26 22:11:38 +01:00
xterm.c um: chan_xterm: Fix fd leak 2020-12-13 22:38:28 +01:00
xterm.h
xterm_kern.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00