Re: [selinux-testsuite RFC PATCH 1/4] test_policy: test_global.te fix for Fedora Rawhide (Sept 24th, 2013)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, September 24, 2013 04:49:25 PM Serge E. Hallyn wrote:
> Quoting Paul Moore (pmoore@xxxxxxxxxx):
> > Signed-off-by: Paul Moore <pmoore@xxxxxxxxxx>
> 
> 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 <serge.hallyn@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux