From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH 2/2] alpha/ptrace: Add missing switch_stack frames Date: Wed, 16 Jun 2021 20:55:49 +0000 Message-ID: References: <87eed4v2dc.fsf@disp2133> <5929e116-fa61-b211-342a-c706dcb834ca@gmail.com> <87fsxjorgs.fsf@disp2133> <87zgvqor7d.fsf_-_@disp2133> <87mtrpg47k.fsf@disp2133> <87pmwlek8d.fsf_-_@disp2133> <87eed1ek31.fsf_-_@disp2133> <87zgvp8rkv.fsf@disp2133> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <87zgvp8rkv.fsf@disp2133> Sender: Al Viro List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Eric W. Biederman" Cc: Linus Torvalds , Michael Schmitz , linux-arch , Jens Axboe , Oleg Nesterov , Linux Kernel Mailing List , Richard Henderson , Ivan Kokshaysky , Matt Turner , alpha , Geert Uytterhoeven , linux-m68k , Arnd Bergmann , Ley Foon Tan , Tejun Heo , Kees Cook 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.