Re: [PATCH v12 26/39] arm64/ptrace: Expose GCS via ptrace and core files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 02, 2024 at 07:58:28PM +0100, Mark Brown wrote:
> 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.

Ah, true. Makes sense.

-- 
Catalin




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux