From patchwork Thu Dec 6 11:56:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 1844721 Return-Path: X-Original-To: patchwork-cifs-client@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 399583FCA5 for ; Thu, 6 Dec 2012 11:57:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422908Ab2LFL5E (ORCPT ); Thu, 6 Dec 2012 06:57:04 -0500 Received: from mail-yh0-f52.google.com ([209.85.213.52]:51363 "EHLO mail-yh0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754959Ab2LFL5C (ORCPT ); Thu, 6 Dec 2012 06:57:02 -0500 Received: by mail-yh0-f52.google.com with SMTP id o22so996845yho.11 for ; Thu, 06 Dec 2012 03:57:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:date:message-id:x-mailer:x-gm-message-state; bh=jBYmU9AyELaBzpW8RqH9ZBjTUqfvA8awr2sPkEXLZC4=; b=HRL2Tx+W0rcRTBxu7tCHPACr+D7BMthHa/lD/TDB+2qCr0djXCgwhXmbuILJiGW+bQ X3ACLGKPD1Z8Wa84NJdHzyv/k4mR5IH82bbRNdnMuOzN7PzQLWKFuJx5e3ytmV+Ob5Lv fpq+t+2ret8u/OKl5Du3JsGi8fJ2589DUf/lKmeSCApUlWNzKTrvLhTXP35d5hM/0PmX +ZF4JfKue9IQJWsXHg/WlA81874DC+OalDzXmiVZmm05U5h8ArT4AX3DACbqmr0Ix0iI sJNngeihB8gJ63XylFhyg+maw7OhLAojctisIAnMgqkEjx7YZkhyHgnJg+2h5dKAUOxm LqJQ== Received: by 10.236.81.204 with SMTP id m52mr1668259yhe.55.1354795021424; Thu, 06 Dec 2012 03:57:01 -0800 (PST) Received: from salusa.poochiereds.net (cpe-107-015-113-143.nc.res.rr.com. [107.15.113.143]) by mx.google.com with ESMTPS id y9sm8209672anh.20.2012.12.06.03.56.59 (version=SSLv3 cipher=OTHER); Thu, 06 Dec 2012 03:57:00 -0800 (PST) From: Jeff Layton To: linux-cifs@vger.kernel.org Subject: [PATCH] autoconf: enable full RELRO in cifs-utils binaries Date: Thu, 6 Dec 2012 06:56:55 -0500 Message-Id: <1354795015-30078-1-git-send-email-jlayton@samba.org> X-Mailer: git-send-email 1.7.11.7 X-Gm-Message-State: ALoCoQmIROVVFTz/Rqwvnc8Eh1se1Zg0bnJrY9aoXLgio3e/dbrEtjFtwBER31+rwBmZJLRTZhm6 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org This is safer since it also protects the GOT from getting clobbered. Signed-off-by: Jeff Layton --- 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