xref: /freebsd/contrib/pam-krb5/tests/data/valgrind.supp (revision df21a004be237a1dccd03c7b47254625eea62fa9)
1# -*- conf -*-
2#
3# This is a valgrind suppression file for analysis of test suite results.
4#
5# Suppress a variety of apparent memory leaks in various Kerberos
6# implementations due to one-time instantiation of data, and a few other
7# artifacts of the test suite for rra-c-util portability and utility code
8# and related software.
9#
10# The canonical version of this file is maintained in the rra-c-util package,
11# which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
12#
13# Written by Russ Allbery <eagle@eyrie.org>
14# Copyright 2017-2018, 2020 Russ Allbery <eagle@eyrie.org>
15# Copyright 2011-2014
16#     The Board of Trustees of the Leland Stanford Junior University
17#
18# Permission is hereby granted, free of charge, to any person obtaining a
19# copy of this software and associated documentation files (the "Software"),
20# to deal in the Software without restriction, including without limitation
21# the rights to use, copy, modify, merge, publish, distribute, sublicense,
22# and/or sell copies of the Software, and to permit persons to whom the
23# Software is furnished to do so, subject to the following conditions:
24#
25# The above copyright notice and this permission notice shall be included in
26# all copies or substantial portions of the Software.
27#
28# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
31# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
33# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
34# DEALINGS IN THE SOFTWARE.
35#
36# SPDX-License-Identifier: MIT
37
38{
39   dlopen-dlerror
40   Memcheck:Leak
41   fun:calloc
42   fun:_dlerror_run
43}
44{
45   fakeroot-msgsnd
46   Memcheck:Param
47   msgsnd(msgp->mtext)
48   fun:msgsnd
49   fun:send_fakem
50   fun:send_get_fakem
51   obj:*/libfakeroot-sysv.so
52}
53{
54   heimdal-base-once
55   Memcheck:Leak
56   fun:*alloc
57   ...
58   fun:heim_base_once_f
59}
60{
61   heimdal-gss-config
62   Memcheck:Leak
63   fun:*alloc
64   ...
65   fun:krb5_config_parse_debug
66}
67{
68   heimdal-gss-config-2
69   Memcheck:Leak
70   fun:*alloc
71   fun:_krb5_config_get_entry
72}
73{
74   heimdal-gss-cred
75   Memcheck:Leak
76   fun:calloc
77   obj:*libgssapi.so.*
78   obj:*libgssapi.so.*
79   fun:gss_acquire_cred
80}
81{
82   heimdal-gss-krb5-init
83   Memcheck:Leak
84   fun:*alloc
85   ...
86   fun:_gsskrb5_init
87}
88{
89   heimdal-gss-load-mech
90   Memcheck:Leak
91   fun:*alloc
92   ...
93   fun:_gss_load_mech
94}
95{
96   heimdal-krb5-init-context-once
97   Memcheck:Leak
98   fun:*alloc
99   ...
100   fun:init_context_once
101}
102{
103   heimdal-krb5-reg-plugins-once
104   Memcheck:Leak
105   fun:*alloc
106   ...
107   fun:krb5_plugin_register
108   fun:reg_def_plugins_once
109}
110{
111   heimdal-krb5-openssl-init
112   Memcheck:Leak
113   fun:*alloc
114   obj:*
115   fun:CRYPTO_*alloc
116}
117{
118   mit-gss-ccache
119   Memcheck:Leak
120   fun:*alloc
121   fun:krb5int_setspecific
122   fun:kg_set_ccache_name
123   fun:gss_krb5int_ccache_name
124}
125{
126   mit-gss-ccache-2
127   Memcheck:Leak
128   fun:*alloc
129   fun:strdup
130   fun:kg_set_ccache_name
131   fun:gss_krb5int_ccache_name
132}
133{
134   mit-gss-error
135   Memcheck:Leak
136   fun:*alloc
137   ...
138   fun:krb5_gss_save_error_string
139}
140{
141   mit-gss-mechs
142   Memcheck:Leak
143   fun:glob
144   fun:loadConfigFiles
145   fun:updateMechList
146   fun:build_mechSet
147   fun:gss_indicate_mechs
148}
149{
150   mit-kadmin-ovku-error
151   Memcheck:Leak
152   fun:*alloc*
153   fun:initialize_ovku_error_table_r
154}
155{
156   mit-krb5-changepw
157   Memcheck:Leak
158   fun:*alloc
159   fun:change_set_password
160   fun:krb5_change_password
161   fun:krb5_get_init_creds_password
162}
163{
164   mit-krb5-pkinit-openssl-init
165   Memcheck:Leak
166   fun:*alloc
167   ...
168   fun:krb5_init_preauth_context
169}
170{
171   mit-krb5-pkinit-openssl-request
172   Memcheck:Leak
173   fun:*alloc
174   ...
175   fun:krb5_preauth_request_context_init
176}
177{
178   mit-krb5-pkinit-openssl-request-2
179   Memcheck:Leak
180   fun:*alloc
181   ...
182   fun:k5_preauth_request_context_init
183}
184{
185   mit-krb5-plugin-dirs
186   Memcheck:Leak
187   fun:calloc
188   fun:krb5int_open_plugin_dirs
189}
190{
191   mit-krb5-plugin-dlerror
192   Memcheck:Leak
193   fun:calloc
194   fun:_dlerror_run
195   ...
196   fun:krb5int_open_plugin
197}
198{
199   mit-krb5-plugin-register
200   Memcheck:Leak
201   fun:malloc
202   fun:strdup
203   fun:register_module.isra.1
204}
205{
206   mit-krb5-preauth-init
207   Memcheck:Leak
208   fun:*alloc
209   ...
210   fun:k5_init_preauth_context
211}
212{
213   mit-krb5-preauth-init
214   Memcheck:Leak
215   fun:strdup
216   fun:add_to_list
217   fun:profile_get_values
218   ...
219   fun:clpreauth_prep_questions
220}
221{
222   mit-krb5-preauth-init-2
223   Memcheck:Leak
224   fun:*alloc
225   fun:init_list
226   fun:profile_get_values
227   ...
228   fun:clpreauth_prep_questions
229}
230{
231   mit-krb5-profile
232   Memcheck:Leak
233   fun:*alloc
234   ...
235   fun:profile_open_file
236}
237{
238   portable-setenv
239   Memcheck:Leak
240   fun:malloc
241   fun:test_setenv
242}
243