/* Returns 0 if current has the requested access, error code otherwise  */
static int smack_msg_queue_msgsnd(struct msg_queue *msq, struct msg_msg *msg, int msqflg)
/* Returns 0 if current has the requested access, error code otherwise  */
static int smack_msg_queue_msgsnd(struct msg_queue *msq, struct msg_msg *msg, int msqflg)
{
	int may;
	may = smack_flags_to_may(msqflg);
	return smk_curacc_msq(msq, may);
}