mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Tomasz Sterna <tomek@xiaoka.com>
To: musl@lists.openwall.com
Subject: Re: Memory management, how to protect some address space.
Date: Thu, 10 Mar 2016 20:53:37 +0100	[thread overview]
Message-ID: <1457639617.10711.23.camel@xiaoka.com> (raw)
In-Reply-To: <20160310212302.de4ec2003f3ef8cafc05c66d@asm32.info>

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

W dniu 10.03.2016, czw o godzinie 21∶23 +0200, użytkownik John Found
napisał:
> Hm, isn't it paragraph 22? sys_personality changes the personality of
> the calling process.
> How to call it *before* executing program???

Either using a wrapper binary, or
right at the beginning check current personality
with personality(0xffffffff) and if it is not what you wanted set
required personality and exec(3) your binary again in the same process
space.


-- 
 /o__ 
(_<^' Beam me up, Scotty! It ate my phaser!


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2016-03-10 19:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10  8:22 John Found
2016-03-10 16:45 ` Rich Felker
2016-03-10 19:02   ` John Found
2016-03-10 19:11     ` Rich Felker
2016-03-10 19:23       ` John Found
2016-03-10 19:53         ` Tomasz Sterna [this message]
2016-03-10 20:20         ` Rich Felker
2016-03-10 20:24           ` Bryan Hundven
2016-03-10 20:25           ` Alexander Monakov
2016-03-10 22:20           ` John Found

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457639617.10711.23.camel@xiaoka.com \
    --to=tomek@xiaoka.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).