]> git.ipfire.org Git - thirdparty/glibc.git/commit
Disable warnings due to deprecated libselinux symbols used by nss and nscd
authorArjun Shankar <arjun@redhat.com>
Thu, 23 Jul 2020 10:20:38 +0000 (12:20 +0200)
committerArjun Shankar <arjun@redhat.com>
Thu, 23 Jul 2020 10:20:38 +0000 (12:20 +0200)
commit04726be814c6fd6d9cf974e15d684dd3ac1a180e
tree6694b8a2f69f5afbe76f15302f3bc984120de281
parentba0ec34c62a3a108f2db5575a92ace9bd3ac8a8f
Disable warnings due to deprecated libselinux symbols used by nss and nscd

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.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
nscd/selinux.c
nss/makedb.c