aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorSteve Grubb <sgrubb@redhat.com>2006-04-01 18:29:34 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-05-01 06:10:01 -0400
commitce29b682e228c70cdc91a1b2935c5adb2087bab8 (patch)
tree39e3e5b345748bec1c2d21962407689cdb1b7dab /kernel/auditsc.c
parente7c3497013a7e5496ce3d5fd3c73b5cf5af7a56e (diff)
[PATCH] More user space subject labels
Hi, The patch below builds upon the patch sent earlier and adds subject label to all audit events generated via the netlink interface. It also cleans up a few other minor things. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/auditsc.c')
-rw-r--r--kernel/auditsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index b4f7223811fe..d94e0404113c 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -637,7 +637,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts
637 u32 len; 637 u32 len;
638 if (selinux_ctxid_to_string( 638 if (selinux_ctxid_to_string(
639 axi->osid, &ctx, &len)) { 639 axi->osid, &ctx, &len)) {
640 audit_log_format(ab, " obj=%u", 640 audit_log_format(ab, " osid=%u",
641 axi->osid); 641 axi->osid);
642 call_panic = 1; 642 call_panic = 1;
643 } else 643 } else
@@ -712,7 +712,7 @@ static void audit_log_exit(struct audit_context *context, struct task_struct *ts
712 u32 len; 712 u32 len;
713 if (selinux_ctxid_to_string( 713 if (selinux_ctxid_to_string(
714 context->names[i].osid, &ctx, &len)) { 714 context->names[i].osid, &ctx, &len)) {
715 audit_log_format(ab, " obj=%u", 715 audit_log_format(ab, " osid=%u",
716 context->names[i].osid); 716 context->names[i].osid);
717 call_panic = 2; 717 call_panic = 2;
718 } else 718 } else