Changes committed to git://git.pcp.io/nathans/pcp.git master
Nathan Scott (1):
pmdapipe: implement optional ACL enforcement for individual commands
qa/878 | 7 -
qa/878.out | 2
qa/879 | 24 +---
qa/879.out | 62 ++++++++++
qa/group | 1
src/pmdas/pipe/GNUmakefile | 6 -
src/pmdas/pipe/event.c | 259 +++++++++++++++++++++++++++++++++++++++++++--
src/pmdas/pipe/event.h | 25 +++-
src/pmdas/pipe/pipe.c | 29 ++++-
src/pmdas/pipe/util.c | 5
src/pmdas/pipe/util.h | 2
11 files changed, 380 insertions(+), 42 deletions(-)
commit b77b093a635a9179e4005959971832d256b6946c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Dec 7 17:30:20 2015 +1100
pmdapipe: implement optional ACL enforcement for individual commands
Uses the libpcp user/group ACL interfaces to provide the mechanism.
Adds the missing code to parse the [access] section of the control
file and setup the libpcp tables, then enforce. Tests 878 and 879
updated to exercise parsing errors and enforcement.
|