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
Unknown Object (File)
Sat, Feb 15, 9:54 PM
Unknown Object (File)
Sat, Feb 15, 6:18 PM
Unknown Object (File)
Thu, Jan 23, 6:56 PM
Unknown Object (File)
Sun, Jan 19, 12:13 AM
Unknown Object (File)
Jan 17 2025, 9:11 PM
Unknown Object (File)
Jan 12 2025, 1:23 PM
Unknown Object (File)
Dec 2 2024, 8:18 AM
Unknown Object (File)
Nov 18 2024, 10:36 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17327
Build 17162: arc lint + arc unit

Event Timeline

Correct the regex for socket_failure test-case

asomers added inline comments.
tests/sys/audit/network.c
48

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.