Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-21 Thread Borislav Petkov
On Wed, Oct 21, 2020 at 03:25:06PM -0700, Kees Cook wrote: > It was a fix for the series Ingo took, so I seemed sensible to keep it > together. Though at this point, I don't care who takes it. :) That series is upstream already, I presume. And then it probably doesn't matter who takes it... Thx.

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-21 Thread Kees Cook
On Thu, Oct 22, 2020 at 12:22:15AM +0200, Borislav Petkov wrote: > On Wed, Oct 21, 2020 at 01:04:35PM -0700, Kees Cook wrote: > > [thread ping: x86 maintainers, can someone please take this?] > > $ ./scripts/get_maintainer.pl -f include/asm-generic/vmlinux.lds.h > Arnd Bergmann

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-21 Thread Borislav Petkov
On Wed, Oct 21, 2020 at 01:04:35PM -0700, Kees Cook wrote: > [thread ping: x86 maintainers, can someone please take this?] $ ./scripts/get_maintainer.pl -f include/asm-generic/vmlinux.lds.h Arnd Bergmann (maintainer:GENERIC INCLUDE/ASM HEADER FILES) ... so that's Arnd's AFAICT. --

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-21 Thread Fāng-ruì Sòng
On Wed, Oct 21, 2020 at 1:09 PM Kees Cook wrote: > > On Wed, Oct 14, 2020 at 09:53:39PM -0700, Fāng-ruì Sòng wrote: > > On Wed, Oct 14, 2020 at 4:04 PM Kees Cook wrote: > > > > index 5430febd34be..b83c00c63997 100644 > > > > --- a/include/asm-generic/vmlinux.lds.h > > > > +++

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-21 Thread Kees Cook
On Wed, Oct 14, 2020 at 09:53:39PM -0700, Fāng-ruì Sòng wrote: > On Wed, Oct 14, 2020 at 4:04 PM Kees Cook wrote: > > > index 5430febd34be..b83c00c63997 100644 > > > --- a/include/asm-generic/vmlinux.lds.h > > > +++ b/include/asm-generic/vmlinux.lds.h > > > @@ -684,6 +684,7 @@ > > > #ifdef

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-21 Thread Kees Cook
[thread ping: x86 maintainers, can someone please take this?] On Sun, Oct 04, 2020 at 07:57:20PM -0700, Kees Cook wrote: > Under some circumstances, the compiler generates .ctors.* sections. This > is seen doing a cross compile of x86_64 from a powerpc64el host: > > x86_64-linux-gnu-ld: warning:

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-14 Thread Fāng-ruì Sòng
On Wed, Oct 14, 2020 at 4:04 PM Kees Cook wrote: > > On Sun, Oct 04, 2020 at 07:57:20PM -0700, Kees Cook wrote: > > Under some circumstances, the compiler generates .ctors.* sections. This > > is seen doing a cross compile of x86_64 from a powerpc64el host: > > > > x86_64-linux-gnu-ld: warning:

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-14 Thread Kees Cook
On Sun, Oct 04, 2020 at 07:57:20PM -0700, Kees Cook wrote: > Under some circumstances, the compiler generates .ctors.* sections. This > is seen doing a cross compile of x86_64 from a powerpc64el host: > > x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from >

Re: [PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-05 Thread Nick Desaulniers
On Sun, Oct 4, 2020 at 7:57 PM Kees Cook wrote: > > Under some circumstances, the compiler generates .ctors.* sections. This > is seen doing a cross compile of x86_64 from a powerpc64el host: > > x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from > `kernel/trace/trace_clock.o'

[PATCH v2] vmlinux.lds.h: Keep .ctors.* with .ctors

2020-10-04 Thread Kees Cook
Under some circumstances, the compiler generates .ctors.* sections. This is seen doing a cross compile of x86_64 from a powerpc64el host: x86_64-linux-gnu-ld: warning: orphan section `.ctors.65435' from `kernel/trace/trace_clock.o' being placed in section `.ctors.65435' x86_64-linux-gnu-ld: