Re: [PATCH] selinux-testsuite: Wrap auth_read_passwd with ifdef(`distro_redhat') .

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

 



Quoting Stephen Smalley (sds@xxxxxxxxxxxxx):
> 
> Wrap Fedora-specific policy with an ifdef.  Alternative would be to fork
> a copy of the test policy per distro under policy/<distro>/<release> as
> we have already done for redhat 4 and 5.
> But I'd prefer to only do that for long-term stable/enterprise releases
> that won't be changing very often.
> 
> ---
>  policy/test_global.te | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/policy/test_global.te b/policy/test_global.te
> index fdfd291..b92cc1c 100644
> --- a/policy/test_global.te
> +++ b/policy/test_global.te
> @@ -89,4 +89,6 @@ selinux_compute_create_context(testdomain)
>  selinux_compute_relabel_context(testdomain)
>  selinux_compute_user_contexts(testdomain)
>  
> +ifdef(`distro_redhat', `
>  auth_read_passwd(testdomain)
> +')
> -- 
> 1.7.11.4

Applied, thanks.

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