From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hall.aurel32.net (hall.aurel32.net [IPv6:2001:bc8:30d7:100::1]) by sourceware.org (Postfix) with ESMTPS id 1416A3857C4D for ; Thu, 23 Jul 2020 04:35:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1416A3857C4D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=aurel32.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=aurelien@aurel32.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Content-Transfer-Encoding:From:Reply-To: Subject:Content-ID:Content-Description:X-Debbugs-Cc; bh=8hPYuJ35pUtYdiq3nCZqAWJleCtlEvAyp5YxwePPzr0=; b=G8EAknzwg12MeGfZaopfNwgQRF rnljtcFOVaGjUcA78jLkhJ0XLXsObDCt8xH/evPOGPuLA0Iy7mGFFdWufxUbZYMxhgg2bjFaxAMlX HsfmLa1ONkrr07p7HsfYiBinKyQPEa1PQWj2zeQN+NCxleIryG+ej5ypzX/iDCdvDDTS6zgIbx2+w n19P8xS1g6/K6JSUKAqmXnzlSOJ1IHlcilBa+Uph2lOMnRsJN0jnFXOtH4AFTq94SFf3VgGqmIGgq UMxemuL8cOvHpBzCqrfODlH25ptQ+ATRLe+mXs1Q8FPv4L3JVcOueyapjQyvii6pmVMm4ZHeqExfq xFnw3PCg==; Received: from [2a01:e35:2fdd:a4e1:fe91:fc89:bc43:b814] (helo=ohm.rr44.fr) by hall.aurel32.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jySx8-0003JG-Ar; Thu, 23 Jul 2020 06:35:30 +0200 Received: from aurel32 by ohm.rr44.fr with local (Exim 4.94) (envelope-from ) id 1jySx5-003NUw-Uh; Thu, 23 Jul 2020 06:35:27 +0200 Date: Thu, 23 Jul 2020 06:35:27 +0200 From: Aurelien Jarno To: Arjun Shankar Cc: libc-alpha@sourceware.org, Carlos O'Donell , Joseph Myers Subject: Re: [PATCH] Disable warnings due to deprecated libselinux symbols used by nss and nscd Message-ID: <20200723043527.GF8268@aurel32.net> Mail-Followup-To: Arjun Shankar , libc-alpha@sourceware.org, Carlos O'Donell , Joseph Myers References: <20200722183849.GA74546@aloka.lostca.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200722183849.GA74546@aloka.lostca.se> User-Agent: Mutt/1.14.0 (2020-05-02) X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2020 04:35:33 -0000 On 2020-07-22 18:38, Arjun Shankar wrote: > From: Arjun Shankar > > The SELinux API deprecated several symbols in its 3.1 release, including > security_context_t, matchpathcon, avc_init, and sidput, which are used in > makedb and nscd. While the usage of these should eventually be replaced by > newer interfaces, this commit disables GCC warnings due to the use of the > above symbols. > --- > Aurelien recently posted a patch with an identical result, but using #pragma: > https://sourceware.org/pipermail/libc-alpha/2020-July/116523.html > > Just put this together so it can hopefully go in soon with both glibc-2.32 > being close by and Fedora 33 awaiting this change, since glibc already fails > to build on Fedora rawhide. > > Tested on x86_64 with libselinux-3.1 installed. Thanks a lot, I confirm it works. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net