From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BBD283844029; Tue, 21 Jul 2020 11:43:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBD283844029 From: "glaubitz at physik dot fu-berlin.de" To: glibc-bugs@sourceware.org Subject: [Bug nss/26233] matchpathcon and security_context_t are deprecated by libselinux API Date: Tue, 21 Jul 2020 11:43:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: arjun.is at lostca dot se X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2020 11:43:33 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26233 John Paul Adrian Glaubitz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glaubitz at physik dot fu-= berlin.d | |e --- Comment #1 from John Paul Adrian Glaubitz --- This actually makes the build fail on m68k when building with -Werror: makedb.c: In function 'set_file_creation_context': makedb.c:849:3: error: 'security_context_t' is deprecated [-Werror=3Ddeprecated-declarations] 849 | security_context_t ctx; | ^~~~~~~~~~~~~~~~~~ makedb.c:863:3: error: 'matchpathcon' is deprecated: Use selabel_lookup ins= tead [-Werror=3Ddeprecated-declarations] 863 | if (matchpathcon (outname, S_IFREG | mode, &ctx) =3D=3D 0 && ctx = !=3D NULL) | ^~ In file included from makedb.c:50: /usr/include/selinux/selinux.h:500:12: note: declared here 500 | extern int matchpathcon(const char *path, | ^~~~~~~~~~~~ cc1: all warnings being treated as errors See: https://buildd.debian.org/status/fetch.php?pkg=3Dglibc&arch=3Dm68k&ver=3D2.= 31-1&stamp=3D1595330718&raw=3D0 --=20 You are receiving this mail because: You are on the CC list for the bug.=