Page MenuHomeFreeBSD

pmc: Initialise and check the pm_flags field for CONFIGURELOG
ClosedPublic

Authored by jrtc27 on May 10 2023, 5:40 PM.
Tags
None
Referenced Files
F107146042: D40049.diff
Fri, Jan 10, 8:06 PM
Unknown Object (File)
Fri, Dec 27, 2:27 AM
Unknown Object (File)
Wed, Dec 25, 7:20 PM
Unknown Object (File)
Dec 7 2024, 4:04 AM
Unknown Object (File)
Nov 14 2024, 12:44 PM
Unknown Object (File)
Nov 12 2024, 2:29 AM
Unknown Object (File)
Sep 29 2024, 10:45 PM
Unknown Object (File)
Sep 24 2024, 6:49 PM
Subscribers

Details

Summary

Whilst the former is not breaking, the latter is, and so this will be
followed by a bump to the pmc major version. This will allow the flags
to actually be usable in future, as otherwise we cannot distinguish
uninitialised stack junk from a deliberately-initialised value.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51788
Build 48679: arc lint + arc unit

Event Timeline

It is annoying, but this represents a new distinct error return from the syscall, and should be added to the ERRORS list in hwpmc(4).

This revision is now accepted and ready to land.May 11 2023, 6:19 PM
This revision now requires review to proceed.May 30 2023, 10:43 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 30 2023, 11:38 PM
This revision was automatically updated to reflect the committed changes.