From owner-p4-projects@FreeBSD.ORG  Mon Jan 22 20:07:22 2007
Return-Path: <owner-p4-projects@FreeBSD.ORG>
X-Original-To: p4-projects@freebsd.org
Delivered-To: p4-projects@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 1135716A408; Mon, 22 Jan 2007 20:07:22 +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 A67E016A407
	for <perforce@freebsd.org>; Mon, 22 Jan 2007 20:07:21 +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 9752613C4C8
	for <perforce@freebsd.org>; Mon, 22 Jan 2007 20:07:21 +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 l0MK7L4V090021
	for <perforce@freebsd.org>; Mon, 22 Jan 2007 20:07:21 GMT
	(envelope-from millert@freebsd.org)
Received: (from perforce@localhost)
	by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0MK7L39090018
	for perforce@freebsd.org; Mon, 22 Jan 2007 20:07:21 GMT
	(envelope-from millert@freebsd.org)
Date: Mon, 22 Jan 2007 20:07:21 GMT
Message-Id: <200701222007.l0MK7L39090018@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: perforce set sender to
	millert@freebsd.org using -f
From: Todd Miller <millert@FreeBSD.org>
To: Perforce Change Reviews <perforce@freebsd.org>
Cc: 
Subject: PERFORCE change 113412 for review
X-BeenThere: p4-projects@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: p4 projects tree changes <p4-projects.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/p4-projects>,
	<mailto:p4-projects-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/p4-projects>
List-Post: <mailto:p4-projects@freebsd.org>
List-Help: <mailto:p4-projects-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/p4-projects>,
	<mailto:p4-projects-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jan 2007 20:07:22 -0000

http://perforce.freebsd.org/chv.cgi?CH=113412

Change 113412 by millert@millert_macbook on 2007/01/22 20:06:27

	Deal with unconfined_t.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/darwin.te#6 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/policy/modules/system/darwin.te#6 (text+ko) ====

@@ -25,3 +25,27 @@
 fs_associate(darwin_keychain_t)
 fs_associate(darwin_global_pref_t)
 fs_associate(darwin_private_t)
+
+# Temporary rules for unconfined_t
+mach_allow_message(unconfined_t, unconfined_t)
+mach_allow_message(unconfined_t, kernel_t)
+mach_allow_message(unconfined_t, init_t)
+mach_allow_message(unconfined_t, securityd_t)
+
+allow unconfined_t init_t:mi_bootstrap { bootstrap_look_up bootstrap_subset };
+allow unconfined_t init_t:mi_notify_ipc { notify_server_register_check notify_server_get_state notify_server_register_plain };
+allow unconfined_t { darwin_system_t framework_t darwin_private_t darwin_CoreServices_t darwin_global_pref_t darwin_system_t darwin_host_pref_t var_vm_t }:dir { search getattr };
+allow unconfined_t { darwin_CoreServices_t darwin_global_pref_t darwin_host_pref_t }:file read;
+allow unconfined_t framework_t:{file dir lnk_file} read;
+allow unconfined_t framework_t:file getattr;
+
+# Allow communication with unconfined
+mach_allow_ipc(configd_t, unconfined_t)
+mach_allow_ipc(coreservicesd_t, unconfined_t)
+mach_allow_ipc(diskarbitrationd_t, unconfined_t)
+mach_allow_ipc(init_t, unconfined_t)
+mach_allow_ipc(kextd_t, unconfined_t)
+mach_allow_ipc(loginwindow_t, unconfined_t)
+mach_allow_ipc(memberd_t, unconfined_t)
+mach_allow_ipc(notifyd_t, unconfined_t)
+mach_allow_ipc(securityd_t, unconfined_t)