sewardj | 823b2e4 | 2004-07-24 14:21:10 +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 |
| 8 | # kind: one of Param Value1 Value2 Value4 Value8 |
| 9 | # Free Addr1 Addr2 Addr4 Addr8 |
| 10 | # Cond (previously known as Value0) |
| 11 | # (if Param: name of system call param, if Free: name of free-ing fn) |
| 12 | # caller0 name, or /name/of/so/file.so |
| 13 | # caller1 name, or ditto |
| 14 | # (optionally: caller2 name) |
| 15 | # (optionally: caller3 name) |
| 16 | # } |
| 17 | |
| 18 | #-------- Suppress errors appearing as a result of calling |
| 19 | #-------- __libc_freeres() |
| 20 | |
| 21 | { |
| 22 | __libc_freeres/free_mem(Addr4) |
| 23 | Addr4 |
| 24 | fun:free_mem |
| 25 | fun:__libc_freeres |
| 26 | } |
| 27 | |
| 28 | |
| 29 | ##----------------------------------------------------------------------## |
| 30 | |
| 31 | { |
| 32 | __pthread_mutex_unlock/__register_frame_info_bases |
| 33 | PThread |
| 34 | fun:__pthread_mutex_unlock |
| 35 | fun:__register_frame_info_bases |
| 36 | } |
| 37 | |
| 38 | { |
| 39 | socketcall.connect(serv_addr)/__libc_connect/*(Param) |
| 40 | Param |
| 41 | socketcall.connect(serv_addr) |
| 42 | fun:__libc_connect |
| 43 | fun:* |
| 44 | } |
| 45 | |
| 46 | { |
| 47 | strrchr/_dl_map_object_from_fd/_dl_map_object(Addr4) |
| 48 | Addr4 |
| 49 | fun:strrchr |
| 50 | fun:_dl_map_object_from_fd |
| 51 | fun:_dl_map_object |
| 52 | } |
| 53 | |
| 54 | { |
| 55 | strrchr/_dl_map_object_from_fd/_dl_map_object(Value1) |
| 56 | Value1 |
| 57 | fun:strrchr |
| 58 | fun:_dl_map_object_from_fd |
| 59 | fun:_dl_map_object |
| 60 | } |
| 61 | |
| 62 | { |
| 63 | llseek(result)/__libc_lseek64/_IO_file_seek(Param) |
| 64 | Param |
| 65 | llseek(result) |
| 66 | fun:__libc_lseek64 |
| 67 | fun:_IO_file_seek |
| 68 | } |
| 69 | |
| 70 | { |
| 71 | __rawmemchr/_nl_*/*locale(Addr4) |
| 72 | Addr4 |
| 73 | fun:__rawmemchr |
| 74 | fun:_nl_* |
| 75 | fun:*locale |
| 76 | } |
| 77 | |
| 78 | # new ones for RH62 ls -l |
| 79 | { |
| 80 | __strchrnul/__nss_database_lookup(Cond) |
| 81 | Cond |
| 82 | fun:__strchrnul |
| 83 | fun:__nss_database_lookup |
| 84 | } |
| 85 | { |
| 86 | __strchrnul/__gethostbyname_r(Cond) |
| 87 | Cond |
| 88 | fun:__strchrnul |
| 89 | fun:__gethostbyname_r |
| 90 | } |
| 91 | |
| 92 | { |
| 93 | strrchr/_dl_map*/_dl_map*(Cond) |
| 94 | Cond |
| 95 | fun:strrchr |
| 96 | fun:_dl_map* |
| 97 | fun:_dl_map* |
| 98 | } |
| 99 | |
| 100 | { |
| 101 | strchr/dl_open_worker/_dl_catch_error(Cond) |
| 102 | Cond |
| 103 | fun:strchr |
| 104 | fun:dl_open_worker |
| 105 | fun:_dl_catch_error |
| 106 | } |
| 107 | |
| 108 | { |
| 109 | __rawmemchr/???/__getgrgid_r(Cond) |
| 110 | Cond |
| 111 | fun:__rawmemchr |
| 112 | fun:* |
| 113 | fun:__getgrgid_r |
| 114 | } |
| 115 | |
| 116 | { |
| 117 | __rawmemchr/_nl_*/*locale*(Cond) |
| 118 | Cond |
| 119 | fun:__rawmemchr |
| 120 | fun:_nl_* |
| 121 | fun:*locale* |
| 122 | } |
| 123 | |
| 124 | { |
| 125 | _dl_relocate_object/dl_open_worker(Value0) |
| 126 | Cond |
| 127 | fun:_dl_relocate_object |
| 128 | fun:dl_open_worker |
| 129 | } |
| 130 | |
| 131 | ##----------------------------------------------------------------------## |
| 132 | ## from a Debian machine running kernel 2.2.19 I believe |
| 133 | ## I guess most of these are the same as above really, but |
| 134 | ## Debian stripped their libc-2.1.3 |
| 135 | |
| 136 | { |
| 137 | libc-2.1.3.so/libc-2.1.3.so/libc-2.1.3.so(Cond) |
| 138 | Cond |
| 139 | obj:*libc-2.1.3.so |
| 140 | obj:*libc-2.1.3.so |
| 141 | obj:*libc-2.1.3.so |
| 142 | } |
| 143 | |
| 144 | { |
| 145 | strchr/libc-2.1.3.so(Cond) |
| 146 | Cond |
| 147 | fun:*strchr* |
| 148 | obj:*libc-2.1.3.so |
| 149 | } |
| 150 | |
| 151 | { |
| 152 | libc-2.1.3.so/libXt.so(Cond) |
| 153 | Cond |
| 154 | obj:*libc-2.1.3.so |
| 155 | obj:*libXt.so* |
| 156 | } |
| 157 | |
| 158 | { |
| 159 | socketcall.connect(serv_addr)/__libc_connect/*(Param) |
| 160 | Param |
| 161 | socketcall.connect(serv_addr) |
| 162 | obj:*libc-2.1.3.so |
| 163 | obj:*libX11.so* |
| 164 | } |
| 165 | |
| 166 | ##----------------------------------------------------------------------## |