Page MenuHomeFreeBSD

MAC/do: sysctl_rules(): Always copy the rules specification string
ClosedPublic

Authored by olce on Nov 15 2024, 5:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 7:49 AM
Unknown Object (File)
Fri, Dec 12, 4:47 AM
Unknown Object (File)
Wed, Dec 10, 10:54 PM
Unknown Object (File)
Mon, Dec 1, 10:20 AM
Unknown Object (File)
Nov 19 2025, 2:59 PM
Unknown Object (File)
Nov 18 2025, 7:37 PM
Unknown Object (File)
Nov 13 2025, 7:44 AM
Unknown Object (File)
Nov 2 2025, 8:48 PM

Details

Summary

This revision is part of a series. Click on the Stack tab below to see the context.
This series has also been squeezed into D47633 to provide an overall view.

Commit message:
We are not guaranteed that the 'rules' storage stays stable if we don't
hold the prison lock. For this reason, always copy the specification
string (under the lock).

Diff Detail

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

Event Timeline

olce requested review of this revision.Nov 15 2024, 5:07 PM
This revision is now accepted and ready to land.Nov 19 2024, 8:00 AM