This revision introduces test cases for System V standardized system calls concerned
with creating and manipulating shared memory segments. These system calls are categorized
within inter-process-communication audit class (as expected).
System calls in question are:
- shmget(2)
- shmat(2)
- shmdt(2)
- shmctl(2)
Note:
shmctl(2) takes as argument a cmd which is a separate audit event in itself.
List of shmctl(2) audit events:
- AUE_SHMCTL [Illegal Command]
- AUE_SHMCTL_STAT
- AUE_SHMCTL_RMID
- AUE_SHMCTL_SET
For full details, please see: sys/security/audit/audit_bsm_klib.c#L113
Each of them have been treated as separate audit events. (And hence, separate tests)