Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
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 © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds