Make our stack noexec
authorMatthias Clasen <mclasen@redhat.com>
Tue, 4 Jan 2022 12:51:56 +0000 (07:51 -0500)
committerJeremy Bicha <jeremy.bicha@canonical.com>
Wed, 9 Feb 2022 18:25:53 +0000 (18:25 +0000)
commit40265c928db4e00d86dc5e9ecb68081a4aa8fb2f
tree55175835fca96e698a8ac503694b56c1fc4d37ae
parentda26bb7a40932e971f561b08da55c009f1fa20d1
Make our stack noexec

The change to use ld and objcopy for resources
had some side-effects: it leaked a few symbols
and made our stack executable. We don't want that.

Use -z nonexecstack and --strip-all to avoid this.

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4598

Gbp-Pq: Name Make-our-stack-noexec.patch
gtk/meson.build