Replace lseek(2)/read(2) pair with pread(2), removing yet another syscall
authortrasz <trasz@FreeBSD.org>
Tue, 24 Oct 2017 12:04:07 +0000 (12:04 +0000)
committertrasz <trasz@FreeBSD.org>
Tue, 24 Oct 2017 12:04:07 +0000 (12:04 +0000)
commit20894895b528cca2379c280132ebb10e9480defd
tree93e56d726df596384dd33dc4f26fee0bdb4a5c2f
parent5b7fff3b373c865a24d79891249d4401bb068278
Replace lseek(2)/read(2) pair with pread(2), removing yet another syscall
from the binary startup code.

MFC after: 2 weeks
Sponsored by: DARPA, AFRL
libexec/rtld-elf/rtld.c