Received: from goalie.tycho.ncsc.mil (goalie [144.51.31.250]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id r8OJdDQi007404 for ; Tue, 24 Sep 2013 15:39:13 -0400 From: Paul Moore To: "Serge E. Hallyn" Cc: selinux@tycho.nsa.gov Subject: Re: [selinux-testsuite RFC PATCH 1/4] test_policy: test_global.te fix for Fedora Rawhide (Sept 24th, 2013) Date: Tue, 24 Sep 2013 15:39:03 -0400 Message-ID: <5683488.YDqq1IeJBx@sifl> In-Reply-To: <20130924164925.GA8126@mail.hallyn.com> References: <20130924162401.27393.70353.stgit@localhost> <20130924163321.27393.64105.stgit@localhost> <20130924164925.GA8126@mail.hallyn.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Tuesday, September 24, 2013 04:49:25 PM Serge E. Hallyn wrote: > Quoting Paul Moore (pmoore@redhat.com): > > Signed-off-by: Paul Moore > > Thanks, Paul! This break had been reported to me and I got as far > as tracking it to its cause, but I hadn't yet figured out what to > replace it by. No problem. > I assume you're saying it's not strictly necessary :) All the better. Well, I guess what I'm trying to say is that I'm not sure if this is the right fix, but it does at least resolve the build problems I'm seeing. I have yet to check to see if it works correctly. > Acked-by: Serge Hallyn Ack? I thought you were the one maintaining the test suite? > > --- > > > > policy/test_global.te | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/policy/test_global.te b/policy/test_global.te > > index 3891f6e..49c85b1 100644 > > --- a/policy/test_global.te > > +++ b/policy/test_global.te > > @@ -5,6 +5,7 @@ policy_module(test_policy,1.0.0) > > > > # > > # Declarations > > # > > > > + > > > > attribute testdomain; > > > > gen_require(` > > > > @@ -34,8 +35,8 @@ miscfiles_read_test_files(testdomain) > > > > # Let the test domains set their current, exec and fscreate contexts. > > allow testdomain self:process setcurrent; > > > > -# domain_dyntrans_type(testdomain) > > -selinux_get_fs_mount(testdomain) > > +#domain_dyntrans_type(testdomain) > > +#selinux_get_fs_mount(testdomain) > > > > allow testdomain self:process setexec; > > allow testdomain self:process setfscreate; -- paul moore security and virtualization @ redhat -- 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.