4 ms·
While there are flags for closing file descriptors on exec(), they are not set by default. This means that delvelopers of every application that uses fork() mus
by codedokode 8y ago
While there are flags for closing file descriptors on exec(), they are not set by default. This means that delvelopers of every application that uses fork() must set these flags otherwise descriptor leak is present.
- gmueckl 8y agoBut if your 3rd party library keeps a file handle around internally that does not have the flag set, you're still going to have a bad day.