Page MenuHomeFreeBSD

audit(4): Add tests for bind(2), bindat(2) and listen(2)
ClosedPublic

Authored by aniketp on Jun 16 2018, 5:55 AM.
Tags
None
Referenced Files
F149946908: D15843.id43897.diff
Sat, Mar 28, 7:26 AM
F149929066: D15843.id43866.diff
Sat, Mar 28, 4:35 AM
F149906542: D15843.id43897.diff
Sat, Mar 28, 12:58 AM
Unknown Object (File)
Thu, Mar 26, 1:52 AM
Unknown Object (File)
Sun, Mar 22, 10:52 AM
Unknown Object (File)
Tue, Mar 10, 2:59 PM
Unknown Object (File)
Tue, Mar 3, 9:47 PM
Unknown Object (File)
Tue, Mar 3, 1:25 PM
Subscribers

Details

Summary

This revision introduces the atf-c(3) tests which test the proper auditability of network
related syscalls in both success and failure mode. The corresponding audit class is network

The syscalls in question are:

  • bind(2)
  • bindat(2)
  • listen(2)
Test Plan

Execute make && make install from test/sys/audit.
Execute kyua test from /usr/tests/sys/audit. All testcases should succeed.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Correct the regex for socket_failure test-case

asomers added inline comments.
tests/sys/audit/network.c
48 ↗(On Diff #43866)

s/failur/failure

This revision is now accepted and ready to land.Jun 16 2018, 2:51 PM
This revision was automatically updated to reflect the committed changes.