diff options
Diffstat (limited to 'security/apparmor/domain.c')
-rw-r--r-- | security/apparmor/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index 08bbe6397a7f..c825c6e0b636 100644 --- a/security/apparmor/domain.c +++ b/security/apparmor/domain.c | |||
@@ -62,7 +62,7 @@ static int may_change_ptraced_domain(struct task_struct *task, | |||
62 | struct aa_profile *to_profile) | 62 | struct aa_profile *to_profile) |
63 | { | 63 | { |
64 | struct task_struct *tracer; | 64 | struct task_struct *tracer; |
65 | struct cred *cred = NULL; | 65 | const struct cred *cred = NULL; |
66 | struct aa_profile *tracerp = NULL; | 66 | struct aa_profile *tracerp = NULL; |
67 | int error = 0; | 67 | int error = 0; |
68 | 68 | ||