[Toybox] [PATCH] Fix warning: 'XATTR_NAME_SMACK' macro redefined.
enh
enh at google.com
Tue Aug 2 11:16:37 PDT 2016
Recent Linux uapi <linux/xattr.h> headers define XATTR_NAME_SMACK.
The <sys/xattr.h> include at the top of lib/lsm.h means that even
though the direct include of <linux/xattr.h> is guarded, it may
have already happened transitively anyway.
(The alternative fixes would be to hard-code the correct value for
XATTR_NAME_SMACK here instead, or #undef XATTR_NAME_SMACK.)
---
lib/lsm.h | 2 ++
1 file changed, 2 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-warning-XATTR_NAME_SMACK-macro-redefined.patch
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160802/99ebab26/attachment.bin>
More information about the Toybox
mailing list