From owner-p4-projects Mon Jan 6 13: 4:11 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C767A37B405; Mon, 6 Jan 2003 13:04:09 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6079537B401 for ; Mon, 6 Jan 2003 13:04:09 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1649443EC2 for ; Mon, 6 Jan 2003 13:04:09 -0800 (PST) (envelope-from green@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h06L48fh012266 for ; Mon, 6 Jan 2003 13:04:08 -0800 (PST) (envelope-from green@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h06L48xw012263 for perforce@freebsd.org; Mon, 6 Jan 2003 13:04:08 -0800 (PST) Date: Mon, 6 Jan 2003 13:04:08 -0800 (PST) Message-Id: <200301062104.h06L48xw012263@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to green@freebsd.org using -f From: Brian Feldman Subject: PERFORCE change 23306 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=23306 Change 23306 by green@green_laptop_2 on 2003/01/06 13:03:34 Make execution of all the mount_.* programs work properly by applying the same sebsd/system_u:object_r:mount_exec_t to all of them and allowing mount_t's to execute eachother. Affected files ... .. //depot/projects/trustedbsd/mac/contrib/sebsd/policy/domains/program/mount.te#2 edit .. //depot/projects/trustedbsd/mac/contrib/sebsd/policy/file_contexts/program/mount.fc#3 edit Differences ... ==== //depot/projects/trustedbsd/mac/contrib/sebsd/policy/domains/program/mount.te#2 (text+ko) ==== @@ -57,4 +57,5 @@ `can_udp_send(mount_t, portmap_t) can_udp_send(portmap_t, mount_t)') - +# Access sub-mount(8) commands +allow mount_t mount_exec_t:file { execute_no_trans }; ==== //depot/projects/trustedbsd/mac/contrib/sebsd/policy/file_contexts/program/mount.fc#3 (text+ko) ==== @@ -1,3 +1,3 @@ # mount -/sbin/mount* system_u:object_r:mount_exec_t +/sbin/mount(_.*)? system_u:object_r:mount_exec_t /sbin/umount system_u:object_r:mount_exec_t To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message