Changes committed to git://git.pcp.io/nathans/pcp.git master
Lukas Berk (1):
pmcd: initial work around pmdaroot-starting-pmdas work
src/include/pcp/pmda.h | 4
src/include/pcp/pmdaroot.h | 44 +++++++-
src/libpcp_pmda/src/exports | 11 ++
src/libpcp_pmda/src/pduroot.c | 223 ++++++++++++++++++++++++++++++++++++++++++
src/libpcp_pmda/src/root.c | 49 +++++++++
src/pmcd/src/agent.c | 116 +++++++++++++--------
src/pmcd/src/config.c | 52 ++++++++-
src/pmcd/src/pmcd.c | 103 +++++++++++++------
src/pmcd/src/pmcd.h | 7 +
src/pmdas/root/GNUmakefile | 8 -
src/pmdas/root/Install | 30 -----
src/pmdas/root/Remove | 25 ----
src/pmdas/root/agent.c | 164 ++++++++++++++++++++++++++++++
src/pmdas/root/root.c | 78 +++++++++++---
src/pmdas/root/root.h | 9 +
15 files changed, 763 insertions(+), 160 deletions(-)
commit 76bedd2d2bc7f45ecf94db3e2e273b842a8f81e9
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date: Wed Dec 9 17:07:07 2015 +1100
pmcd: initial work around pmdaroot-starting-pmdas
pmcd can now use AF_UNIX socket based communication with pmdaroot(1)
(a PMDA with elevated privledges); pmcd will now try and start pmdas
via pmdaroot. pmdaroot will start requested pmdas, and pass back
their in/out fd's to pmcd for subsequent communication.
Currently disabled, some error handling and further cleanup, testing
and documentation work remains.
|