]> granicus.if.org Git - sudo/commit
When restoring fds traverse list from high -> low, not low -> high
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 14 Jan 2014 21:22:04 +0000 (14:22 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 14 Jan 2014 21:22:04 +0000 (14:22 -0700)
commit8212a01f037bcd4ed62452c8df92ce94471c5ddb
tree9c7dd3a19377278702bbc0a7ad7f650cb3c19d09
parent4248b0366cf9dcebda5d814375425dc09883093e
When restoring fds traverse list from high -> low, not low -> high
to avoid implicitly closing an fd we want to relocate.

--HG--
branch : 1.8
src/preserve_fds.c