Maxime Henrion <[EMAIL PROTECTED]> wrote: >Tony Finch wrote: >> >> If it's available at all, mprotect() is often limited to memory >> obtained with mmap(), i.e. not malloc(). Not great for portability. > >FreeBSD malloc() calls mmap() as AFAIK many (if not all) malloc() >implementations. FreeBSD malloc() uses sbrk() for memory that it returns to the application and mmap() for book-keeping memory (the page index). Tony. -- f.a.n.finch [EMAIL PROTECTED] [EMAIL PROTECTED] GERMAN BIGHT: SOUTHEAST 4 OR 5 BACKING NORTHEAST 5 OR 6. SLEET. MODERATE OR POOR. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: Setting memory allocators for library functi... Daniel C. Sobral
- [hackers] Re: Setting memory allocators for libr... David Gilbert
- Re: [hackers] Re: Setting memory allocators for ... Peter Seebach
- Re: [hackers] Re: Setting memory allocators for ... Tony Finch
- Re: [hackers] Re: Setting memory allocators for ... Peter Seebach
- Re: [hackers] Re: Setting memory allocators for ... Lyndon Nerenberg
- Re: [hackers] Re: Setting memory allocators for ... Tony Finch
- Re: [hackers] Re: Setting memory allocators for ... Drew Eckhardt
- Re: [hackers] Re: Setting memory allocators for ... Tony Finch
- Re: [hackers] Re: Setting memory allocators for ... Maxime Henrion
- Re: Setting memory allocators for library functi... Tony Finch
- Re: Setting memory allocators for library functions. Daniel C. Sobral
- Re: Setting memory allocators for library functions. Peter Seebach
- Re: Setting memory allocators for library functi... Warner Losh
- Re: Setting memory allocators for library functi... Archie Cobbs
- Re: Setting memory allocators for library functi... Julian Elischer
- Re: Setting memory allocators for library functi... Peter Seebach
- Re: Setting memory allocators for library functi... Daniel C. Sobral
- Re: Setting memory allocators for library functi... Peter Seebach
- Re: Setting memory allocators for library functi... Peter Dufault
- Re: Setting memory allocators for library functi... Matt Dillon

