[Swan] Fwd: Re: libcap-ng valgrind warning

Paul Wouters pwouters at redhat.com
Thu Mar 7 20:14:57 EET 2013


FYI

-------- Original Message --------

From: Steve Grubb <sgrubb at redhat.com>
To: Paul Wouters <pwouters at redhat.com>
Subject: Re: libcap-ng valgrind warning
Date: Wed, 06 Mar 2013 17:18:45 -0500

On Wednesday, March 06, 2013 02:02:13 PM Paul Wouters wrote:
> line 414 is the capng_clear() call.
>
> Am I using the capabilities functions wrong, or could it me that there
> is a problem in the libcapng library?

Its more a problem of valgrind not ignoring proper use:
http://marc.info/?l=linux-security-module&m=125895232029657

We pass a NULL pointer to tell the kernel to tell us what the capability
support level is. Its not documented on any man page, but the link i gave you
above shows it coming straight from the upstream devels. :-)

-Steve




More information about the Swan mailing list