public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: rgb@redhat.com
Subject: audit_status in kernel
Date: Mon, 10 Mar 2014 17:48:06 -0400	[thread overview]
Message-ID: <2266202.J6IrG6ma9a@x2> (raw)

Hello,

I was looking at a new kernel and see that the audit_status structure has 
changed. The first member of the structure is a bit mask that tells what all is 
in the structure. So, if we add this:

        __u32           version;        /* audit api version number */
        __u32           backlog_wait_time;/* message queue wait timeout */
};

Then we need to have a define for those two:

#define AUDIT_STATUS_BACKLOG_LIMIT      0x0010
+#define AUDIT_STATTUS_VERSION			0x0020
-#define AUDIT_STATUS_BACKLOG_WAIT_TIME  0x0020
+#define AUDIT_STATUS_BACKLOG_WAIT_TIME  0x0040

IOW, each entry in the structure is supposed to have a mask value.

-Steve

             reply	other threads:[~2014-03-10 21:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10 21:48 Steve Grubb [this message]
2014-03-10 22:25 ` audit_status in kernel Steve Grubb
2014-03-10 23:14   ` Eric Paris

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