Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <loom.20140103T124809-643@post.gmane.org>
Date: Fri, 3 Jan 2014 11:51:32 +0000 (UTC)
From: Thorsten Glaser <t.glaser@...ent.de>
To: musl@...ts.openwall.com
Subject: Re: Removing sbrk and brk

Rich Felker <dalias <at> aerifal.cx> writes:

> sbrk may be re-added sometime after 1.0 if malloc is changed to no
> longer use the brk (option 5 above).

You may want to import omalloc (based on mmap malloc, written from
scratch by Otto Moerbeek) with lots of security features:

http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/malloc.c
http://www.openbsd.org/cgi-bin/man.cgi?query=malloc

It does assume that mmap() is randomised and NULs the result.

bye,
//mirabilos

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.