master - liblvm2cmd: add return code for _close_stray_fds
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=1f30e048bd8b387e25baad4f82223b63dc516cf5 Commit: 1f30e048bd8b387e25baad4f82223b63dc516cf5 Parent: 98bcfdca837c8b56cc355e74672c932c1e8ed735 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu Mar 15 01:18:23 2012 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Oct 3 15:01:23 2012 +0200
liblvm2cmd: add return code for _close_stray_fds
Close fds via /proc/self/fd parsing
Return error code if _close_stray_fds fails and quit application if system is in some nonstandard state.
--- WHATS_NEW | 1 + tools/lvmcmdline.c | 47 ++++++++++++++++++++++++++++++++++++----------- 2 files changed, 37 insertions(+), 11 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.98 - ================================= + Use /proc/self/fd for closing openned descriptors. Add missing pkg init with --enable-testing in configure.in (2.02.71). Fix inability to create, extend or convert to a large (> 1TiB) RAID LV. Add (p)artial attribute to lvs.
tools/lvmcmdline.c +36 -11
75 lines not on this page · raw message