Description: mm/mempolicy.c: fix error handling in set_mempolicy and mbind References: https://grsecurity.net/the_infoleak_that_mostly_wasnt.php Notes: bwh> As Brad Spengler notes, this doesn't affect amd64. The compat bwh> wrappers are only used for swapping bitmap words on 64-bit bwh> architectures that are (or can be) big-endian. Fixing this on bwh> wheezy was a (small) waste of time. Bugs: upstream: released (4.11-rc6) [cf01fb9985e8deb25ccf0ea54d916b8871ae0e62] 4.9-upstream-stable: released (4.9.22) [cddab768d13469d1e254fb8c0e1629f93c8dfaca] 3.16-upstream-stable: released (3.16.44) [4474624a1a496e4dc93a2cd49ea915d9c90d80e9] 3.2-upstream-stable: released (3.2.89) [3f3b4a9db31af279e793229177b63ea201e24629] sid: released (4.9.25-1) 3.16-jessie-security: released (3.16.43-1) [bugfix/all/mm-mempolicy.c-fix-error-handling-in-set_mempolicy-a.patch] 3.2-wheezy-security: released (3.2.88-1) [bugfix/all/mm-mempolicy.c-fix-error-handling-in-set_mempolicy-a.patch]