linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] um: improve UML page fault handling
@ 2023-12-15 12:14 Petr Tesarik
  2023-12-15 12:14 ` [PATCH 1/2] um: do not panic on kernel mode faults Petr Tesarik
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Petr Tesarik @ 2023-12-15 12:14 UTC (permalink / raw)
  To: Richard Weinberger, Anton Ivanov, Johannes Berg,
	open list:USER-MODE LINUX (UML),
	open list
  Cc: Roberto Sassu, petr, Petr Tesarik

From: Petr Tesarik <petr.tesarik1@huawei-partners.com>

Improve UML handling of segmentation faults in kernel mode. Although
such page faults are generally caused by a kernel bug, it is annoying
if they cause an infinite loop, or panic the kernel. More importantly,
a robust implementation allows to write KUnit tests for various guard
pages, preventing potential kernel self-protection regressions.

Petr Tesarik (2):
  um: do not panic on kernel mode faults
  um: oops on accessing an non-present page in the vmalloc area

 arch/um/kernel/trap.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-26  9:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-15 12:14 [PATCH 0/2] um: improve UML page fault handling Petr Tesarik
2023-12-15 12:14 ` [PATCH 1/2] um: do not panic on kernel mode faults Petr Tesarik
2023-12-15 12:14 ` [PATCH 2/2] um: oops on accessing an non-present page in the vmalloc area Petr Tesarik
2024-01-03 12:51 ` [PATCH 0/2] um: improve UML page fault handling Petr Tesařík
2024-01-04 23:22 ` Richard Weinberger
2024-01-05  6:51   ` Petr Tesařík
2024-01-26  9:55     ` Petr Tesařík

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).