Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: James Antill <james.antill@redhat.com>
To: Steve <m6x@ornl.gov>
Cc: linux-audit@redhat.com
Subject: Re: Resolving syscall numbers
Date: Mon, 12 Jun 2006 11:56:52 -0400	[thread overview]
Message-ID: <1150127812.29837.0.camel@code.and.org> (raw)
In-Reply-To: <448D83E2.3010907@ornl.gov>


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

On Mon, 2006-06-12 at 11:10 -0400, Steve wrote:
> This may not be appropriate for this list, if it isn't I apologize and 
> you may ignore it.
> 
> Is there an quick way to resolve the syscall number that auditd returns 
> within a message to a syscall name? (ie. 5->open)?
> 
> I am programming in C, if that helps.

 Use audit_syscall_to_name(num, audit_detect_machine())

-- 
James Antill <james.antill@redhat.com>
Red Hat

[-- 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:[~2006-06-12 15:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-12 15:10 Resolving syscall numbers Steve
2006-06-12 15:56 ` James Antill [this message]
2006-06-12 16:15   ` Steve

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=1150127812.29837.0.camel@code.and.org \
    --to=james.antill@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=m6x@ornl.gov \
    /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