Thread (2 messages) 2 messages, 2 authors, 2021-06-16

Re: [PATCH 2/2] alpha/ptrace: Add missing switch_stack frames

From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2021-06-16 20:54:14
Also in: linux-arch, linux-m68k, lkml

Possibly related (same subject, not in this thread)

On Wed, Jun 16, 2021 at 03:49:44PM -0500, Eric W. Biederman wrote:
Someone might want or try to read them in the case of exit.  Which
without some change will result in a read of other kernel stack content
on alpha.
And someone might want a pony.  Again, why bother restoring those,
_especially_ in case of exit(2)?
Plus there are coredumps which definitely want to read everything.
Huh?  In case of coredump we are going to have come through
$work_notifysig:
        mov     $sp, $16
	DO_SWITCH_STACK
	jsr     $26, do_work_pending
so they *do* have full pt_regs saved.  What's the problem?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help