Bug#1026168: Xwayland: enable full hardening flags (BINDNOW)
Source: xwayland
Version: 2:22.1.6-1
Tags: security,patch
Dear Maintaner,
please enable full hardening flags for Xwayland; in particular
currently the link feature BINDNOW[1] is missing.
As Xwayland is a long running daemon any potential startup costs are negligible.
[1]: https://wiki.debian.org/Hardening#DEB_BUILD_HARDENING_BINDNOW_.28ld_-z_now.29
diff --git a/debian/rules b/debian/rules
index 9cdefd5..3d384eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
include /usr/share/dpkg/pkg-info.mk
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
SUPPORT = https://www.debian.org/support
%:
Reply to: