platform_external_selinux/libselinux
William Roberts d5947256fa Fix redefinition of XATTR_NAME_SELINUX
When the Kernel UAPI header is present, this error occurs:

external/selinux/libselinux/src/policy.h:7:9: warning: 'XATTR_NAME_SELINUX' macro redefined [-Wmacro-redefined]
\#define XATTR_NAME_SELINUX "security.selinux"
        ^
bionic/libc/kernel/uapi/linux/xattr.h:52:9: note: previous definition is here
\#define XATTR_NAME_SELINUX XATTR_SECURITY_PREFIX XATTR_SELINUX_SUFFIX

Just use the kernel UAPI version on that case.

Change-Id: I1b2d34e463477adaec227ac8c3364f1b9d49e997
Signed-off-by: William Roberts <william.c.roberts@intel.com>
2016-09-22 13:21:39 -04:00
..
include libselinux: Add setfiles support to selinux_restorecon(3) 2016-08-11 14:33:55 -04:00
man libselinux: Add setfiles support to selinux_restorecon(3) 2016-08-11 14:33:55 -04:00
src Fix redefinition of XATTR_NAME_SELINUX 2016-09-22 13:21:39 -04:00
utils sefcontext_compile: cleanup confusing usage message 2016-09-21 12:38:15 -04:00
ChangeLog Updated libselinux ChangeLog 2016-09-21 12:42:31 -04:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: add support for pcre2 2016-09-15 13:49:14 -04:00
VERSION Update ChangeLog and VERSION for final release 2016-02-23 11:31:41 -05:00