[asterisk-dev] asterisk ast_close_fds_above_n, wtf?
Paul Albrecht
albrecht at glccom.com
Tue May 17 13:20:22 CDT 2011
Hi,
Thought I'd start a separate thread because since some folks can't look
at patches submitted to the list...
Here's my question: Why is asterisk supporting code, essentially the
solaris closefrom system call, to close file descriptors over exec
system calls?
This approach has been rejected by the glibc maintainer:
http://sourceware.org/bugzilla/show_bug.cgi?id=10353
And as linux provides a satisfactory method to close file descriptors it
creates prior to exec'ing a program or script:
http://udrepper.livejournal.com/20407.html
what's the point another interface?
--
Paul Albrecht
More information about the asterisk-dev
mailing list