Getting the program name in audit messages

David Woodhouse dwmw2 at infradead.org
Fri Apr 1 11:39:44 UTC 2005


On Thu, 2005-03-31 at 16:30 -0500, Steve Grubb wrote:
> @@ -556,39 +555,6 @@ void avc_audit(u32 ssid, u32 tsid,
>         audit_log_format(ab, "avc:  %s ", denied ? "denied" :
> "granted");
>         avc_dump_av(ab, tclass,audited);
>         audit_log_format(ab, " for ");
> -       if (a && a->tsk)
> -               tsk = a->tsk;
> -       if (tsk && tsk->pid) {
> -               struct mm_struct *mm;
> -               struct vm_area_struct *vma;
> -               audit_log_format(ab, " pid=%d", tsk->pid);
 ...

What replaces this information for the normal callers of avc_audit()?

-- 
dwmw2




More information about the Linux-audit mailing list