Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252955
b: refs/heads/master
c: a5b2c5b
h: refs/heads/master
i:
  252953: 117fe73
  252951: 275f7e1
v: v3
  • Loading branch information
Kees Cook authored and James Morris committed Jun 1, 2011
1 parent ce5f041 commit e7e1964
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 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: 603d04b2010976a52f62b7633f9999d104046900
refs/heads/master: a5b2c5b2ad5853591a6cac6134cd0f599a720865
5 changes: 1 addition & 4 deletions trunk/drivers/misc/kgdbts.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,7 @@ static int check_and_rewind_pc(char *put_str, char *arg)
return 1;
}
/* Readjust the instruction pointer if needed */
ip += offset;
#ifdef GDB_ADJUSTS_BREAK_OFFSET
instruction_pointer_set(&kgdbts_regs, ip);
#endif
instruction_pointer_set(&kgdbts_regs, ip + offset);
return 0;
}

Expand Down
3 changes: 2 additions & 1 deletion trunk/security/apparmor/lsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ static int apparmor_setprocattr(struct task_struct *task, char *name,
sa.aad.op = OP_SETPROCATTR;
sa.aad.info = name;
sa.aad.error = -EINVAL;
return aa_audit(AUDIT_APPARMOR_DENIED, NULL, GFP_KERNEL,
return aa_audit(AUDIT_APPARMOR_DENIED,
__aa_current_profile(), GFP_KERNEL,
&sa, NULL);
}
} else if (strcmp(name, "exec") == 0) {
Expand Down

0 comments on commit e7e1964

Please sign in to comment.