Re: [PATCH] x86: uapi: ptrace: guard register offset macros with __ASSEMBLER__ or __FRAME_OFFSETS

From: Nick Desaulniers

Date: Fri Sep 25 2026 - 17:26:22 EST


On Thu, Sep 24, 2026 at 7:54 AM Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
>
> On Fri, 2026-08-21 at 15:45 -0700, Nick Desaulniers wrote:
> >
> > arch/x86/um/asm/ptrace.h | 4 +---
> > arch/x86/um/ptrace_32.c | 1 +
>
> This seems like a simple adjustment for what you need to do in x86, so
> that's OK, but I don't think we'll take this through the UML tree.

Appreciated! I agree, maybe with Oleg's review this can go via the x86 tree?

>
> But for UML you can have my
>
> Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
>
> johannes



--
Thanks,
~Nick Desaulniers