Eric Blake 055d4ff87c util: use SCM_RIGHTS in virFileOperation when needed
Currently, the hook function in virFileOperation is extremely limited:
it must be async-signal-safe, and cannot modify any memory in the
parent process.  It is much handier to return a valid fd and operate
on it in the parent than to deal with hook restrictions.

* src/util/util.h (VIR_FILE_OP_RETURN_FD): New flag.
* src/util/util.c (virFileOperationNoFork, virFileOperation):
Honor new flag.
2011-03-28 10:26:33 -06:00
..
2011-03-04 09:52:12 -07:00
2011-02-11 12:32:17 -07:00
2011-02-03 08:58:45 -07:00
2011-03-17 14:52:50 -06:00
2011-03-04 09:52:12 -07:00
2011-02-08 19:37:21 -07:00
2011-02-08 19:37:21 -07:00
2011-03-18 08:57:48 -06:00
2011-03-04 09:52:12 -07:00