[PATCH] selinux: eliminate selinux_task_ctxid
[linux-2.6.git] / kernel / auditsc.c
index 1bd8827a0102809606b8ccab55d7db185cd12fb2..331e1701039311ac79fdb1ab4a8ad96dda796a7f 100644 (file)
@@ -385,7 +385,7 @@ static int audit_filter_rules(struct task_struct *tsk,
                           logged upon error */
                        if (f->se_rule) {
                                if (need_sid) {
-                                       selinux_task_ctxid(tsk, &sid);
+                                       selinux_get_task_sid(tsk, &sid);
                                        need_sid = 0;
                                }
                                result = selinux_audit_rule_match(sid, f->type,