summaryrefslogtreecommitdiffstats
path: root/src/unstrip.c
diff options
context:
space:
mode:
authorJose E. Marchesi <[email protected]>2015-10-09 12:35:27 +0200
committerMark Wielaard <[email protected]>2015-10-09 15:42:34 +0200
commitf17d101232d6d40e192e61441aa02a12ee8cf9b8 (patch)
treee8eee39052fc32f43be1e94d9800d79f04c42d08 /src/unstrip.c
parent57fa86e08bdd901c0b42cc97947e620334f6ef68 (diff)
Use seek+read instead of pread to read from /dev/$$/mem files.
pread[64] always returns EINVAL when negative offsets are used. read+seek allows us to read in-memory vdso objects mapped high in the address space. Signed-off-by: Jose E. Marchesi <[email protected]>
Diffstat (limited to 'src/unstrip.c')
0 files changed, 0 insertions, 0 deletions