Date: Thu, 11 Jun 2009 20:59:34 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 164144 for review Message-ID: <200906112059.n5BKxYwL037947@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=164144 Change 164144 by rwatson@rwatson_freebsd_capabilities on 2009/06/11 20:59:01 Define ld_caplibindex_lookup() prototype in libcapability.h -- even though it's implemented by the linker, it's libcapability consumers that will be using it. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#11 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#11 (text+ko) ==== @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#10 $ + * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapability/libcapability.h#11 $ */ #ifndef _LIBCAPABILITY_H_ @@ -88,4 +88,10 @@ int lcs_sendrpc(struct lc_host *lchp, u_int32_t opno, u_int32_t seqno, struct iovec *rep, int repcount); +/* + * Actually an rtld-elf-cap symbol, but declared here so it is available to + * applications. + */ +int ld_caplibindex_lookup(const char *libname, int *fdp); + #endif /* !_LIBCAPABILITY_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906112059.n5BKxYwL037947>