Bug 136 - sudo should use "closefrom()" for later Solaris versions
sudo should use "closefrom()" for later Solaris versions
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.7
Sun Solaris 2.x
: normal enhancement
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-04-16 01:45 MDT by Thomas Törnblom
Modified: 2004-04-16 12:00 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Törnblom 2004-04-16 01:45:49 MDT
Solaris 9 (and higher) has had two new library calls added, "closefrom()", and
"fdwalk()", which operates on open files in a process.

These are a big performance win for systems allowing many open files, and it
would be a good idea to support that also in sudo.
Comment 1 Todd C. Miller 2004-04-16 08:00:37 MDT
cvs version already uses closefrom() and so will the next release.