pmcd: initial work around pmdaroot-starting-pmdas work
commit76bedd2d2bc7f45ecf94db3e2e273b842a8f81e9
authorLukas Berk <lberk@redhat.com>
Wed, 9 Dec 2015 06:07:07 +0000 (9 17:07 +1100)
committerNathan Scott <nathans@redhat.com>
Wed, 9 Dec 2015 06:07:07 +0000 (9 17:07 +1100)
tree0437461f2e40ba5fc68e57ca2ee8f5e96923eacb
parent6ff58465c980ffe126f839208c00ee93e52e265a
pmcd: initial work around pmdaroot-starting-pmdas work

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.
15 files changed:
src/include/pcp/pmda.h
src/include/pcp/pmdaroot.h
src/libpcp_pmda/src/exports
src/libpcp_pmda/src/pduroot.c
src/libpcp_pmda/src/root.c
src/pmcd/src/agent.c
src/pmcd/src/config.c
src/pmcd/src/pmcd.c
src/pmcd/src/pmcd.h
src/pmdas/root/GNUmakefile
src/pmdas/root/Install [deleted file]
src/pmdas/root/Remove [deleted file]
src/pmdas/root/agent.c [new file with mode: 0644]
src/pmdas/root/root.c
src/pmdas/root/root.h