[PATCH] autoconf: enable full RELRO in cifs-utils binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is safer since it also protects the GOT from getting clobbered.

Signed-off-by: Jeff Layton <jlayton@xxxxxxxxx>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux