__uc_malloc hooks
Mike Frysinger
vapier at gentoo.org
Sat Sep 15 01:19:33 PDT 2007
On Monday 30 July 2007, Denis Vlasenko wrote:
> I don't quite understand how to do hiding of __uc_malloc and
> __uc_malloc_failed. I see several different usage patterns for
> XXX_hidden_XXX macros,
> and also see open-coded attribute defs.
the hidden stuff is all documented in include/libc-symbols.h ... if, after
reading that, there's something missing, just lemme know and i'll do a
human-readable brain dump on the topic ... at first (and second and
third ...) go, they can be hard to digest
more to the point ... how exactly would __uc_malloc be useful ? i dont think
ive ever seen malloc() return NULL as the kernel is the first to find out
about the OOM situation and properly nukes any userspace app before it ever
sees the relevant NULL ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/uclibc/attachments/20070915/04de414f/attachment.pgp
More information about the uClibc
mailing list