[PATCH] x86: uapi: ptrace: guard register offset macros with __ASSEMBLER__ or __FRAME_OFFSETS
Borislav Petkov
bp at alien8.de
Sat Sep 26 12:51:45 PDT 2026
On Fri, Sep 25, 2026 at 02:25:47PM -0700, Nick Desaulniers wrote:
> On Thu, Sep 24, 2026 at 7:54 AM Johannes Berg <johannes at sipsolutions.net> 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?
Do we want it in stable too even if it is not really stable material so that
userspace does not have to upgrade kernels just for this?
Or are they simply copying upstream UAPI headers from the latest kernel so
that stable backports don't matter?
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
More information about the linux-um
mailing list