about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-02-18 05:46:46 +0000
committerEric Wong <normalperson@yhbt.net>2013-02-18 06:55:33 +0000
commit43d893ac7043ca69f2e93b987856e22cfa4a3978 (patch)
tree910a98180ca6567ca5e63e7341b72e59c6aa6c30
parent92b8a2091414c0024fe9fd35aed6891308c9dc26 (diff)
downloadcmogstored-43d893ac7043ca69f2e93b987856e22cfa4a3978.tar.gz
The epoll_event.data union is 64-bits on 32-bit systems while
pointers are 32-bit.  We only use 32-bits of that union, but
valgrind mistakenly complains about it (the kernel does not
care about the user-supplied data union at all).
-rw-r--r--test/valgrind.supp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/valgrind.supp b/test/valgrind.supp
index 259fa7c..073cb0f 100644
--- a/test/valgrind.supp
+++ b/test/valgrind.supp
@@ -17,3 +17,9 @@
         fun:malloc
         obj:/usr/lib*/libkqueue.so.*
 }
+{
+        epoll-ctl-event-ptr-on-32-bit
+        Memcheck:Param
+        epoll_ctl(event)
+        fun:epoll_ctl
+}