summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2012-12-06 06:45:57 -0500
committerJeff Layton <jlayton@samba.org>2012-12-06 06:45:57 -0500
commit2584e62c06dbea59bbd6a001040d7780959c8358 (patch)
treee1b09b9d8029c9db461b93176d611c947d43d94a
parentbacbbf7c0994bdeaf49234abd07d840673d37e95 (diff)
downloadcifs-utils-2584e62c06dbea59bbd6a001040d7780959c8358.tar.gz
cifs-utils-2584e62c06dbea59bbd6a001040d7780959c8358.tar.bz2
cifs-utils-2584e62c06dbea59bbd6a001040d7780959c8358.zip
autoconf: enable full RELRO in cifs-utils binaries
This is safer since it also protects the GOT from getting clobbered. Signed-off-by: Jeff Layton <jlayton@samba.org>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d97c51b..78acd43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,7 +114,7 @@ fi
AC_SUBST([PIE_CFLAGS])
if test $enable_relro != "no"; then
- RELRO_CFLAGS="-Wl,-z,relro"
+ RELRO_CFLAGS="-Wl,-z,relro,-z,now"
else
RELRO_CFLAGS=""
fi