/* __audit_mq_notify - record audit data for a POSIX MQ notify @mqdes: MQ descriptor @notification: Notification event  */
void __audit_mq_notify(mqd_t mqdes, const struct sigevent *notification)
/* __audit_mq_notify - record audit data for a POSIX MQ notify @mqdes: MQ descriptor @notification: Notification event  */
void __audit_mq_notify(mqd_t mqdes, const struct sigevent *notification)
{
	struct audit_context *context = current->audit_context;
	if (notification)
		context->mq_notify.sigev_signo = notification->sigev_signo;
	else
		context->mq_notify.sigev_signo = 0;
	context->mq_notify.mqdes = mqdes;
	context->type = AUDIT_MQ_NOTIFY;
}