diff options
author | James Morris <jmorris@namei.org> | 2010-08-02 01:49:00 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-08-02 01:49:00 -0400 |
commit | 77c80e6b2fd049848bfd1bdab67899ad3ac407a7 (patch) | |
tree | 672ccbe5316698e0ef4dae46ba0029fb234989bf /security/apparmor/domain.c | |
parent | 6371dcd36f649d9d07823f31400618155a20dde1 (diff) |
AppArmor: fix build warnings for non-const use of get_task_cred
Fix build warnings for non-const use of get_task_cred.
Signed-off-by: James Morris <jmorris@namei.org>
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 | ||