public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Matthew Booth <mbooth@redhat.com>
To: Steve Grubb <sgrubb@redhat.com>
Cc: linux-audit@redhat.com
Subject: Re: Which userspace packages modified for audit
Date: Sun, 25 Feb 2007 22:35:08 +0000	[thread overview]
Message-ID: <1172442908.1541.6.camel@localhost.localdomain> (raw)
In-Reply-To: <200702251730.40357.sgrubb@redhat.com>


[-- Attachment #1.1: Type: text/plain, Size: 974 bytes --]

On Sun, 2007-02-25 at 17:30 -0500, Steve Grubb wrote:
> On Sunday 25 February 2007 17:15:23 Matthew Booth wrote:
> > On a related note, what's the api for injecting an arbitrary audit event
> > from userspace in 1.0.15? 
> 
> audit_log_user_message().
> 
> > There doesn't appear to be anything obvious in the man pages.
> 
> There are several APIs to enforce consistent messages depending on the 
> purpose. They all start with audit_log_ .

That's a lot of choices. I specifically want to log a message in my
ausetauid utility containing the fully command line executed under a
different auid. To make sure it turns up in searches, I want it to have
the same audit event ID as the LOGIN message it generates. Is this
achievable, and which function should I read the source for ;) ?

Thanks,

Matt
-- 
Red Hat, Global Professional Services

M:       +44 (0)7977 267231
GPG ID:  D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2007-02-25 22:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 23:03 Which userspace packages modified for audit Tony Jones
2007-02-23 10:18 ` SUSE ELS and Audit Johnston Mark (UK)
2007-02-23 10:20   ` Marcus Meissner
2007-02-23 10:26   ` Roman Drahtmueller
2007-02-23 10:59     ` Johnston Mark (UK)
2007-02-23 11:47 ` Which userspace packages modified for audit Steve Grubb
2007-02-23 14:22   ` Matthew Booth
2007-02-25 18:41     ` Steve Grubb
2007-02-25 18:41       ` Marcus Meissner
2007-02-25 19:40         ` Steve Grubb
2007-02-26 13:21           ` Marcus Meissner
2007-02-26 14:40             ` Steve Grubb
2007-02-25 22:15       ` Matthew Booth
2007-02-25 22:30         ` Steve Grubb
2007-02-25 22:35           ` Matthew Booth [this message]
2007-02-25 23:07             ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1172442908.1541.6.camel@localhost.localdomain \
    --to=mbooth@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=sgrubb@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox