1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-09 13:57:55 +03:00
Zdenek Kabelac 6f8bd07b40 Duplicate standard in/out descriptors for daemon
Addressing somewhat tricky bug here.
Since stdin,stdout,stderr were closed it's been occasionally possible to
see some unexpected messages to be flowing into a clvmd and generating some
randomly sized allocation of many megabytes. Since the message was not
being generated by standard send_message() construction, after some more
testing it apperead to be a debug log message - thus something has flown
to local socket opened on strandard out descriptor.

To fix the issue - use standard file descriptor duplication code for daemons.

For making easier debugging of polling daemon - developer might want to recompile
without modifition of standard file descriptors.
2012-02-28 10:06:53 +00:00
..
2012-02-23 22:36:56 +00:00
2008-01-30 14:00:02 +00:00
2012-02-08 11:36:18 +00:00
2008-01-30 14:00:02 +00:00
2012-02-08 10:56:17 +00:00
2011-08-10 20:25:29 +00:00
2011-12-08 18:06:33 +00:00
2011-08-10 20:25:29 +00:00
2010-07-27 20:05:29 +00:00
2012-02-13 11:03:59 +00:00
2011-08-10 20:25:29 +00:00
2011-08-10 20:25:29 +00:00
2012-02-27 10:06:58 +00:00
2012-02-27 10:06:58 +00:00