projects
/
platform
/
upstream
/
strace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05cd5b2
)
debian: enable security hardening features
author
Dmitry V. Levin
<ldv@altlinux.org>
Tue, 3 Jun 2014 12:56:42 +0000
(12:56 +0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Tue, 3 Jun 2014 13:04:06 +0000
(13:04 +0000)
* debian/rules: Follow the advice in https://wiki.debian.org/Hardening
and enable maximum hardening as for programs that handle untrusted data.
Patch by Markus <waldeck@gmx.de>.
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index b997182f4f603919515c1313810393533e50ddc3..52220fa3c72a2ae40a7516975c3e2f84675e8a83 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-2,7
+2,11
@@
#export DH_VERBOSE=1
-CFLAGS = -Wall -g
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+CFLAGS += -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0