PERFORCE change 174076 for review

Jonathan Anderson jona at FreeBSD.org
Mon Feb 1 11:19:58 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=174076

Change 174076 by jona at jona-belle-freebsd8 on 2010/02/01 11:19:25

	Added the weak symbol ld_libdirs()

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/lib/libc/gen/Makefile.inc#16 edit
.. //depot/projects/trustedbsd/capabilities/src/lib/libc/gen/Symbol.map#18 edit
.. //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum.h#7 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/lib/libc/gen/Makefile.inc#16 (text+ko) ====

@@ -20,7 +20,7 @@
 	getpeereid.c getprogname.c getpwent.c getttyent.c \
 	getusershell.c getvfsbyname.c glob.c \
 	initgroups.c isatty.c isinf.c isnan.c jrand48.c lcong48.c \
-	ld_libcache.c ld_sandbox.c \
+	ld_libcache.c ld_libdirs.c ld_sandbox.c \
 	lockf.c lrand48.c mrand48.c nftw.c nice.c \
 	nlist.c nrand48.c opendir.c \
 	pause.c pmadvise.c popen.c posix_spawn.c \

==== //depot/projects/trustedbsd/capabilities/src/lib/libc/gen/Symbol.map#18 (text) ====

@@ -373,6 +373,7 @@
 	ld_libcache_add;
 	ld_libcache_lookup;
 	ld_insandbox;
+	ld_libdirs;
 };
 
 FBSDprivate_1.0 {

==== //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum.h#7 (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/libcapsicum/libcapsicum.h#6 $
+ * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum.h#7 $
  */
 
 #ifndef _LIBCAPABILITY_H_
@@ -224,6 +224,9 @@
 int	ld_libcache_lookup(const char *libname, int *fdp);
 int	ld_insandbox(void);
 
+/* If this call is successful, the caller is responsible for freeing 'fds'. */
+int	ld_libdirs(int **fds);
+
 /*
  * Applications may declare an alternative entry point to the default ELF
  * entry point for their binary, which will be used in preference to 'main'


More information about the p4-projects mailing list