Page MenuHomeFreeBSD

LinuxKPI: dev_coredump implementation (NOT FOR COMMIT AS-IS)
Needs ReviewPublic

Authored by bz on Feb 3 2024, 1:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 3, 2:27 AM
Unknown Object (File)
Apr 27 2024, 7:52 AM
Unknown Object (File)
Apr 27 2024, 7:52 AM
Unknown Object (File)
Apr 27 2024, 7:31 AM
Unknown Object (File)
Mar 25 2024, 10:38 PM
Unknown Object (File)
Mar 2 2024, 4:44 PM
Unknown Object (File)
Feb 13 2024, 2:22 PM
Unknown Object (File)
Feb 9 2024, 12:15 AM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Implement the ability (for the S/G case only for now as that is what
was needed for iwlwifi(4)) to write device driver core files, usually
dumping firmware state.

This is modelled after our core(5) code currently and has a hardcoded
directory prefix (/var/crash) and some other omissions.
See comment in the file for what we likely should do.

Any suggestions for improvements are welcome, especially if we really
can get rid of all this "magic" for opening a file from within the kernel.

Diff Detail

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