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)
Mon, Jan 6, 2:28 AM
Unknown Object (File)
Mon, Jan 6, 1:53 AM
Unknown Object (File)
Sun, Jan 5, 8:38 PM
Unknown Object (File)
Sun, Jan 5, 6:05 PM
Unknown Object (File)
Fri, Dec 27, 11:24 AM
Unknown Object (File)
Thu, Dec 19, 1:38 PM
Unknown Object (File)
Sat, Dec 14, 5:36 AM
Unknown Object (File)
Dec 8 2024, 8:33 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