From owner-trustedbsd-cvs@FreeBSD.ORG Mon Jan 22 20:19:02 2007 Return-Path: X-Original-To: trustedbsd-cvs@freebsd.org Delivered-To: trustedbsd-cvs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05E0116A469 for ; Mon, 22 Jan 2007 20:19:02 +0000 (UTC) (envelope-from owner-perforce@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8CAD013C50C for ; Mon, 22 Jan 2007 20:18:55 +0000 (UTC) (envelope-from owner-perforce@freebsd.org) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by cyrus.watson.org (Postfix) with ESMTP id 02EF048A59 for ; Mon, 22 Jan 2007 15:18:48 -0500 (EST) Received: from hub.freebsd.org (hub.freebsd.org [69.147.83.54]) by mx2.freebsd.org (Postfix) with ESMTP id 13652CF700; Mon, 22 Jan 2007 20:16:40 +0000 (GMT) (envelope-from owner-perforce@freebsd.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B147A16A410; Mon, 22 Jan 2007 20:16:39 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62E8016A401 for ; Mon, 22 Jan 2007 20:16:39 +0000 (UTC) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 53F2C13C44C for ; Mon, 22 Jan 2007 20:16:39 +0000 (UTC) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0MKGdM7092172 for ; Mon, 22 Jan 2007 20:16:39 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0MKGdwb092169 for perforce@freebsd.org; Mon, 22 Jan 2007 20:16:39 GMT (envelope-from millert@freebsd.org) Date: Mon, 22 Jan 2007 20:16:39 GMT Message-Id: <200701222016.l0MKGdwb092169@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to millert@freebsd.org using -f From: Todd Miller To: Perforce Change Reviews Cc: Subject: PERFORCE change 113423 for review X-BeenThere: trustedbsd-cvs@FreeBSD.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: TrustedBSD CVS and Perforce commit message list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 20:19:02 -0000 http://perforce.freebsd.org/chv.cgi?CH=113423 Change 113423 by millert@millert_macbook on 2007/01/22 20:16:15 loginwindow needs access to sbin and /dev/urandom. Affected files ... .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/loginwindow.te#15 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/darwin/loginwindow.te#15 (text+ko) ==== @@ -44,10 +44,13 @@ allow loginwindow_t nfs_t:lnk_file { getattr read }; allow loginwindow_t usr_t:file { getattr read }; allow loginwindow_t volfs_t:dir search; +allow loginwindow_t random_device_t:chr_file read; # There has to be a "proper" interface for this. Fix this when we find it allow loginwindow_t bin_t:dir { search read getattr }; allow loginwindow_t bin_t:file { getattr execute execute_no_trans read }; +allow loginwindow_t sbin_t:dir { search read getattr }; +allow loginwindow_t sbin_t:file { getattr execute execute_no_trans read }; allow loginwindow_t automount_t:dir search; allow loginwindow_t darwin_services_t:dir { read search getattr };