#
ce9c4673 |
| 02-Apr-2025 |
Gleb Smirnoff <glebius@FreeBSD.org> |
ktrace tests: don't use INADDR_ANY as a destination for sendto(2)
The INADDR_ANY is a broadcast address, and with recent changes its use as destination for UDP sendto(2) was disallowed unless SO_BRO
ktrace tests: don't use INADDR_ANY as a destination for sendto(2)
The INADDR_ANY is a broadcast address, and with recent changes its use as destination for UDP sendto(2) was disallowed unless SO_BROADCAST is set. Use just a localhost address for a successful sendto(2).
While here convert a couple checks that happen in the parent to use normal ATF_REQUIRE() instead of CHILD_REQUIRE().
PR: 285851 Fixes: 3b281d1421a78b588c5fc4182009ce62d8823d95
show more ...
|
Revision tags: release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0 |
|
#
3852a5a2 |
| 07-Aug-2024 |
Mark Johnston <markj@FreeBSD.org> |
ktrace tests: Add a test case for handling of exec+setuid binaries
MFC after: 1 week
|
#
9cc67e43 |
| 28-Jul-2024 |
Mark Johnston <markj@FreeBSD.org> |
ktrace tests: Add a missing mode in open(O_CREAT)
MFC after: 1 week
|
Revision tags: release/14.1.0 |
|
#
054a4720 |
| 10-Apr-2024 |
Jake Freeland <jfree@FreeBSD.org> |
tests: Add ktrace regression test for shm_open
Verify that a capability violation is recorded when shm_open(2) is called with a non-anonymous path.
Approved by: markj (mentor) Reviewed by: markj MF
tests: Add ktrace regression test for shm_open
Verify that a capability violation is recorded when shm_open(2) is called with a non-anonymous path.
Approved by: markj (mentor) Reviewed by: markj MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44733
show more ...
|
#
2f39a986 |
| 06-Apr-2024 |
Jake Freeland <jfree@FreeBSD.org> |
tests: Add ktrace capability violation test cases
Introduce regression tests for ktrace(2) that target capability violations.
These test cases ensure that ktrace(2) records these violations: - CAPF
tests: Add ktrace capability violation test cases
Introduce regression tests for ktrace(2) that target capability violations.
These test cases ensure that ktrace(2) records these violations: - CAPFAIL_NOTCAPABLE - CAPFAIL_INCREASE - CAPFAIL_SYSCALL - CAPFAIL_SIGNAL - CAPFAIL_PROTO - CAPFAIL_SOCKADDR - CAPFAIL_NAMEI - CAPFAIL_CPUSET
A portion of these test cases create processes that do NOT enter capability mode, but raise violations. This is intended behavior. Users may run `ktrace -t p` on non-Capsicumized programs to detect violations that would occur if the process were in capability mode.
Reviewed by: markj Approved by: markj (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D40682
show more ...
|