Re: [PATCH] binfmt_elf: Extract .note.gnu.property from an ELF file

From: Yu-cheng Yu
Date: Wed May 01 2019 - 18:02:11 EST


On Wed, 2019-05-01 at 14:37 -0700, Matthew Wilcox wrote:
> On Wed, May 01, 2019 at 02:12:17PM -0700, Yu-cheng Yu wrote:
> > +++ b/fs/Kconfig.binfmt
> > @@ -35,6 +35,10 @@ config COMPAT_BINFMT_ELF
> > config ARCH_BINFMT_ELF_STATE
> > bool
> >
> > +config ARCH_USE_GNU_PROPERTY
> > + bool
> > + depends on 64BIT
>
> I don't think this is right. I think you should get rid of the depends line
> and instead select the symbol from each of argh64 and x86 Kconfig files.

That makes sense. Thanks!

Yu-cheng