[klibc] [klibc:master] Kbuild: Properly disable executable stacks in static builds
Ben Hutchings
ben at decadent.org.uk
Sun Oct 2 07:47:20 PDT 2022
On Thu, 2022-09-15 at 10:06 +0000, Christophe Leroy wrote:
> Hi Ben,
>
> Le 04/08/2022 à 00:51, klibc-bot for Ben Hutchings a écrit :
> > Commit-ID: 2acbe15d7a8093cfa295aadc56707892e87a7eaf
> > Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=2acbe15d7a8093cfa295aadc56707892e87a7eaf
> > Author: Ben Hutchings <ben at decadent.org.uk>
> > AuthorDate: Tue, 2 Aug 2022 22:47:14 +0200
> > Committer: Ben Hutchings <ben at decadent.org.uk>
> > CommitDate: Thu, 4 Aug 2022 00:45:26 +0200
> >
> > [klibc] Kbuild: Properly disable executable stacks in static builds
> >
> > I typo'd the variable name KLIBCSTACKFLAGS in the value of
> > KLIBCCFLAGS, leaving the stack executable in statically linked
> > executables. Fix that.
> >
> > Executables using a shared library did not have this problem, unless
> > they included assembly language sources. C compilers generate the
> > no-executable-stack header by default, and the interpreter definition
> > that's statically linked into such executables was built with a
> > correctly spelt KLIBCSTACKFLAGS as an extra option.
> >
> > Fixes: c562319cdba0 ("[klibc] Kbuild: Add a per-architecture option to ...")
> > Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
> >
>
>
> Do you have any planned date for the delivery of klibc 2.0.11 with the
> above fix ?
I released klibc 2.0.11 today with this fix.
Ben.
--
Ben Hutchings
Hoare's Law of Large Problems:
Inside every large problem is a small problem struggling to get out.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zytor.com/archives/klibc/attachments/20221002/ffe4fbbc/attachment.sig>
More information about the klibc
mailing list