Robert Watson 1c232cd509 In rtld's map_object(), use pread(..., 0) rather than read() to read the
ELF header from the front of the file.  As all other I/O on the binary
is done using mmap(), this avoids the need for seek privileges on the
file descriptor during run-time linking.

MFC after:	1 month
Sponsored by:	Google
2009-10-06 17:14:39 +00:00
..
2009-03-31 23:02:51 +00:00
2007-07-24 06:41:07 +00:00
2006-07-27 12:05:05 +00:00
2008-03-26 07:32:08 +00:00
2007-07-03 12:46:08 +00:00