Suppress valgrind error in fakechroot

This was spotted on Arch Linux, most likely it was introduced
when fakechroot was updated to 2.19-1.

Valgrind suggests to add the following suppression, which can be
tweaked to fit an already existing one.

  {
     <insert_a_suppression_name_here>
     Memcheck:Leak
     match-leak-kinds: reachable
     fun:calloc
     obj:/usr/lib/libdl-2.24.so
     fun:dlsym
     obj:/usr/lib/libfakeroot/fakechroot/libfakechroot.so
     fun:bindtextdomain
     obj:/usr/lib/libgpg-error.so.0.20.0
     fun:call_init.part.0
     fun:_dl_init
     obj:/usr/lib/ld-2.24.so
     obj:*
     obj:*
     obj:*
  }

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Rikard Falkeborn 2017-01-02 13:51:11 +01:00 committed by Allan McRae
parent 8b0d59b83a
commit 9ad7cda9d8

View File

@ -160,8 +160,10 @@
fakechroot-call-init
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:?alloc
...
obj:/usr/lib/libfakeroot/fakechroot/libfakechroot.so
...
fun:call_init.part.0
fun:_dl_init
obj:/usr/lib/ld-*.so