Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 21:43:36 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 164535 for review
Message-ID:  <200906162143.n5GLha0w025173@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=164535

Change 164535 by rwatson@rwatson_freebsd_capabilities on 2009/06/16 21:42:51

	Implement ld_insandbox() which always returns false in libc, but
	as a weak symbol that rtld-elf-cap will override.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/lib/libc/gen/Makefile.inc#9 edit
.. //depot/projects/trustedbsd/capabilities/src/lib/libc/gen/Symbol.map#9 edit
.. //depot/projects/trustedbsd/capabilities/src/lib/libc/gen/ld_sandbox.c#1 add

Differences ...

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

@@ -19,7 +19,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_caplibindex.c \
+	ld_caplibindex.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 pselect.c \

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

@@ -343,6 +343,7 @@
 	fts_set;
 	fts_set_clientptr;
 	ld_caplibindex_lookup;
+	ld_insandbox;
 	posix_spawn;
 	posix_spawn_file_actions_addclose;
 	posix_spawn_file_actions_adddup2;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906162143.n5GLha0w025173>