Page MenuHomeFreeBSD

kldxref: Simplify elf_read_raw_data
ClosedPublic

Authored by jhb on Dec 19 2023, 8:15 PM.
Tags
None
Referenced Files
F154251554: D43125.id.diff
Mon, Apr 27, 10:07 AM
Unknown Object (File)
Thu, Apr 23, 4:38 AM
Unknown Object (File)
Wed, Apr 22, 11:51 PM
Unknown Object (File)
Wed, Apr 22, 4:44 PM
Unknown Object (File)
Tue, Apr 21, 4:56 AM
Unknown Object (File)
Tue, Apr 21, 4:55 AM
Unknown Object (File)
Sat, Apr 18, 11:19 PM
Unknown Object (File)
Sat, Apr 18, 10:21 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