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)
Mar 8 2025, 6:37 AM
Unknown Object (File)
Mar 5 2025, 4:28 AM
Unknown Object (File)
Feb 23 2025, 3:40 AM
Unknown Object (File)
Feb 14 2025, 8:59 PM
Unknown Object (File)
Feb 8 2025, 10:48 AM
Unknown Object (File)
Jan 29 2025, 9:09 PM
Unknown Object (File)
Jan 24 2025, 5:55 PM
Unknown Object (File)
Jan 12 2025, 11:53 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