All of lore.kernel.org
 help / color / mirror / Atom feed
* audit_status in kernel
@ 2014-03-10 21:48 Steve Grubb
  2014-03-10 22:25 ` Steve Grubb
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Grubb @ 2014-03-10 21:48 UTC (permalink / raw)
  To: linux-audit; +Cc: rgb

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-10 23:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-10 21:48 audit_status in kernel Steve Grubb
2014-03-10 22:25 ` Steve Grubb
2014-03-10 23:14   ` Eric Paris

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.