From: Casey Schaufler Date: Wed, 9 Feb 2011 00:36:24 +0000 (-0800) Subject: Smack: correct behavior in the mmap hook X-Git-Tag: v2.6.39-rc1~486^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0a070d3a47d279de66e08244769556deae2eee;p=pandora-kernel.git Smack: correct behavior in the mmap hook The mmap policy enforcement was not properly handling the interaction between the global and local rule lists. Instead of going through one and then the other, which missed the important case where a rule specified that there should be no access, combine the access limitations where there is a rule in each list. Signed-off-by: Casey Schaufler Signed-off-by: James Morris --- Reading git-diff-tree failed