nostd in userspace?
Posted Aug 27, 2009 20:35 UTC (Thu) by kjp (subscriber, #39639)
* Change every open() or socket() line in every library that my super robust 'fooutils' program uses to use NOSTD
* Change my main() code to open 0,1,2 to /dev/null ...
Just like it's SO error prone to read /proc/self/fd/ and close what you don't want, than using CLOEXEC *in every library you'd ever think about using or be LD_PRELOAD'd with*
Posted Aug 27, 2009 20:40 UTC (Thu) by quotemstr (subscriber, #45331)
Posted Aug 28, 2009 3:54 UTC (Fri) by kjp (subscriber, #39639)
Posted Aug 28, 2009 4:05 UTC (Fri) by quotemstr (subscriber, #45331)
Posted Aug 28, 2009 4:53 UTC (Fri) by foom (subscriber, #14868)
Oh look, this was already discussed. :)
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds