PERFORCE change 164535 for review
Robert Watson
rwatson at FreeBSD.org
Tue Jun 16 21:43:38 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=164535
Change 164535 by rwatson at 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;
More information about the p4-projects
mailing list