From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [PATCH] Audit of POSIX Message Queue Syscalls v.2 Date: Wed, 24 May 2006 17:53:15 -0400 Message-ID: <200605241753.15239.sgrubb@redhat.com> References: <20060517014055.GA16852@us.ibm.com> <20060524210955.GA27747@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060524210955.GA27747@us.ibm.com> Content-Disposition: inline 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 List-Id: linux-audit@redhat.com 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