From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with SMTP id l26FEegY001167 for ; Tue, 6 Mar 2007 10:14:40 -0500 Received: from mx1.redhat.com (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with ESMTP id l26FG6F8000024 for ; Tue, 6 Mar 2007 15:16:07 GMT Message-ID: <45ED83E9.3000206@redhat.com> Date: Tue, 06 Mar 2007 10:08:25 -0500 From: Daniel J Walsh MIME-Version: 1.0 To: "Christopher J. PeBenito" CC: selinux@tycho.nsa.gov Subject: Re: dev_delete to be used by lvm tools References: <200702261953.l1QJrc8v031897@localhost.localdomain> <1173190645.15853.5.camel@sgc> In-Reply-To: <1173190645.15853.5.camel@sgc> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Christopher J. PeBenito wrote: > On Mon, 2007-02-26 at 14:53 -0500, dwalsh@localhost.localdomain wrote: > > dev_delete_generic_dirs() already exists. > > >> ===File /tmp/patches/nsaserefpolicy_policy_modules_kernel_devices.if=== >> --- nsaserefpolicy/policy/modules/kernel/devices.if 2007-01-02 12:57:13.000000000 -0500 >> +++ serefpolicy-2.5.5/policy/modules/kernel/devices.if 2007-02-26 11:04:23.000000000 -0500 >> @@ -3173,3 +3173,21 @@ >> >> typeattribute $1 devices_unconfined_type; >> ') >> + >> +######################################## >> +## >> +## delete entries from directories in /dev. >> +## >> +## >> +## >> +## Domain allowed to delete entries. >> +## >> +## >> +# >> +interface(`dev_delete',` >> + gen_require(` >> + type device_t; >> + ') >> + >> + allow $1 device_t:dir delete_dir_perms; >> +') >> ============================================================ >> Ok, I will adjust. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.