blob: 7bd551d961c57cc99c79b94e2a8912eedc72e72f [file] [log] [blame]
gobry3b777892002-04-04 09:18:39 +00001##----------------------------------------------------------------------##
2
3# Errors to suppress by default for glibc 2.1.3
4
5# Format of this file is:
6# {
7# name_of_suppression
nethercote137bc552003-11-14 17:47:54 +00008# tool_name:supp_kind
njnc40c3a82002-10-02 11:02:27 +00009# (optional extra info for some suppression types)
gobry3b777892002-04-04 09:18:39 +000010# caller0 name, or /name/of/so/file.so
11# caller1 name, or ditto
12# (optionally: caller2 name)
13# (optionally: caller3 name)
14# }
njnc40c3a82002-10-02 11:02:27 +000015#
sewardj34eccb12002-10-05 16:49:09 +000016# For Memcheck, the supp_kinds are:
njnc40c3a82002-10-02 11:02:27 +000017#
njnc0616662003-06-12 09:58:41 +000018# Param Value1 Value2 Value4 Value8 Value16
19# Free Addr1 Addr2 Addr4 Addr8 Addr16
njnc40c3a82002-10-02 11:02:27 +000020# Cond (previously known as Value0)
21#
22# and the optional extra info is:
23# if Param: name of system call param
24# if Free: name of free-ing fn)
gobry3b777892002-04-04 09:18:39 +000025
sewardjb0de29e2002-07-16 02:11:51 +000026#-------- Suppress errors appearing as a result of calling
27#-------- __libc_freeres()
28
29{
30 __libc_freeres/free_mem(Addr4)
njn11cc9252002-10-07 14:42:59 +000031 Addrcheck,Memcheck:Addr4
sewardjb0de29e2002-07-16 02:11:51 +000032 fun:free_mem
33 fun:__libc_freeres
34}
35
36
gobry3b777892002-04-04 09:18:39 +000037##----------------------------------------------------------------------##
38
39{
fitzhardinge1c76dc42003-12-15 09:00:21 +000040 pthread_mutex_unlock/__register_frame_info_bases
njnc40c3a82002-10-02 11:02:27 +000041 core:PThread
fitzhardinge1c76dc42003-12-15 09:00:21 +000042 fun:pthread_mutex_unlock
sewardja6018172002-06-05 00:42:45 +000043 fun:__register_frame_info_bases
44}
45
46{
fitzhardinge1c76dc42003-12-15 09:00:21 +000047 socketcall.connect(serv_addr)/connect/*(Param)
njn11cc9252002-10-07 14:42:59 +000048 Addrcheck,Memcheck:Param
gobry3b777892002-04-04 09:18:39 +000049 socketcall.connect(serv_addr)
fitzhardinge1c76dc42003-12-15 09:00:21 +000050 fun:connect
gobry3b777892002-04-04 09:18:39 +000051 fun:*
52}
53
54{
55 strrchr/_dl_map_object_from_fd/_dl_map_object(Addr4)
njn11cc9252002-10-07 14:42:59 +000056 Addrcheck,Memcheck:Addr4
gobry3b777892002-04-04 09:18:39 +000057 fun:strrchr
58 fun:_dl_map_object_from_fd
59 fun:_dl_map_object
60}
61
62{
63 strrchr/_dl_map_object_from_fd/_dl_map_object(Value1)
sewardj34eccb12002-10-05 16:49:09 +000064 Memcheck:Value1
gobry3b777892002-04-04 09:18:39 +000065 fun:strrchr
66 fun:_dl_map_object_from_fd
67 fun:_dl_map_object
68}
69
70{
fitzhardinge1c76dc42003-12-15 09:00:21 +000071 llseek(result)/lseek64/_IO_file_seek(Param)
njn11cc9252002-10-07 14:42:59 +000072 Addrcheck,Memcheck:Param
gobry3b777892002-04-04 09:18:39 +000073 llseek(result)
fitzhardinge1c76dc42003-12-15 09:00:21 +000074 fun:lseek64
gobry3b777892002-04-04 09:18:39 +000075 fun:_IO_file_seek
76}
77
78{
79 __rawmemchr/_nl_*/*locale(Addr4)
njn11cc9252002-10-07 14:42:59 +000080 Addrcheck,Memcheck:Addr4
gobry3b777892002-04-04 09:18:39 +000081 fun:__rawmemchr
82 fun:_nl_*
83 fun:*locale
84}
85
86# new ones for RH62 ls -l
87{
88 __strchrnul/__nss_database_lookup(Cond)
sewardj34eccb12002-10-05 16:49:09 +000089 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +000090 fun:__strchrnul
91 fun:__nss_database_lookup
92}
93{
94 __strchrnul/__gethostbyname_r(Cond)
sewardj34eccb12002-10-05 16:49:09 +000095 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +000096 fun:__strchrnul
97 fun:__gethostbyname_r
98}
99
100{
101 strrchr/_dl_map*/_dl_map*(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000102 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000103 fun:strrchr
104 fun:_dl_map*
105 fun:_dl_map*
106}
107
108{
109 strchr/dl_open_worker/_dl_catch_error(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000110 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000111 fun:strchr
112 fun:dl_open_worker
113 fun:_dl_catch_error
114}
115
116{
117 __rawmemchr/???/__getgrgid_r(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000118 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000119 fun:__rawmemchr
120 fun:*
121 fun:__getgrgid_r
122}
123
124{
125 __rawmemchr/_nl_*/*locale*(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000126 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000127 fun:__rawmemchr
128 fun:_nl_*
129 fun:*locale*
130}
131
132{
133 _dl_relocate_object/dl_open_worker(Value0)
sewardj34eccb12002-10-05 16:49:09 +0000134 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000135 fun:_dl_relocate_object
136 fun:dl_open_worker
137}
138
139##----------------------------------------------------------------------##
140## from a Debian machine running kernel 2.2.19 I believe
141## I guess most of these are the same as above really, but
142## Debian stripped their libc-2.1.3
143
144{
145 libc-2.1.3.so/libc-2.1.3.so/libc-2.1.3.so(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000146 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000147 obj:*libc-2.1.3.so
148 obj:*libc-2.1.3.so
149 obj:*libc-2.1.3.so
150}
151
152{
153 strchr/libc-2.1.3.so(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000154 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000155 fun:*strchr*
156 obj:*libc-2.1.3.so
157}
158
159{
160 libc-2.1.3.so/libXt.so(Cond)
sewardj34eccb12002-10-05 16:49:09 +0000161 Memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000162 obj:*libc-2.1.3.so
163 obj:*libXt.so*
164}
165
166{
fitzhardinge1c76dc42003-12-15 09:00:21 +0000167 socketcall.connect(serv_addr)/connect/*(Param)
njn11cc9252002-10-07 14:42:59 +0000168 Addrcheck,Memcheck:Param
gobry3b777892002-04-04 09:18:39 +0000169 socketcall.connect(serv_addr)
170 obj:*libc-2.1.3.so
171 obj:*libX11.so*
172}