Date: Tue, 16 Jun 2009 16:55:40 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 164517 for review Message-ID: <200906161655.n5GGtehK020778@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=164517 Change 164517 by rwatson@rwatson_freebsd_capabilities on 2009/06/16 16:55:26 When running in rtld-elf-cap, define ld_insandbox(), which returns 1. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#17 edit .. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/rtld_sandbox.c#1 add .. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf/rtld.c#18 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#17 (text+ko) ==== @@ -1,5 +1,5 @@ # $FreeBSD$ -# $P4: //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#16 $ +# $P4: //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#17 $ WITHOUT_SSP= @@ -9,7 +9,7 @@ SRCS= rtld_start.S \ reloc.c rtld.c rtld_lock.c map_object.c \ malloc.c xmalloc.c debug.c \ - crtbrand.c rtld_caplibindex.c + crtbrand.c rtld_caplibindex.c rtld_sandbox.c MAN= rtld-elf-cap.1 CSTD?= gnu99 CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD -DIN_RTLD_CAP -g ==== //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf/rtld.c#18 (text+ko) ==== @@ -61,6 +61,7 @@ #ifdef IN_RTLD_CAP #include "rtld_caplibindex.h" +#include "rtld_sandbox.h" #endif #ifndef COMPAT_32BIT @@ -244,6 +245,7 @@ (func_ptr_type) &_rtld_atfork_post, #ifdef IN_RTLD_CAP (func_ptr_type) &ld_caplibindex_lookup, + (func_ptr_type) &ld_insandbox, #endif NULL };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906161655.n5GGtehK020778>