Re: [PATCH v11 2/2] arm64: Enable BTI for main executable as well as the interpreter

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

 



On Mon, Mar 14, 2022 at 08:57:49AM +0000, Catalin Marinas wrote:
> On Tue, Mar 08, 2022 at 12:01:17PM -0600, Jeremy Linton wrote:

> > > Resolve this by adding a sysctl abi.bti_main which causes the kernel to
> > > checking the BTI property for the main executable and enable BTI if it
> > > is present when doing the initial mapping. This sysctl is disabled by
> > > default.

> > This seems less than ideal, maybe the default can be flipped with a CONFIG
> > option?

> I'm not keen on config options changing the ABI. If there's a good
> chance that this feature won't be turned on (via sysfs) in distros with
> MDWE, I'd rather drop the whole series than maintain unused code in the
> kernel.

I think it's more just that it's a pain to have to also update userspace
for something fairly low risk than that it's an insurmountable obstacle.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux