Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260931
b: refs/heads/master
c: 25e75df
h: refs/heads/master
i:
  260929: d806434
  260927: bd72944
v: v3
  • Loading branch information
John Johansen committed Jun 29, 2011
1 parent 97a30ad commit 2f553b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 04fdc099f9c80c7775dbac388fc97e156d4d47e7
refs/heads/master: 25e75dff519bcce2cb35023105e7df51d7b9e691
2 changes: 1 addition & 1 deletion trunk/security/apparmor/lsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static int apparmor_capget(struct task_struct *target, kernel_cap_t *effective,
*inheritable = cred->cap_inheritable;
*permitted = cred->cap_permitted;

if (!unconfined(profile)) {
if (!unconfined(profile) && !COMPLAIN_MODE(profile)) {
*effective = cap_intersect(*effective, profile->caps.allow);
*permitted = cap_intersect(*permitted, profile->caps.allow);
}
Expand Down

0 comments on commit 2f553b1

Please sign in to comment.