Re: [selinux-testsuite][PATCH] use auth_read_passwd only if defined

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

 



On Fri, 2012-10-05 at 14:27 +0000, Serge E. Hallyn wrote:
> Quoting Jan Stancek (jstancek@xxxxxxxxxx):
> > This interface doesn't exist on older distros, for example RHEL6.
> 
> Thanks, applied.
> 
> > Signed-off-by: Jan Stancek <jstancek@xxxxxxxxxx>
> > ---
> >  policy/test_global.te |    4 +++-
> >  1 files changed, 3 insertions(+), 1 deletions(-)
> > 
> > diff --git a/policy/test_global.te b/policy/test_global.te
> > index b92cc1c..3891f6e 100644
> > --- a/policy/test_global.te
> > +++ b/policy/test_global.te
> > @@ -90,5 +90,7 @@ selinux_compute_relabel_context(testdomain)
> >  selinux_compute_user_contexts(testdomain)
> >  
> >  ifdef(`distro_redhat', `
> > -auth_read_passwd(testdomain)
> > +    ifdef(`auth_read_passwd', `
> > +        auth_read_passwd(testdomain)
> > +    ')
> >  ')

In that case, should we just dispense with the ifdef(`distro_redhat')
altogether?  Then it will get enabled for any distro with a policy that
defines that interface.

-- 
Stephen Smalley
National Security Agency


--
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