This patch series expands on previous work to test the SELinux
security driver via a LD_PRELOAD hack. This time we are testing
the file labelling, by setting/getting private xattrs, instead
of the actual SELinux xattrs.
In doing this I had need to use libattr, and got fed up with
duplicating the usual m4 black magic. Thus I wrote a helper
macro for simplifying library checks, and then a further
macro for the actual libattr check. The configure.ac file
thus only gains two lines
LIBVIRT_CHECK_LIBATTR
...
LIBVIRT_RESULT_LIBATTR
In the long run, I'd like to replace all our existing library
checks with these macros, to try & get our configure.ac script
back to a reasonable level of sanity.