From patchwork Thu Dec 31 01:34:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kirill A . Shutemov" X-Patchwork-Id: 41958 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 258DC1007D1 for ; Thu, 31 Dec 2009 12:54:47 +1100 (EST) Received: from localhost ([127.0.0.1]:53302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQAFQ-0005IX-4u for incoming@patchwork.ozlabs.org; Wed, 30 Dec 2009 20:54:44 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQ9w4-0006R3-1v for qemu-devel@nongnu.org; Wed, 30 Dec 2009 20:34:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQ9vz-0006Nd-SK for qemu-devel@nongnu.org; Wed, 30 Dec 2009 20:34:43 -0500 Received: from [199.232.76.173] (port=40635 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ9vz-0006NW-Jh for qemu-devel@nongnu.org; Wed, 30 Dec 2009 20:34:39 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:36950) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQ9vz-00038v-7C for qemu-devel@nongnu.org; Wed, 30 Dec 2009 20:34:39 -0500 Received: by mail-fx0-f222.google.com with SMTP id 22so15607718fxm.2 for ; Wed, 30 Dec 2009 17:34:38 -0800 (PST) Received: by 10.223.145.130 with SMTP id d2mr12619583fav.78.1262223278803; Wed, 30 Dec 2009 17:34:38 -0800 (PST) Received: from localhost.localdomain (a88-114-220-92.elisa-laajakaista.fi [88.114.220.92]) by mx.google.com with ESMTPS id z10sm20643205fka.30.2009.12.30.17.34.37 (version=SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 17:34:38 -0800 (PST) From: "Kirill A. Shutemov" To: qemu-devel@nongnu.org Date: Thu, 31 Dec 2009 03:34:25 +0200 Message-Id: <1262223266-19191-4-git-send-email-kirill@shutemov.name> X-Mailer: git-send-email 1.6.5.7 In-Reply-To: <1262223266-19191-3-git-send-email-kirill@shutemov.name> References: <1262223266-19191-1-git-send-email-kirill@shutemov.name> <1262223266-19191-2-git-send-email-kirill@shutemov.name> <1262223266-19191-3-git-send-email-kirill@shutemov.name> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: "Kirill A. Shutemov" Subject: [Qemu-devel] [PATCH 13/14] Enable _FORTIFY_SOURCE=2 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org _FORTIFY_SOURCE is a Glibc feature which adds memory and string function protection. Signed-off-by: Kirill A. Shutemov --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 18aed43..0cdcdb3 100755 --- a/configure +++ b/configure @@ -97,7 +97,7 @@ CFLAGS="-g $CFLAGS" QEMU_CFLAGS="-Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes $QEMU_CFLAGS" QEMU_CFLAGS="-Wstrict-prototypes -Wredundant-decls $QEMU_CFLAGS" QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS" -QEMU_CFLAGS="-U_FORTIFY_SOURCE $QEMU_CFLAGS" +QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS" QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS" LDFLAGS="-g $LDFLAGS"