]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
tests: add security hardening tests for H2 and M8
authorTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 01:04:02 +0000 (22:04 -0300)
committerTulio A M Mendes <[email protected]>
Thu, 11 Jun 2026 01:04:02 +0000 (22:04 -0300)
commit572dfb8a4c39ac7d7e97fafe271a6c3ee0b04b70
tree7c968e19ef1220bb32f78ee1fed2902c18862da1
parentdd145fccc709e82a1644f0d7729ad7762cb03c29
tests: add security hardening tests for H2 and M8

- Add I7: /proc/dmesg root-only access test (H2)
- Add I8: /proc/cmdline root-only access test (H2)
- Add I9: /proc/PID/maps format verification test (H2)
- Add I10: /dev/random CSPRNG uniqueness test (M8)
- Update smoke_test.exp with new test patterns
- Update test_battery.exp with new test patterns

Validation:
- make test SMOKE_SMP=4: 131/131 PASS (was 127/127, +4 new tests)
- make test-battery: 157/157 PASS (was 153/153, +4 new tests)

Tests validate H2 (/proc hardening) and M8 (CSPRNG) implementations.
tests/smoke_test.exp
tests/test_battery.exp
user/cmds/fulltest/fulltest.c