selinux/libselinux
Stephen Smalley 4c519cd730 libselinux: avc_internal.c: allow building with clang
Resolves the following errors from clang:
avc_internal.c:105:25: error: cast from 'char *' to 'struct nlmsghdr *' increases required alignment from 1 to 4 [-Werror,-Wcast-align]
        struct nlmsghdr *nlh = (struct nlmsghdr *)buf;
                               ^~~~~~~~~~~~~~~~~~~~~~
avc_internal.c:161:25: error: cast from 'char *' to 'struct nlmsghdr *' increases required alignment from 1 to 4 [-Werror,-Wcast-align]
        struct nlmsghdr *nlh = (struct nlmsghdr *)buf;
                               ^~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2016-11-01 16:59:47 -04:00
..
include libselinux: android: fix lax service context lookup 2016-09-29 09:59:44 -04:00
man libselinux: Add function to find security.restorecon_last entries 2016-09-26 14:05:54 -04:00
src libselinux: avc_internal.c: allow building with clang 2016-11-01 16:59:47 -04:00
utils libselinux: support ANDROID_HOST=1 on Mac 2016-10-18 13:52:23 -04:00
ChangeLog Updated libselinux ChangeLog 2016-11-01 16:31:27 -04:00
LICENSE
Makefile libselinux: Add clean-pywrap and clean-rubywrap targets 2016-10-27 10:35:37 -04:00
VERSION Update VERSION and ChangeLog files for 2.6 final release. 2016-10-14 11:31:26 -04:00