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

From: Al Viro
Date: Wed Jun 16 2021 - 16:56:00 EST


On Wed, Jun 16, 2021 at 03:47:28PM -0500, Eric W. Biederman wrote:

> Fork already saves the registers, all I did was restore them. Which
> makes a debugger that modifies them in
> PTRACE_EVENT_{FORK,VFORK,CLONE,VFORK_DONE} work.

... first time ever. Wonderful and well worth the overhead.
</sarcasm>