sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 1 | |
2 | ##----------------------------------------------------------------------## | ||||
3 | |||||
4 | # Errors to suppress by default on a RedHat 6.2 system | ||||
5 | # (glibc 2.1.3, XFree86 3.3.6) | ||||
6 | |||||
7 | # Format of this file is: | ||||
8 | # { | ||||
9 | # name_of_suppression | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 10 | # skin_name:supp_kind |
11 | # (optional extra info for some suppression types) | ||||
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 12 | # caller0 name, or /name/of/so/file.so |
13 | # caller1 name, or ditto | ||||
14 | # (optionally: caller2 name) | ||||
15 | # (optionally: caller3 name) | ||||
16 | # } | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 17 | # |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 18 | # For Memcheck, the supp_kinds are: |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 19 | # |
20 | # Param Value1 Value2 Value4 Value8 | ||||
21 | # Free Addr1 Addr2 Addr4 Addr8 | ||||
22 | # Cond (previously known as Value0) | ||||
23 | # | ||||
24 | # and the optional extra info is: | ||||
25 | # if Param: name of system call param | ||||
26 | # if Free: name of free-ing fn) | ||||
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 27 | |
28 | ##----------------------------------------------------------------------## | ||||
29 | |||||
30 | { | ||||
31 | socketcall.connect(serv_addr)/__libc_connect/*(Param) | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 32 | Memcheck:Param |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 33 | socketcall.connect(serv_addr) |
34 | fun:__libc_connect | ||||
35 | fun:* | ||||
36 | } | ||||
37 | |||||
38 | { | ||||
39 | strrchr/_dl_map_object_from_fd/_dl_map_object(Addr4) | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 40 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 41 | fun:strrchr |
42 | fun:_dl_map_object_from_fd | ||||
43 | fun:_dl_map_object | ||||
44 | } | ||||
45 | |||||
46 | { | ||||
47 | strrchr/_dl_map_object_from_fd/_dl_map_object(Value1) | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 48 | Memcheck:Value1 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 49 | fun:strrchr |
50 | fun:_dl_map_object_from_fd | ||||
51 | fun:_dl_map_object | ||||
52 | } | ||||
53 | |||||
54 | { | ||||
55 | llseek(result)/__libc_lseek64/_IO_file_seek(Param) | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 56 | Memcheck:Param |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 57 | llseek(result) |
58 | fun:__libc_lseek64 | ||||
59 | fun:_IO_file_seek | ||||
60 | } | ||||
61 | |||||
62 | { | ||||
63 | __rawmemchr/_nl_*/*locale(Addr4) | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 64 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 65 | fun:__rawmemchr |
66 | fun:_nl_* | ||||
67 | fun:*locale | ||||
68 | } | ||||
69 | |||||
70 | # new ones for RH62 ls -l | ||||
71 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 72 | __strchrnul/__nss_database_lookup(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 73 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 74 | fun:__strchrnul |
75 | fun:__nss_database_lookup | ||||
76 | } | ||||
77 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 78 | __strchrnul/__gethostbyname_r(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 79 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 80 | fun:__strchrnul |
81 | fun:__gethostbyname_r | ||||
82 | } | ||||
83 | |||||
84 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 85 | strrchr/_dl_map*/_dl_map*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 86 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 87 | fun:strrchr |
88 | fun:_dl_map* | ||||
89 | fun:_dl_map* | ||||
90 | } | ||||
91 | |||||
92 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 93 | strchr/dl_open_worker/_dl_catch_error(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 94 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 95 | fun:strchr |
96 | fun:dl_open_worker | ||||
97 | fun:_dl_catch_error | ||||
98 | } | ||||
99 | |||||
100 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 101 | __rawmemchr/???/__getgrgid_r(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 102 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 103 | fun:__rawmemchr |
104 | fun:* | ||||
105 | fun:__getgrgid_r | ||||
106 | } | ||||
107 | |||||
108 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 109 | __rawmemchr/_nl_*/*locale*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 110 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 111 | fun:__rawmemchr |
112 | fun:_nl_* | ||||
113 | fun:*locale* | ||||
114 | } | ||||
115 | |||||
sewardj | da6d1ec | 2002-03-24 11:38:37 +0000 | [diff] [blame] | 116 | { |
117 | _dl_relocate_object/dl_open_worker(Value0) | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 118 | Memcheck:Cond |
sewardj | da6d1ec | 2002-03-24 11:38:37 +0000 | [diff] [blame] | 119 | fun:_dl_relocate_object |
120 | fun:dl_open_worker | ||||
121 | } | ||||
122 | |||||
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 123 | ##----------------------------------------------------------------------## |
124 | ## from a Debian machine running kernel 2.2.19 I believe | ||||
125 | ## I guess most of these are the same as above really, but | ||||
126 | ## Debian stripped their libc-2.1.3 | ||||
127 | |||||
128 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 129 | libc-2.1.3.so/libc-2.1.3.so/libc-2.1.3.so(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 130 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 131 | obj:*libc-2.1.3.so |
132 | obj:*libc-2.1.3.so | ||||
133 | obj:*libc-2.1.3.so | ||||
134 | } | ||||
135 | |||||
136 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 137 | strchr/libc-2.1.3.so(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 138 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 139 | fun:*strchr* |
140 | obj:*libc-2.1.3.so | ||||
141 | } | ||||
142 | |||||
143 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 144 | libc-2.1.3.so/libXt.so(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 145 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 146 | obj:*libc-2.1.3.so |
147 | obj:*libXt.so* | ||||
148 | } | ||||
149 | |||||
150 | { | ||||
151 | socketcall.connect(serv_addr)/__libc_connect/*(Param) | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 152 | Memcheck:Param |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 153 | socketcall.connect(serv_addr) |
154 | obj:*libc-2.1.3.so | ||||
155 | obj:*libX11.so* | ||||
156 | } | ||||
157 | |||||
158 | |||||
159 | ##----------------------------------------------------------------------## | ||||
160 | |||||
161 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 162 | X11-Cond-0 |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 163 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 164 | obj:*libXt.so.6.0 |
165 | obj:*libXt.so.6.0 | ||||
166 | obj:*libXt.so.6.0 | ||||
167 | } | ||||
168 | { | ||||
sewardj | a7dc795 | 2002-03-24 11:29:13 +0000 | [diff] [blame] | 169 | X11-Cond-1 |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 170 | Memcheck:Cond |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 171 | fun:__rawmemchr |
172 | obj:*libXt.so.6.0 | ||||
173 | obj:*libXt.so.6.0 | ||||
174 | } | ||||
175 | |||||
176 | |||||
177 | # Suppressions for XFree86-3.3.X | ||||
178 | |||||
179 | { | ||||
180 | X11-Addr4-1 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 181 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 182 | obj:/usr/X11R6/lib/libX11.so.6.1 |
183 | obj:/usr/X11R6/lib/libX11.so.6.1 | ||||
184 | obj:/usr/X11R6/lib/libX11.so.6.1 | ||||
185 | } | ||||
186 | |||||
187 | { | ||||
188 | X11-Addr4-2 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 189 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 190 | obj:/usr/X11R6/lib/libX11.so.6.1 |
191 | obj:/usr/X11R6/lib/libX11.so.6.1 | ||||
192 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
193 | } | ||||
194 | |||||
195 | { | ||||
196 | X11-Addr4-3 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 197 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 198 | obj:/usr/X11R6/lib/libXt.so.6.0 |
199 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
200 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
201 | } | ||||
202 | |||||
203 | { | ||||
204 | X11-Addr4-4 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 205 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 206 | obj:/usr/X11R6/lib/libX11.so.6.1 |
207 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
208 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
209 | } | ||||
210 | |||||
211 | { | ||||
212 | X11-Addr4-5 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 213 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 214 | fun:__rawmemchr |
215 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
216 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
217 | } | ||||
218 | |||||
219 | { | ||||
220 | X11-Addr4-6 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 221 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 222 | obj:/usr/X11R6/lib/libXmu.so.6.0 |
223 | obj:/usr/X11R6/lib/libXmu.so.6.0 | ||||
224 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
225 | } | ||||
226 | |||||
227 | { | ||||
228 | X11-Addr4-7 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 229 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 230 | obj:/usr/X11R6/lib/libXt.so.6.0 |
231 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
232 | obj:/usr/X11R6/lib/libXawXpm_posing_as_Xaw.so.6.1 | ||||
233 | } | ||||
234 | |||||
235 | { | ||||
236 | X11-Param-1 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 237 | Memcheck:Param |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 238 | write(buf) |
239 | fun:__libc_write | ||||
240 | obj:/usr/X11R6/lib/libX11.so.6.1 | ||||
241 | obj:/usr/X11R6/lib/libX11.so.6.1 | ||||
242 | } | ||||
243 | |||||
244 | { | ||||
245 | X11-Addr4-8 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 246 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 247 | obj:/usr/X11R6/lib/libX11.so.6.1 |
248 | obj:/usr/X11R6/lib/libXpm.so.4.11 | ||||
249 | obj:/usr/X11R6/lib/libXpm.so.4.11 | ||||
250 | } | ||||
251 | |||||
252 | { | ||||
253 | X11-Addr4-8 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 254 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 255 | obj:/usr/X11R6/lib/libXt.so.6.0 |
256 | obj:/usr/X11R6/lib/libXawXpm_posing_as_Xaw.so.6.1 | ||||
257 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
258 | } | ||||
259 | |||||
260 | { | ||||
261 | X11-Addr4-9 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 262 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 263 | obj:/usr/X11R6/lib/libXaw.so.6.1 |
264 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
265 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
266 | } | ||||
267 | |||||
268 | { | ||||
269 | X11-Addr4-10 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 270 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 271 | obj:/usr/X11R6/lib/libXaw.so.6.1 |
272 | obj:/usr/X11R6/lib/libXaw.so.6.1 | ||||
273 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
274 | } | ||||
275 | |||||
276 | { | ||||
277 | X11-Addr4-11 | ||||
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 278 | Memcheck:Addr4 |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 279 | obj:/usr/X11R6/lib/libXt.so.6.0 |
280 | obj:/usr/X11R6/lib/libXt.so.6.0 | ||||
281 | obj:/usr/X11R6/lib/libXaw.so.6.1 | ||||
282 | } | ||||
283 | |||||
284 | |||||
285 | |||||
286 | ##----------------------------------------------------------------------## |