mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() In the course of developing apparmor dbus mediation, the aa_query_label symbol was added to libapparmor on trunk, and given the symbol version (via libapparmor.map) of APPARMOR_3.0. As apparmor upstream, we have not made a release where this would have been exported. Unfortunately, in Ubuntu, a version was released in 13.10 that included the aa_query_label() symbol with a version of APPARMOR_1.1. This can cause a breakage on that platform with the incorporation of the impending apparmor 2.9 release. This patch provides both versions (APPARMOR_1.1 and APPARMOR_2.9) of the aa_query_label() symbol. It requires the function name in kernel_interface.c to be renamed (similar to how the deprecated change_hat() symbol is named in the source as __change_hat()), otherwise linking fails with duplicated symbols. The default symbol used will still be the APPARMOR_2.9 version, but binaries linked with the APPARMOR_1.1 version would still continue to work unchanged. Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: John Johansen <john.johansen@canonical.com> |
||
---|---|---|
.. | ||
regression | ||
stress | ||
Makefile |