[apparmor] [PATCH] parser: Quiet valgrind false positive

Seth Arnold seth.arnold at canonical.com
Wed Feb 5 18:42:10 UTC 2014


On Wed, Feb 05, 2014 at 10:35:58AM -0800, Steve Beattie wrote:
> Yes, much better. Acked-by: Steve Beattie <steve at nxnw.org>
> 
> With that, we can get rid of the valgrind supression that applies for
> that bit of code. Here's the patch to do that:

Also nice :)

Acked-by: Seth Arnold <seth.arnold at canonical.com>

> Signed-off-by: Steve Beattie <steve at nxnw.org>
> ---
>  parser/tst/valgrind_simple.py |    9 ---------
>  1 file changed, 9 deletions(-)
> 
> Index: b/parser/tst/valgrind_simple.py
> ===================================================================
> --- a/parser/tst/valgrind_simple.py
> +++ b/parser/tst/valgrind_simple.py
> @@ -33,15 +33,6 @@ VALGRIND_SUPPRESSIONS = '''
>  }
>  
>  {
> -    valgrind-yylex-obsessive-overreads
> -    Memcheck:Addr4
> -    fun:_Z?yylex?
> -    fun:_Z*yyparse*
> -    fun:_Z*process_profile*
> -    fun:main
> -}
> -
> -{
>      valgrind-serialize_profile-obsessive-overreads
>      Memcheck:Addr4
>      fun:_Z*sd_serialize_profile*
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140205/83fb5112/attachment.pgp>


More information about the AppArmor mailing list