blob: 86efc54d2d902d235797948b3123dc58447da5a7 [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
njnc40c3a82002-10-02 11:02:27 +00008# skin_name:supp_kind
9# (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#
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)
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)
njnc40c3a82002-10-02 11:02:27 +000031 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{
sewardja6018172002-06-05 00:42:45 +000040 __pthread_mutex_unlock/__register_frame_info_bases
njnc40c3a82002-10-02 11:02:27 +000041 core:PThread
sewardja6018172002-06-05 00:42:45 +000042 fun:__pthread_mutex_unlock
43 fun:__register_frame_info_bases
44}
45
46{
gobry3b777892002-04-04 09:18:39 +000047 socketcall.connect(serv_addr)/__libc_connect/*(Param)
njnc40c3a82002-10-02 11:02:27 +000048 memcheck:Param
gobry3b777892002-04-04 09:18:39 +000049 socketcall.connect(serv_addr)
50 fun:__libc_connect
51 fun:*
52}
53
54{
55 strrchr/_dl_map_object_from_fd/_dl_map_object(Addr4)
njnc40c3a82002-10-02 11:02:27 +000056 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)
njnc40c3a82002-10-02 11:02:27 +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{
71 llseek(result)/__libc_lseek64/_IO_file_seek(Param)
njnc40c3a82002-10-02 11:02:27 +000072 memcheck:Param
gobry3b777892002-04-04 09:18:39 +000073 llseek(result)
74 fun:__libc_lseek64
75 fun:_IO_file_seek
76}
77
78{
79 __rawmemchr/_nl_*/*locale(Addr4)
njnc40c3a82002-10-02 11:02:27 +000080 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)
njnc40c3a82002-10-02 11:02:27 +000089 memcheck:Cond
gobry3b777892002-04-04 09:18:39 +000090 fun:__strchrnul
91 fun:__nss_database_lookup
92}
93{
94 __strchrnul/__gethostbyname_r(Cond)
njnc40c3a82002-10-02 11:02:27 +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)
njnc40c3a82002-10-02 11:02:27 +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)
njnc40c3a82002-10-02 11:02:27 +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)
njnc40c3a82002-10-02 11:02:27 +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)
njnc40c3a82002-10-02 11:02:27 +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)
njnc40c3a82002-10-02 11:02:27 +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)
njnc40c3a82002-10-02 11:02:27 +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)
njnc40c3a82002-10-02 11:02:27 +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)
njnc40c3a82002-10-02 11:02:27 +0000161 memcheck:Cond
gobry3b777892002-04-04 09:18:39 +0000162 obj:*libc-2.1.3.so
163 obj:*libXt.so*
164}
165
166{
167 socketcall.connect(serv_addr)/__libc_connect/*(Param)
njnc40c3a82002-10-02 11:02:27 +0000168 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}
173
174##----------------------------------------------------------------------##