public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: Loulwa Salem <loulwas@us.ibm.com>
Cc: linux-audit@redhat.com
Subject: Re: Problem with audit
Date: Fri, 21 Apr 2006 15:48:52 -0400	[thread overview]
Message-ID: <200604211548.52720.sgrubb@redhat.com> (raw)
In-Reply-To: <4448FAA9.4040907@us.ibm.com>

On Friday 21 April 2006 11:30, Loulwa Salem wrote:
> sure .. I'm attaching the strace output.

recvfrom(3, "$\0\0\0\2\0\0\0\1\0\0\0\375\10\0\0\377\377\377\377\20\0"..., 
8476, MSG_PEEK|MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 
[12]) = 36

This is definitely sending back EPERM. EPERM is only sent back when the sender 
does not have CAP_AUDIT_CONTROL. Root processes should have that. Not sure 
why this is failing the first time and OK the second. That seems to sound 
like an uninitialized variable. Nothing has changed in this part of the code 
in a very long time...unless this is another netlink bug.

-Steve

  reply	other threads:[~2006-04-21 19:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 23:06 Problem with audit Loulwa Salem
2006-04-20 23:12 ` Steve Grubb
2006-04-20 23:26   ` Loulwa Salem
2006-04-21 11:07     ` Steve Grubb
2006-04-21 14:27       ` Loulwa Salem
2006-04-21 15:01         ` Steve Grubb
2006-04-21 15:30           ` Loulwa Salem
2006-04-21 19:48             ` Steve Grubb [this message]
2006-04-21 14:37       ` Loulwa Salem

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=200604211548.52720.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=loulwas@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox