public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ptrace: Why does PTRACE_PEEKUSER not allow reading of FPU registers on x86?
@ 2024-02-21 12:39 tartanllama
  0 siblings, 0 replies; only message in thread
From: tartanllama @ 2024-02-21 12:39 UTC (permalink / raw)
  To: linux-kernel

Hey folks,

Looking at arch/x86/kernel/ptrace.c, I can see that reading with
PTRACE_PEEKUSER is only supported within the user::regs and user::u_debugreg
fields. What's the reason that reading from user::i387 is disallowed?

Thanks,
Sy Brand


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-21 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21 12:39 ptrace: Why does PTRACE_PEEKUSER not allow reading of FPU registers on x86? tartanllama

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox