Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 10 Mar 2016 21:23:02 +0200
From: John Found <>
Subject: Re: Memory management, how to protect some address space.

On Thu, 10 Mar 2016 14:11:03 -0500
Rich Felker <> wrote:

> The proper way to use personality() is before exec'ing your program.
> The stack address and some spare memory that musl re-uses as heap get
> assigned at exec time before you can do anything within your program
> to prevent that from happening. In theory that could happen with glibc
> too; if it doesn't you're just getting lucky.
> Rich

Hm, isn't it paragraph 22? sys_personality changes the personality of the calling process.
How to call it *before* executing program???

John Found <>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.