summaryrefslogtreecommitdiff
path: root/security/apparmor
diff options
context:
space:
mode:
Diffstat (limited to 'security/apparmor')
-rw-r--r--security/apparmor/include/task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/task.h b/security/apparmor/include/task.h
index 039c1e60887a..311e652324e3 100644
--- a/security/apparmor/include/task.h
+++ b/security/apparmor/include/task.h
@@ -16,7 +16,7 @@
static inline struct aa_task_ctx *task_ctx(struct task_struct *task)
{
- return task->security;
+ return task->security + apparmor_blob_sizes.lbs_task;
}
/*