Page MenuHomeFreeBSD

kldxref: Simplify elf_read_raw_data
ClosedPublic

Authored by jhb on Dec 19 2023, 8:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 25 2025, 3:50 AM
Unknown Object (File)
Nov 11 2025, 11:13 PM
Unknown Object (File)
Oct 30 2025, 1:27 PM
Unknown Object (File)
Oct 29 2025, 5:26 PM
Unknown Object (File)
Oct 29 2025, 5:25 PM
Unknown Object (File)
Oct 29 2025, 5:23 PM
Unknown Object (File)
Oct 29 2025, 5:20 PM
Unknown Object (File)
Oct 26 2025, 7:08 PM
Subscribers

Details

Summary

Use pread as a valid offset is always passed now. Originally the DSO
code read the .hash section in two separate requests and relied on the
implicit offset for the second read, but now the hash table is fetched
in a single call.

Sponsored by: DARPA

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable