Skip to content
Commit f8f3e54a authored by Pekka Paalanen's avatar Pekka Paalanen
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 4a41d26c
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