On Thu, Oct 31, 2013 at 04:17:26PM -0700, Tyler Hicks wrote:
> The multiarch filesystem layout for Ubuntu uses directories such as
> /usr/lib/{i386-linux-gnu,x86_64-linux-gnu,arm-linux-gnueabihf} so
> peeking into /usr/{lib,lib64} is no longer sufficient.
>
> This patch uses ldconfig to print out the libraries that it knows about
> and grep that output for libapparmor.so or libimmunix.so.
>
> Signed-off-by: Tyler Hicks <[email protected]>I'm okay with this patch, particularly the ldconfig usage (so Acked-by: Steve Beattie <[email protected]>); however, libimmunix has been deprecated for over 5 years (see libraries/libapparmor/src/libimmunix_warning.c) so realistically, the fallback code that attempts to use libimmunix can just die. My eventual goal is to have the regression tests support being built against and using either the in-tree libapparmor+parser or the host system's libapparmor+parser. -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
