git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
twl4030_charger: ack and ratelimit monitoring events
[pandora-kernel.git]
/
security
/
apparmor
/
lsm.c
diff --git
a/security/apparmor/lsm.c
b/security/apparmor/lsm.c
index
ae3a698
..
ec1bcec
100644
(file)
--- a/
security/apparmor/lsm.c
+++ b/
security/apparmor/lsm.c
@@
-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;
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) {
&sa, NULL);
}
} else if (strcmp(name, "exec") == 0) {