[RFC] Proof-of-concept for netlink listener for mdev -i
Isaac Dunham
ibid.ag at gmail.com
Sun Mar 15 01:16:56 UTC 2015
On Thu, Mar 12, 2015 at 05:51:00PM +0100, Laurent Bercot wrote:
> On 12/03/2015 16:19, Natanael Copa wrote:
> >netlink listener code that needs to be in memory all the time:
> >http://git.alpinelinux.org/cgit/ncopa/nldev/tree/nldev.c
> - It may be worth it to write functions similar to die(), edie()
> and dbg() that don't use stdio, and call _exit() instead of exit().
> If you manage to scrap stdio, you gain 2 pages of text (with the
> musl implementation).
For what it's worth, atexit() requires using exit() instead of _exit().
But that doesn't affect this particular code.
Thanks,
Isaac Dunham
More information about the busybox
mailing list