[PATCH v12 26/39] arm64/ptrace: Expose GCS via ptrace and core files
Mark Brown
broonie at kernel.org
Mon Sep 2 11:58:28 PDT 2024
On Mon, Sep 02, 2024 at 07:56:32PM +0100, Catalin Marinas wrote:
> On Thu, Aug 29, 2024 at 12:27:42AM +0100, Mark Brown wrote:
> > +static int gcs_get(struct task_struct *target,
> > + const struct user_regset *regset,
> > + struct membuf to)
> > + if (target == current)
> > + gcs_preserve_current_state();
> What's the use-case where target == current and do we need something
> similar for gcs_set()?
IIRC core file generation so no.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240902/ff03bada/attachment.sig>
More information about the linux-riscv
mailing list