Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201918
b: refs/heads/master
c: 77c80e6
h: refs/heads/master
v: v3
  • Loading branch information
James Morris committed Aug 2, 2010
1 parent ddd648d commit f6d1f5e
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 6371dcd36f649d9d07823f31400618155a20dde1
refs/heads/master: 77c80e6b2fd049848bfd1bdab67899ad3ac407a7
2 changes: 1 addition & 1 deletion trunk/security/apparmor/domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static int may_change_ptraced_domain(struct task_struct *task,
struct aa_profile *to_profile)
{
struct task_struct *tracer;
struct cred *cred = NULL;
const struct cred *cred = NULL;
struct aa_profile *tracerp = NULL;
int error = 0;

Expand Down
2 changes: 1 addition & 1 deletion trunk/security/apparmor/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,

if (!unconfined(tracer_p)) {
/* lcred released below */
struct cred *lcred = get_task_cred(tracee);
const struct cred *lcred = get_task_cred(tracee);
struct aa_profile *tracee_p = aa_cred_profile(lcred);

error = aa_may_ptrace(tracer, tracer_p, tracee_p, mode);
Expand Down

0 comments on commit f6d1f5e

Please sign in to comment.