From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97976 invoked by alias); 20 Apr 2016 18:06:10 -0000 Mailing-List: contact libabigail-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: libabigail-owner@sourceware.org Received: (qmail 97903 invoked by uid 89); 20 Apr 2016 18:06:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1295 X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: ms.seketeli.net From: Dodji Seketeli To: "carlos at redhat dot com" Cc: libabigail@sourceware.org Subject: Re: [Bug default/19967] New: System-level suppressions for glibc. Organization: Me, myself and I References: X-Operating-System: Red Hat Enterprise Linux Server 7.2 X-URL: http://www.seketeli.net/~dodji Date: Fri, 01 Jan 2016 00:00:00 -0000 In-Reply-To: (carlos at redhat dot com's message of "Tue, 19 Apr 2016 18:18:40 +0000") Message-ID: <86a8koi29o.fsf@seketeli.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2016-q2/txt/msg00013.txt.bz2 "carlos at redhat dot com" a =C3=A9cri= t: > All symbols of the form ".*@GLIBC_PRIVATE" (with version) are implementat= ion > dependent symbols shared between glibc shared objects and the dynamic lin= ker.=20 > > Such symbols should be added to an abigail generic-OS-level suppression l= ist > for GNU/Linux.=20 > > The alternative is that distribution-level packages need to provide their= own > suppresion lists. For core libraries like glibc, I think it's more practical for users to have an OS-level default suppression list, just like what valgrind does. It would put in $libdir/libabigail/default.abignore In this particular case the file would contain these two directives: [suppress_function] symbol_version =3D GLIBC_PRIVATE [suppress_variable] symbol_version =3D GLIBC_PRIVATE This should be enough. In each of these two directives, we could also add a property saying something like "this is for glibc", though, I don't think any other library would use that version name. But who knows. The possible properties I am thinking about are either file_name_regexp or soname_regexp. We'd need to list all the file names of all the libraries of glibc, or their sonames. What do you think? --=20 Dodji