From owner-p4-projects@FreeBSD.ORG Tue Jun 16 21:43:37 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C0D621065673; Tue, 16 Jun 2009 21:43:36 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8129E106566B for ; Tue, 16 Jun 2009 21:43:36 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6DFAF8FC13 for ; Tue, 16 Jun 2009 21:43:36 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5GLhaOS025175 for ; Tue, 16 Jun 2009 21:43:36 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5GLha0w025173 for perforce@freebsd.org; Tue, 16 Jun 2009 21:43:36 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 16 Jun 2009 21:43:36 GMT Message-Id: <200906162143.n5GLha0w025173@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 164535 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 21:43:38 -0000 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;