Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292292
b: refs/heads/master
c: 38305a4
h: refs/heads/master
v: v3
  • Loading branch information
John Johansen committed Feb 27, 2012
1 parent aeb8efb commit c009c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b964eae204d791421677ec56b94a7b18cf8740d
refs/heads/master: 38305a4bab4be5d278443b057f7f5e97afb07f26
3 changes: 1 addition & 2 deletions trunk/security/apparmor/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ static u32 map_old_perms(u32 old)
if (old & 0x40) /* AA_EXEC_MMAP */
new |= AA_EXEC_MMAP;

new |= AA_MAY_META_READ;

return new;
}

Expand Down Expand Up @@ -212,6 +210,7 @@ static struct file_perms compute_perms(struct aa_dfa *dfa, unsigned int state,
perms.quiet = map_old_perms(dfa_other_quiet(dfa, state));
perms.xindex = dfa_other_xindex(dfa, state);
}
perms.allow |= AA_MAY_META_READ;

/* change_profile wasn't determined by ownership in old mapping */
if (ACCEPT_TABLE(dfa)[state] & 0x80000000)
Expand Down

0 comments on commit c009c47

Please sign in to comment.