pcp
[Top] [All Lists]

pcp updates: mmv pmda

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: mmv pmda
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 10 Jun 2016 06:17:18 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1326841717.53676296.1465553823919.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: xzFa4wXX0ANRKqzswOTUdqakYLeDXQ==
Thread-topic: pcp updates: mmv pmda
(QA & docs work remains, not for merging at this stage)

Changes committed to git://git.pcp.io/nathans/pcp.git master

Nathan Scott (2):
      pmdammv, qa: hardening mmap file data handling
      pmdammv: initial support for MMV no-values-available flag


 qa/646.out                  |    4 
 qa/990                      |   47 ++
 qa/990.out                  |  715 ++++++++++++++++++++++++++++++++++++++++++++
 qa/src/.gitignore           |    1 
 qa/src/GNUlocaldefs         |    2 
 qa/src/badmmv.c             |  458 ++++++++++++++++++++++++++++
 src/include/pcp/mmv_stats.h |    3 
 src/pmdas/mmv/mmvdump.c     |  284 ++++++++++++-----
 src/pmdas/mmv/src/mmv.c     |  318 +++++++++++++++----
 9 files changed, 1679 insertions(+), 153 deletions(-)


commit 2afd80585ec1ea904764eec243609a3ef08df13b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jun 10 18:28:39 2016 +1000

    pmdammv: initial support for MMV no-values-available flag
    
    Documentation and QA updates to follow.

commit 7133355077b988c559335ef346ba97a379f60504
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jun 10 17:58:30 2016 +1000

    pmdammv, qa: hardening mmap file data handling
    
    Numerous updates to pmdammv to make sure it cannot be coerced
    into accessing memory outside of the memory mapped files that
    it loads.  In addition, sensible (but still large) limits are
    placed on the data structures that are allocated to hold data
    representing various parts of the mappings.
    
    The mmvdump utility is updated in a similar way to improve its
    resilience in the presence of bad mappings.  It also has some
    slight output refinements (symbolic flag printing, etc).
    
    This tackles SGI BZ 1062.

<Prev in Thread] Current Thread [Next in Thread>