This revision introduces test program for System V standardized system calls concerned
with creating and manipulating message queues. These system calls are categorized within
inter-process-communication audit class (as expected).
System calls in question are:
- msgget(2)
- msgsnd(2)
- msgrcv(2)
- msgctl(2)
Note:
msgctl(2) takes as argument a cmd which is a separate audit event in itself.
List of msgctl(2) audit events:
- AUE_MSGCTL [Illegal Command]
- AUE_MSGCTL_STAT
- AUE_MSGCTL_RMID
- AUE_MSGCTL_SET
For full details, please see: sys/security/audit/audit_bsm_klib.c#L248
Each of them have been treated as separate audit events. (And hence, separate tests)