Page MenuHomeFreeBSD

mac_veriexec: Authorize reads of secured sysctls
ClosedPublic

Authored by sebastien.bini_stormshield.eu on Feb 21 2022, 10:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 7:33 AM
Unknown Object (File)
Mar 17 2024, 4:47 AM
Unknown Object (File)
Mar 17 2024, 4:46 AM
Unknown Object (File)
Mar 17 2024, 4:46 AM
Unknown Object (File)
Mar 14 2024, 11:16 AM
Unknown Object (File)
Jan 12 2024, 4:19 PM
Unknown Object (File)
Dec 20 2023, 2:37 AM
Unknown Object (File)
Dec 12 2023, 6:14 AM

Details

Summary

Writes to sysctls flagged with CTLFLAG_SECURE are blocked if the appropriate secure level is set. mac_veriexec does not behave this way, it blocks such sysctls in read-only mode as well.

This change aims to make mac_veriexec behave like secure levels, as it was meant by the original commit ed377cf41.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sebastien.bini_stormshield.eu retitled this revision from Writes to sysctls flagged with CTLFLAG_SECURE are blocked if the appropriate secure level is set. mac_veriexec does not behave this way, it blocks such sysctls in read-only mode as well. to mac_veriexec: Authorize reads of secured sysctls.Feb 21 2022, 10:23 AM
sebastien.bini_stormshield.eu edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Feb 21 2022, 5:13 PM
This revision was automatically updated to reflect the committed changes.