From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from <gentoo-user+bounces-67452-garchives=archives.gentoo.org@gentoo.org>) id 1IH1lp-00028g-2C for garchives@archives.gentoo.org; Fri, 03 Aug 2007 18:21:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l73IJmf2025643; Fri, 3 Aug 2007 18:19:48 GMT Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l73IFcKP021015 for <gentoo-user@lists.gentoo.org>; Fri, 3 Aug 2007 18:15:39 GMT Received: by py-out-1112.google.com with SMTP id d32so1775514pye for <gentoo-user@lists.gentoo.org>; Fri, 03 Aug 2007 11:15:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jkcqPUeDt10Dy3r3mwqtBTyR+NhSk2ZpS2OSmXBw3bmkdidXfk11ifxBARcFcO3PYU34fYzRSqSPNVHubBoliUFgaBFenaEUeXatwUY7MLojUitzW2/87F4tkKTI0DcDFwzpr57Hohc3YLmKWuKYacAHRkypmF6bUNb2wQSKVrc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=A/A8T1ghvKR8SQxFPsZrM+u7Cyx1I0oagRz2o4J6WfR1mOG6p//jxfwjGcYBUvf47vVtQG03IEjvYPqjMST67gLFh3Zf28QsDCBlFkUs9Ba77DH3MbRZ24cd2QEijGzUpA3ZTFQErpHodYRr2DSmdhLDTWmxUGiNLqkFLyZPBe4= Received: by 10.35.45.14 with SMTP id x14mr5166648pyj.1186164938302; Fri, 03 Aug 2007 11:15:38 -0700 (PDT) Received: by 10.35.122.12 with HTTP; Fri, 3 Aug 2007 11:15:38 -0700 (PDT) Message-ID: <64e8d2f20708031115j66a8f997s53c0df23efae4988@mail.gmail.com> Date: Fri, 3 Aug 2007 14:15:38 -0400 From: "Ryan Sims" <rwsims@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to disable stack randomization? In-Reply-To: <20070803131518.GA12893@localhost> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070803131518.GA12893@localhost> X-Archives-Salt: 8d7f7bf2-6a94-4d68-a117-17be8835b282 X-Archives-Hash: 1ce3bd56df28aca3abdc7e9347560d7f On 8/3/07, Shaochun Wang <scwang@ios.ac.cn> wrote: > Every time I execute the same program, its stack starts at a different > address. After some studying, I know it is caused by stack randomization > in kernel. Although stack randomization impedes stack buffer overflow, > it introduces some nondeterminism. > > Does anyone know how to disable it? I'm afraid I can't help, but I'm curious: what are the behaviors that the randomization is causing? Not criticizing, just interested. -- Ryan W Sims -- gentoo-user@gentoo.org mailing list