[PATCH] Audit of POSIX Message Queue Syscalls v.2

George C. Wilson ltcgcw at us.ibm.com
Thu May 25 01:33:24 UTC 2006


On Wed, May 24, 2006 at 05:53:15PM -0400, Steve Grubb wrote:
> On Wednesday 24 May 2006 17:09, George C. Wilson wrote:
> > +extern int audit_mq_open(int oflag, mode_t mode, struct mq_attr __user *u_attr);
> > +extern int audit_mq_timedsend(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec __user *u_abs_timeout);
> > +extern int audit_mq_timedreceive(mqd_t mqdes, size_t msg_len, unsigned int __user *u_msg_prio, const struct timespec __user *u_abs_timeout);
> > +extern int audit_mq_notify(mqd_t mqdes, const struct sigevent __user *u_notification);
> > +extern int audit_mq_getsetattr(mqd_t mqdes, struct mq_attr *mqstat);
> 
> We also recently updated all the audit hook functions to be inline functions that 
> check audit_enable and call the real function if true.
> 
> -Steve

Well, thought I was ready to post the delta.  Inlining was one of the changes
Jose mentioned last go round.  I'll make this mod, too.  No post tonight,
though.

-- 
George Wilson <ltcgcw at us.ibm.com>
IBM Linux Technology Center




More information about the Linux-audit mailing list