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)
Wed, Oct 15, 6:14 AM
Unknown Object (File)
Wed, Oct 15, 6:14 AM
Unknown Object (File)
Wed, Oct 15, 6:14 AM
Unknown Object (File)
Tue, Oct 14, 8:25 PM
Unknown Object (File)
Tue, Oct 14, 2:45 PM
Unknown Object (File)
Mon, Oct 13, 9:15 PM
Unknown Object (File)
Sep 4 2025, 7:31 PM
Unknown Object (File)
Sep 4 2025, 2:47 AM
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