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

Steve Grubb sgrubb at redhat.com
Wed May 24 21:53:15 UTC 2006


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




More information about the Linux-audit mailing list