gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 1 | ##----------------------------------------------------------------------## |
2 | |||||
3 | # Errors to suppress by default for glibc 2.1.3 | ||||
4 | |||||
5 | # Format of this file is: | ||||
6 | # { | ||||
7 | # name_of_suppression | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 8 | # skin_name:supp_kind |
9 | # (optional extra info for some suppression types) | ||||
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 10 | # caller0 name, or /name/of/so/file.so |
11 | # caller1 name, or ditto | ||||
12 | # (optionally: caller2 name) | ||||
13 | # (optionally: caller3 name) | ||||
14 | # } | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 15 | # |
16 | # For memcheck, the supp_kinds are: | ||||
17 | # | ||||
18 | # Param Value1 Value2 Value4 Value8 | ||||
19 | # Free Addr1 Addr2 Addr4 Addr8 | ||||
20 | # 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) | ||||
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 25 | |
sewardj | b0de29e | 2002-07-16 02:11:51 +0000 | [diff] [blame] | 26 | #-------- Suppress errors appearing as a result of calling |
27 | #-------- __libc_freeres() | ||||
28 | |||||
29 | { | ||||
30 | __libc_freeres/free_mem(Addr4) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 31 | memcheck:Addr4 |
sewardj | b0de29e | 2002-07-16 02:11:51 +0000 | [diff] [blame] | 32 | fun:free_mem |
33 | fun:__libc_freeres | ||||
34 | } | ||||
35 | |||||
36 | |||||
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 37 | ##----------------------------------------------------------------------## |
38 | |||||
39 | { | ||||
sewardj | a601817 | 2002-06-05 00:42:45 +0000 | [diff] [blame] | 40 | __pthread_mutex_unlock/__register_frame_info_bases |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 41 | core:PThread |
sewardj | a601817 | 2002-06-05 00:42:45 +0000 | [diff] [blame] | 42 | fun:__pthread_mutex_unlock |
43 | fun:__register_frame_info_bases | ||||
44 | } | ||||
45 | |||||
46 | { | ||||
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 47 | socketcall.connect(serv_addr)/__libc_connect/*(Param) |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 48 | memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 49 | socketcall.connect(serv_addr) |
50 | fun:__libc_connect | ||||
51 | fun:* | ||||
52 | } | ||||
53 | |||||
54 | { | ||||
55 | strrchr/_dl_map_object_from_fd/_dl_map_object(Addr4) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 56 | memcheck:Addr4 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 57 | 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) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 64 | memcheck:Value1 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 65 | fun:strrchr |
66 | fun:_dl_map_object_from_fd | ||||
67 | fun:_dl_map_object | ||||
68 | } | ||||
69 | |||||
70 | { | ||||
71 | llseek(result)/__libc_lseek64/_IO_file_seek(Param) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 72 | memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 73 | llseek(result) |
74 | fun:__libc_lseek64 | ||||
75 | fun:_IO_file_seek | ||||
76 | } | ||||
77 | |||||
78 | { | ||||
79 | __rawmemchr/_nl_*/*locale(Addr4) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 80 | memcheck:Addr4 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 81 | fun:__rawmemchr |
82 | fun:_nl_* | ||||
83 | fun:*locale | ||||
84 | } | ||||
85 | |||||
86 | # new ones for RH62 ls -l | ||||
87 | { | ||||
88 | __strchrnul/__nss_database_lookup(Cond) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 89 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 90 | fun:__strchrnul |
91 | fun:__nss_database_lookup | ||||
92 | } | ||||
93 | { | ||||
94 | __strchrnul/__gethostbyname_r(Cond) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 95 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 96 | fun:__strchrnul |
97 | fun:__gethostbyname_r | ||||
98 | } | ||||
99 | |||||
100 | { | ||||
101 | strrchr/_dl_map*/_dl_map*(Cond) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 102 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 103 | fun:strrchr |
104 | fun:_dl_map* | ||||
105 | fun:_dl_map* | ||||
106 | } | ||||
107 | |||||
108 | { | ||||
109 | strchr/dl_open_worker/_dl_catch_error(Cond) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 110 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 111 | fun:strchr |
112 | fun:dl_open_worker | ||||
113 | fun:_dl_catch_error | ||||
114 | } | ||||
115 | |||||
116 | { | ||||
117 | __rawmemchr/???/__getgrgid_r(Cond) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 118 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 119 | fun:__rawmemchr |
120 | fun:* | ||||
121 | fun:__getgrgid_r | ||||
122 | } | ||||
123 | |||||
124 | { | ||||
125 | __rawmemchr/_nl_*/*locale*(Cond) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 126 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 127 | fun:__rawmemchr |
128 | fun:_nl_* | ||||
129 | fun:*locale* | ||||
130 | } | ||||
131 | |||||
132 | { | ||||
133 | _dl_relocate_object/dl_open_worker(Value0) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 134 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 135 | 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) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 146 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 147 | 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) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 154 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 155 | fun:*strchr* |
156 | obj:*libc-2.1.3.so | ||||
157 | } | ||||
158 | |||||
159 | { | ||||
160 | libc-2.1.3.so/libXt.so(Cond) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 161 | memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 162 | obj:*libc-2.1.3.so |
163 | obj:*libXt.so* | ||||
164 | } | ||||
165 | |||||
166 | { | ||||
167 | socketcall.connect(serv_addr)/__libc_connect/*(Param) | ||||
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 168 | memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 169 | socketcall.connect(serv_addr) |
170 | obj:*libc-2.1.3.so | ||||
171 | obj:*libX11.so* | ||||
172 | } | ||||
173 | |||||
174 | ##----------------------------------------------------------------------## |