[Pkg-zsh-devel] Bug#644400: zsh: please enable hardening options

Pierre Chifflier pollux at debian.org
Wed Oct 5 14:08:40 UTC 2011


Source: zsh
Severity: normal
Tags: patch
User: debian-qa at lists.debian.org
Usertags: hardening

Hardening options is a proposed release goal for Wheezy [1].

Having important package compiled with the hardening options will add
various protections against issues such as stack smashing, predictable
locations of values in memory, etc.

I have rebuilt the package with hardening options enabled and there was
no error (during build, or at runtime).

The attached patch adds a minimal modification to the debian/rules file
to add support for hardening flags (other methods are available).
Note that PIE and bindnow are not enabled by default, and that you can
decide to enable this options for additional features (see the following
link for details).

You can control and enable/disable each hardening flag independently,
see
http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html
for details.

Thanks,
Pierre

[1] http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zsh-4.3.12-harden.patch
Type: text/x-diff
Size: 826 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20111005/bcd5bf0e/attachment.patch>


More information about the Pkg-zsh-devel mailing list