The following changes introduce a new test-program file-read, apart from the already existing 24 tests for fc "file-create" audit class which were introduced in D15286 and committed as rS334360. These 4 test-cases check the proper audit of readlink(2) and readlinkat(2) for both success and failure case.
Details
Details
Execute make && make install from test/sys/audit.
Execute kyua test from /usr/tests/sys/audit. All testcases should succeed.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Other than the copyright header, it LGTM.
tests/sys/audit/file-read.c | ||
---|---|---|
3 ↗ | (On Diff #43209) | As Mateusz said, you should remove "All rights reserved" |