Date: Sat, 13 Jun 2009 10:03:35 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 164254 for review Message-ID: <200906131003.n5DA3Zkp091977@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=164254 Change 164254 by rwatson@rwatson_freebsd_capabilities on 2009/06/13 10:02:43 Don't test lseek(2) in the IN_RTLD_CAP case, as we don't need it any longer. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf/rtld.c#17 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf/rtld.c#17 (text+ko) ==== @@ -1595,10 +1595,6 @@ _rtld_error("Unable to find \"%s\" in LD_CAPLIBINDEX", path); return NULL; } - if (lseek(fd, 0, SEEK_SET) == -1) { - _rtld_error("Unable to seek on \"%s\"", path); - return NULL; - } #else path = find_library(name, refobj); if (path == NULL)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906131003.n5DA3Zkp091977>