From patchwork Fri Dec 7 15:40:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 1851141 Return-Path: X-Original-To: patchwork-cifs-client@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 0A57CDFF39 for ; Fri, 7 Dec 2012 15:40:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756599Ab2LGPke (ORCPT ); Fri, 7 Dec 2012 10:40:34 -0500 Received: from mail-yh0-f52.google.com ([209.85.213.52]:39593 "EHLO mail-yh0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756397Ab2LGPkd (ORCPT ); Fri, 7 Dec 2012 10:40:33 -0500 Received: by mail-yh0-f52.google.com with SMTP id o22so107464yho.11 for ; Fri, 07 Dec 2012 07:40:32 -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=pmm4PWcDNGY7CelFYzK3jOuQIiPzH7xbISPSDidOgfmpn/AxBPVYZW9ZpvwCisfyYV 4LSYGP5y7pCBG/mytKCArHRIAbP2q+8t6zraNG0huyqq1Zh5nCn9yhtLzbVjlhZAr7uG Mq+dOD/CZB9nTydcFWNUIMKL45wCseZT4pkgv82Z72lsIpiEsGQmjVNQPHC3IXWFm36W SjZWtdUeqTotCvx8qCyY9HeF7FsU1DMI6A9/iyCxd2UKTTfOFOCQ9FKrTqC695AjC4nu 7gzuBnILATgQ07qTy3ikGAv6ZmQkL2CRKDqjfO6enxjNRC4ytyc48dCr65CUrbmjUHp0 QY5A== Received: by 10.236.134.195 with SMTP id s43mr8015302yhi.64.1354894831206; Fri, 07 Dec 2012 07:40:31 -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 u22sm13907255yhl.2.2012.12.07.07.40.29 (version=SSLv3 cipher=OTHER); Fri, 07 Dec 2012 07:40:29 -0800 (PST) From: Jeff Layton To: linux-cifs@vger.kernel.org Subject: [PATCH] autoconf: enable full RELRO in cifs-utils binaries Date: Fri, 7 Dec 2012 10:40:25 -0500 Message-Id: <1354894825-32726-1-git-send-email-jlayton@samba.org> X-Mailer: git-send-email 1.7.11.7 X-Gm-Message-State: ALoCoQmB/gHcHzDEKW0U88BX4Zne3VFWiUZKAy4ooN+hI+8bYR05/sscH9SWheV8k+/J4zLlrAFl 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