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)
Sun, Oct 5, 11:33 AM
Unknown Object (File)
Tue, Sep 23, 9:03 AM
Unknown Object (File)
Mon, Sep 22, 1:41 PM
Unknown Object (File)
Sat, Sep 20, 10:39 PM
Unknown Object (File)
Tue, Sep 9, 5:13 PM
Unknown Object (File)
Aug 18 2025, 7:24 PM
Unknown Object (File)
Aug 18 2025, 5:21 PM
Unknown Object (File)
Aug 14 2025, 10:57 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