aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/audit/network.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix remaining test failures under _FORTIFY_SOURCEKyle Evans2026-05-011-1/+3
| | | | | | | | | | | The getgroups test is a NetBSD tests, so just apply our larger hammer and disable the feature entirely. The audit test can take a more surgical approach and use __ssp_real() appropriately, since it's a local one. PR: 294881 Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D56735
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Fix audit of chflagsat, lgetfh, and setfibAlan Somers2018-07-221-6/+0
| | | | | | | | | | | | | | These syscalls were always supposed to have been auditted, but due to oversights never were. PR: 228374 Reported by: aniketp Reviewed by: aniketp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D16388 Notes: svn path=/head/; revision=336604
* audit(4): add test cases for chflagsat(2), lgetfh(2), setfib(2)Alan Somers2018-07-211-0/+54
| | | | | | | | | | | | | | These three syscalls aren't currently audited correctly, so the tests are marked as expected failures. PR: 228374 Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D16379 Notes: svn path=/head/; revision=336580
* audit(4): add tests for sendmsg, recvmsg, shutdown, and sendfileAlan Somers2018-06-191-4/+294
| | | | | | | | | | Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15895 Notes: svn path=/head/; revision=335378
* audit(4): add tests for send, recv, sendto, and recvfromAlan Somers2018-06-181-63/+279
| | | | | | | | | | Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15869 Notes: svn path=/head/; revision=335319
* audit(4): add tests for connect, connectat, and acceptAlan Somers2018-06-171-5/+222
| | | | | | | | | | Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15853 Notes: svn path=/head/; revision=335294
* audit(4): add tests for bind(2), bindat(2), and listen(2)Alan Somers2018-06-161-7/+205
| | | | | | | | | | Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15843 Notes: svn path=/head/; revision=335255
* audit(4): Add a few tests for network-related syscallsAlan Somers2018-06-151-0/+214
Add tests for socket(2), socketpair(2), and setsockopt(2) Submitted by: aniketp MFC after: 2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15803 Notes: svn path=/head/; revision=335215