The following changes add to the already existing 24 tests for fc "file-create" audit class which were introduced in D15286 and committed as rS334360. These 24 test-cases check the proper audit of open(2) and openat(2) for various file opening modes in both success and failure case.
Following modes were defined by the audit events list
- read - create
- write - create
- read - write - create
- read - create - trunc
- write - create - trunc
- read - write - create - trunc
The part create is common among these and it essentially conveys that creation of a file/link was involved, hence the class file-create