public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bradley Hook <bhook@kssb.net>
To: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: System-call auditing
Date: Wed, 19 May 2004 17:13:35 -0500	[thread overview]
Message-ID: <40ABDC0F.8020207@kssb.net> (raw)

I'm trying to put this system-call auditing to use, and I'm running into 
some trouble figuring it out. I've been studying the sources for the 
auditd example app and the audit.c/auditsc.c kernel files, and have yet 
to figure out how to accomplish my goal.

What I am trying to do is detect when a modified file is closed. I 
figured auditing __NR_open, __NR_write, and __NR_close would be the way 
to do this (perhaps I am wrong here?). My problem is that I haven't 
found a way to tie the open/write/close calls together with the info 
that the auditing code provides.

The audit info for __NR_open provides the filename (which I would need 
when my app goes to work) but doesn't provide any unique identifier that 
I can use to tie it to audits on __NR_write or __NR_close.

If anyone can give me some pointers on how to use this auditing code I 
would greatly appreciate it.

~Brad

                 reply	other threads:[~2004-05-19 22:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=40ABDC0F.8020207@kssb.net \
    --to=bhook@kssb.net \
    --cc=linux-kernel@vger.kernel.org \
    /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