From owner-p4-projects@FreeBSD.ORG Wed Jan 21 14:59:57 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EC2A510656BA; Wed, 21 Jan 2009 14:59:56 +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 9CBA81065689 for ; Wed, 21 Jan 2009 14:59:56 +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 891058FC18 for ; Wed, 21 Jan 2009 14:59:56 +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 n0LExuoG014093 for ; Wed, 21 Jan 2009 14:59:56 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 n0LExu6F014091 for perforce@freebsd.org; Wed, 21 Jan 2009 14:59:56 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Wed, 21 Jan 2009 14:59:56 GMT Message-Id: <200901211459.n0LExu6F014091@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 156469 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: Wed, 21 Jan 2009 14:59:59 -0000 http://perforce.freebsd.org/chv.cgi?CH=156469 Change 156469 by rwatson@rwatson_freebsd_capabilities on 2009/01/21 14:59:39 Update TODO -- a few things done, a few more things to do. Affected files ... .. //depot/projects/trustedbsd/capabilities/TODO#10 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/TODO#10 (text+ko) ==== @@ -13,11 +13,11 @@ user databases, libraries, etc, with a POSIX interface within the capability mode process. -- Implement scoping for pid-based system calls, tracking a new "inheritence" - relationship to authorize such calls. Unclear what the most efficient way - to do this is, but it only matters for processes actually in capability - mode so won't affect general performance, just capability mode performance - until optimizations are found. +- Get shared objects working in capability mode by creating a cap_ld-elf.so + that will take the binary to run as a file descriptor argument in order + to avoid needing to run the interpreter directly from the fexecve(2) + context. Consider carefully the implications on creating binaries, ELF, + etc. - ... bigger and better things ... @@ -45,7 +45,3 @@ maxprot. - MAC control of capability facility. - -- fxecve(2) may allow eluding capability mode control due to evaluating - script interpreter entries on script file descriptors; when in capability - mode we must disallow script behavior.