From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6899 invoked by alias); 7 Jun 2008 20:41:32 -0000 Received: (qmail 6888 invoked by uid 22791); 7 Jun 2008 20:41:32 -0000 X-Spam-Check-By: sourceware.org Received: from ns2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 07 Jun 2008 20:41:12 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 22D3545B0D; Sat, 7 Jun 2008 22:41:10 +0200 (CEST) From: Andreas Schwab To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] Disable child VMA randomizations References: <20080607195343.GA10039@host0.dyn.jankratochvil.net> X-Yow: YUGGA-HUGGA-BUGGA-TUGGA!! HEY-HEY!! A TRAIN STATION!! No, a POST OFFICE!! An OCEAN LINER!! No, I think it's a CAFETERIA!!! Date: Sat, 07 Jun 2008 20:41:00 -0000 In-Reply-To: <20080607195343.GA10039@host0.dyn.jankratochvil.net> (Jan Kratochvil's message of "Sat, 7 Jun 2008 21:53:43 +0200") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00128.txt.bz2 Jan Kratochvil writes: > +dnl Check if we can disable the virtual address space randomization. > +dnl The functionality of setarch -R. > +define([PERSONALITY_TEST], [AC_LANG_PROGRAM([#include ], > + [#define PERSONALITY_ADDR_NO_RANDOMIZE 0x0040000 > + /* Test the flag could be set and stays set. */ > + personality (personality (0xffffffff) | PERSONALITY_ADDR_NO_RANDOMIZE); > + if (!(personality (personality (0xffffffff)) > + & PERSONALITY_ADDR_NO_RANDOMIZE)) > + return 1])]) > +AC_RUN_IFELSE(PERSONALITY_TEST, > + AC_DEFINE([HAVE_PERSONALITY], 1, > + [Define if you support the personality syscall.]), > + , > + AC_LINK_IFELSE(PERSONALITY_TEST, > + AC_DEFINE([HAVE_PERSONALITY], 1, > + [Define if you support the personality syscall.]))) This is underquoted. All arguments containing nested macro invocations should be quoted. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."