From: John Johansen Date: Tue, 19 Feb 2013 00:12:34 +0000 (-0800) Subject: apparmor: reserve and mask off the top 8 bits of the base field X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~21^2~13^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed686308c6837ff67f56e4115d0fd6bdc65a4313;p=pandora-kernel.git apparmor: reserve and mask off the top 8 bits of the base field The top 8 bits of the base field have never been used, in fact can't be used, by the current 'dfa16' format. However they will be used in the future as flags, so mask them off when using base as an index value. Note: the use of the top 8 bits, without masking is trapped by the verify checks that base entries are within the size bounds. Signed-off-by: John Johansen Acked-by: Kees Cook --- Reading git-diff-tree failed