From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9561 Path: news.gmane.org!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: Memory management, how to protect some address space. Date: Thu, 10 Mar 2016 23:25:12 +0300 (MSK) Message-ID: References: <20160310102252.f0401b98c0c333dd9dff9587@asm32.info> <20160310164515.GN9349@brightrain.aerifal.cx> <20160310210204.4c388872b04be2c4fe6a04f3@asm32.info> <20160310191103.GO9349@brightrain.aerifal.cx> <20160310212302.de4ec2003f3ef8cafc05c66d@asm32.info> <20160310202050.GQ9349@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1457641539 31688 80.91.229.3 (10 Mar 2016 20:25:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 20:25:39 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9574-gllmg-musl=m.gmane.org@lists.openwall.com Thu Mar 10 21:25:38 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ae79D-0001eB-Mg for gllmg-musl@m.gmane.org; Thu, 10 Mar 2016 21:25:27 +0100 Original-Received: (qmail 29861 invoked by uid 550); 10 Mar 2016 20:25:24 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 29834 invoked from network); 10 Mar 2016 20:25:23 -0000 In-Reply-To: <20160310202050.GQ9349@brightrain.aerifal.cx> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) Xref: news.gmane.org gmane.linux.lib.musl.general:9561 Archived-At: On Thu, 10 Mar 2016, Rich Felker wrote: > exec does not make a new process; it replaces the program running in > the current process with a new one. There's actually a command line > too (I forget the name) to run a program with a particular personality > that calls personality() before execve(). setarch It has handy shortcuts like linux32 for switching to a 32-bit uname personality; in this case you'd use setarch --3gb or just setarch -3. Alexander