Skip to content
Commit f8373ecc authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Héctor Orón Martínez
Browse files

scanner: avoid executable stack



Before this patch:
$ scanelf -lpqe ./wayland-scanner
RWX --- ---  ./wayland-scanner

That indicates the stack is executable, which is a bad thing for
security. Wayland-scanner does not actually need an executable stack, it
is just an oversight from using an .S file in the sources.

Add a special incantation in dtddata.S to make it not cause the stack to
become executable.

Reported-by: default avatarMart Raudsepp <leio@gentoo.org>
Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tested-by: default avatarMart Raudsepp <leio@gentoo.org>
parent 3b6ee621
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment