Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292299
b: refs/heads/master
c: b1b4bc2
h: refs/heads/master
i:
  292297: 3e1ad2e
  292295: 09d444f
v: v3
  • Loading branch information
John Johansen committed Mar 14, 2012
1 parent 6c2cfe3 commit 5372bc3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ef9a762279c9ce98c592fb144b31898411feb94d
refs/heads/master: b1b4bc2ed94d157f3ed60c17a12b658ccb96a76f
5 changes: 3 additions & 2 deletions trunk/security/apparmor/policy_unpack.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static void audit_cb(struct audit_buffer *ab, void *va)
* @new: profile if it has been allocated (MAYBE NULL)
* @name: name of the profile being manipulated (MAYBE NULL)
* @info: any extra info about the failure (MAYBE NULL)
* @e: buffer position info (NOT NULL)
* @e: buffer position info
* @error: error code
*
* Returns: %0 or error
Expand All @@ -95,7 +95,8 @@ static int audit_iface(struct aa_profile *new, const char *name,
struct aa_profile *profile = __aa_current_profile();
struct common_audit_data sa;
COMMON_AUDIT_DATA_INIT(&sa, NONE);
sa.aad.iface.pos = e->pos - e->start;
if (e)
sa.aad.iface.pos = e->pos - e->start;
sa.aad.iface.target = new;
sa.aad.name = name;
sa.aad.info = info;
Expand Down

0 comments on commit 5372bc3

Please sign in to comment.