|
Message-ID: <CAPLrYEQonRWEFZM6fPFLJqOQfKm2NEZ5hxF4QhQyuS9_xEHMgg@mail.gmail.com> Date: Fri, 3 Jan 2014 13:59:18 +0100 From: Daniel Cegiełka <daniel.cegielka@...il.com> To: musl@...ts.openwall.com Subject: Re: Re: Removing sbrk and brk 2014/1/3 Thorsten Glaser <t.glaser@...ent.de>: > 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 Yes, I also wanted to suggest malloc from OpenBSD. This may be the right solution for musl. Daniel
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.