PERFORCE change 164144 for review

Robert Watson rwatson at FreeBSD.org
Thu Jun 11 20:59:36 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=164144

Change 164144 by rwatson at 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_ */


More information about the p4-projects mailing list