From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: audit_status in kernel Date: Mon, 10 Mar 2014 17:48:06 -0400 Message-ID: <2266202.J6IrG6ma9a@x2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: rgb@redhat.com List-Id: linux-audit@redhat.com 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