[PATCH] IPC_SET_PERM cleanup

Steve Grubb sgrubb at redhat.com
Fri May 5 20:42:05 UTC 2006


On Friday 05 May 2006 16:19, Linda Knippers wrote:
> -                       if (axi->osid != 0) {
> -                               char *ctx = NULL;
> -                               u32 len;
> -                               if (selinux_ctxid_to_string(
> -                                               axi->osid, &ctx, &len)) {
> -                                       audit_log_format(ab, " osid=%u",
> -                                                       axi->osid);
> -                                       call_panic = 1;
> -                               } else
> -                                       audit_log_format(ab, " obj=%s",
> ctx); -                               kfree(ctx);
> -                       }

This patch deletes the context string out of this record. Are we losing 
anything important?

-Steve




More information about the Linux-audit mailing list