commit | 0e0a070d3a47d279de66e08244769556deae2eee | [log] [tgz] |
---|---|---|
author | Casey Schaufler <casey@schaufler-ca.com> | Tue Feb 08 16:36:24 2011 -0800 |
committer | James Morris <jmorris@namei.org> | Wed Feb 09 18:50:23 2011 +1100 |
tree | 8d9c07464833076a40c1d95dd2f8f33716509290 | |
parent | 821404434f3324bf23f545050ff64055a149766e [diff] |
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 <casey@schaufler-ca.com> Signed-off-by: James Morris <jmorris@namei.org>