1 # This is a real problem in the Solaris libc. It is caused by a read past the 2 # FILE structure. It's an intentional hack to differentiate between two file 3 # structures, FILE and xFILE. 4 { 5 Solaris:snprintf 6 Memcheck:Cond 7 fun:getxfdat 8 ... 9 fun:_ndoprnt 10 fun:snprintf 11 } 12 13 # The same problem as above. 14 { 15 Solaris:vsnprintf 16 Memcheck:Cond 17 fun:getxfdat 18 ... 19 fun:_ndoprnt 20 fun:vsnprintf 21 } 22 23 # Solaris libc doesn't deallocate I/O buffers on program exit. 24 { 25 Solaris:file_buffer_malloc 26 Memcheck:Leak 27 fun:malloc 28 fun:_findbuf 29 obj:/lib/libc.so.1 30 obj:/lib/libc.so.1 31 } 32 33 #----------------------------------------------------------------------------# 34 # Solaris libc reinitializes mutex udp->ld_lock in the child's post-fork 35 # handler. 36 { 37 Solaris:postfork_child_mutex_reinit 38 drd:MutexErr 39 fun:mutex_init 40 fun:postfork1_child 41 fun:forkx 42 } 43 44