public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: "Marius.bao" <marius.bao@gmail.com>
Subject: Re: What does each audit record field mean?
Date: Sun, 27 Jan 2008 08:15:39 -0500	[thread overview]
Message-ID: <200801270815.39290.sgrubb@redhat.com> (raw)
In-Reply-To: <b807c37c0801270025y32fe4554pf76e87398806d9ae@mail.gmail.com>

On Sunday 27 January 2008 03:25:47 Marius.bao wrote:
>     type=SYSCALL msg=audit(1201421673.445:1508): arch=40000003
> syscall=5 success=no exit=-2 a0=bfec1e40 a1=0 a2=b7ee6548 a3=bfec1e40
> items=1 ppid=9571 pid=96    95 auid=0 uid=0 gid=0 euid=0 suid=0
> fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="vim" exe="/usr/bin/vim"
> key=(null)
>     The "success" fields of the record is no, what does it mean? Does it
>     represent the syscall is failed? 

Yes


>     And what does "exit" field mean? Does it represent the syscall's exit
> code?

Yes.


> I'm also confused with the meaning of the fields of "a0" "a1" "a2" 
> and "a3".

Arg 0, Arg 1, Arg 2, and Arg 3. All are integers. IOW, pointers are not 
dereferenced, you would just have the address.

I have something that tells you about the meaning of various fields here: 

http://people.redhat.com/sgrubb/audit/audit-parse.txt

Look in the field names section.

-Steve

  reply	other threads:[~2008-01-27 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-27  8:25 What does each audit record field mean? Marius.bao
2008-01-27 13:15 ` Steve Grubb [this message]
2008-01-29  7:16   ` Marius.bao
2008-01-29 18:02     ` 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=200801270815.39290.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=marius.bao@gmail.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