public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: SYSCALL and you...err...and me...
Date: Fri, 25 Oct 2013 08:45:56 -0400	[thread overview]
Message-ID: <1463828.1fTBGOzZcb@x2> (raw)
In-Reply-To: <CACv9p5o5EE2RKoZmii2XNmJ=h=uKZpCn59OOA_eGyGJ_Pevzqw@mail.gmail.com>

On Friday, October 25, 2013 08:29:00 AM leam hall wrote:
> I'm making a little progress in identifying the unknown syscalls. It often
> helps if you are not so cold and remember to look for a log...
> 
> The failed call below is root doing a grep. I do not know why it failed.
> The PPID is a bash shell. Any good docs available to explain the codes?

Ausearch automatically interprets the codes for you.


> grep SYSCALL audit.log | grep "success=no" | tail -1
> 
> type=SYSCALL msg=audit(1382703881.711:2677787): arch=c000003e syscall=2
> success=no exit=-2 a0=7914b20 a1=0 a2=0 a3=3a89724793 items=1 ppid=25339
> pid=26563 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
> tty=pts1 ses=4445 comm="grep" exe="/bin/grep"
> subj=root:system_r:unconfined_t:s0-s0:c0.c1023 key=(null)

Try ausearch --start today -m syscall -sv no -i

-Steve

  reply	other threads:[~2013-10-25 12:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25 12:29 SYSCALL and you...err...and me leam hall
2013-10-25 12:45 ` Steve Grubb [this message]
2013-10-25 12:48 ` Alexander Viro

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=1463828.1fTBGOzZcb@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@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