With these fixes, I can confirm that getcifsacl and setcifsacl now work correctly on big-endian boxes, at least in fairly rudimentary testing. As a side note, I'll probably cut a new release within the next few days in order to get these fixes out to distros. Post 'em if you've got 'em. Jeff Layton (3): getcifsacl: fix endianness bug in getcifsacl and add better bounds checks setcifsacl: fix up ACE mask handling setcifsacl: fix endianness of ->size in build_cmdline_aces getcifsacl.c | 14 +++++++--- setcifsacl.c | 85 ++++++++++++++++++++++++++++++------------------------------ 2 files changed, 53 insertions(+), 46 deletions(-) -- 1.7.12.1 -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html