All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amy Griffis <amy.griffis@hp.com>
To: "Timothy R. Chavez" <tinytim@us.ibm.com>
Cc: linux-audit@redhat.com
Subject: Re: Logging failed open() calls on /var/log/audit/audit.log
Date: Tue, 27 Jun 2006 19:10:32 -0400	[thread overview]
Message-ID: <20060627231032.GA12632@zk3.dec.com> (raw)
In-Reply-To: <1151443966.6863.18.camel@localhost.localdomain>

Timothy R. Chavez wrote:     [Tue Jun 27 2006, 05:32:46PM EDT]
> Maybe because you're executing in the system-call attempting the access
> of audit.log and it's in this context the permissions to do so are
> checked.  Been awhile, but looking at fs/open.c:do_sys_open, should
> there be an fsnotify_open() hook in the error path as well?

That wouldn't help.  If do_filp_open() returns an error, we don't have
an inode for the filename the user wanted to open.  So we don't have
any additional information to give the hook other than what audit has
already collected.

  reply	other threads:[~2006-06-27 23:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 20:43 Logging failed open() calls on /var/log/audit/audit.log Robert Giles
2006-06-27 21:15 ` Amy Griffis
2006-06-27 21:21   ` Steve Grubb
2006-06-27 21:32     ` Timothy R. Chavez
2006-06-27 23:10       ` Amy Griffis [this message]
2006-06-27 21:32     ` Amy Griffis
2006-06-27 21:36     ` Linda Knippers
2006-06-27 22:03       ` Alexander Viro
2006-06-27 22:16         ` Linda Knippers
2006-06-29 16:34   ` Klaus Weidner
2006-06-29 18:04     ` LC Bruzenak
2006-06-29 18:12     ` Robert Giles

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=20060627231032.GA12632@zk3.dec.com \
    --to=amy.griffis@hp.com \
    --cc=linux-audit@redhat.com \
    --cc=tinytim@us.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.