Received: from jazzdrum.ncsc.mil (zombie.ncsc.mil [144.51.88.131]) by tycho.ncsc.mil (8.12.8/8.12.8) with ESMTP id jB9EqtMA019894 for ; Fri, 9 Dec 2005 09:52:55 -0500 (EST) Received: from gotham.columbia.tresys.com (jazzdrum.ncsc.mil [144.51.5.7]) by jazzdrum.ncsc.mil (8.12.10/8.12.10) with ESMTP id jB9Ejjur027877 for ; Fri, 9 Dec 2005 14:45:45 GMT Subject: Re: Latest Ref Policy Diffs From: "Christopher J. PeBenito" To: Daniel J Walsh Cc: SE Linux In-Reply-To: <43999777.1020509@redhat.com> References: <4398A239.1080005@redhat.com> <1134138108.8185.39.camel@sgc> <43999777.1020509@redhat.com> Content-Type: text/plain Date: Fri, 09 Dec 2005 09:47:56 -0500 Message-Id: <1134139676.8185.40.camel@sgc> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Fri, 2005-12-09 at 09:40 -0500, Daniel J Walsh wrote: > Christopher J. PeBenito wrote: > > On Thu, 2005-12-08 at 16:14 -0500, Daniel J Walsh wrote: > > > >> Major change in targeted policy is about to hit. Basically we are going > >> to turn off allow_execmod, allow_execmem, and allow_execstack by default > >> for unconfined_t programs. > >> > > I just have a question about this hunk: > > > >> @@ -79,6 +75,8 @@ > >> > >> ifdef(`targeted_policy',` > >> unconfined_domain_template(xdm_t) > >> + allow xdm_t self:process execmem; > >> + unconfined_domtrans(xdm_t) > >> ',` > >> allow xdm_t xdm_lock_t:file create_file_perms; > >> files_create_lock(xdm_t,xdm_lock_t) > >> > > > > Shouldn't the execmem be outside of the ifdef, since if it needs this, > > it will need it regardless of the policy type? > > > I think in a strict policy machine, the xserver will need this not xdm? > > Since we are not using xserver policy, The xserver is running as xdm. Ok, that makes sense. -- Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- 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.