coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] chcon: do not validte security context if SElinux is disable


From: Kamil Dudka
Subject: Re: [PATCH] chcon: do not validte security context if SElinux is disabled
Date: Mon, 02 Dec 2019 14:32:53 +0100

On Monday, December 2, 2019 2:18:39 PM CET Pádraig Brady wrote:
> On 02/12/2019 13:02, Kamil Dudka wrote:
> > * src/chcon.c (main): Skip call of security_check_context()
> > in case SELinux is disabled to avoid unnecessary failure.
> > 
> > Bug: https://bugzilla.redhat.com/1777831
> 
> Cool I'll apply that with the following changes:
> s/validte/validate/ in commit summary

Oops, I forgot to use spell checker.  There was also SElinux instead
of SELinux in the subject.

> > +      if (is_selinux_enabled()
> 
>    +      if (0 < is_selinux_enabled()

Yes, thanks for the fixes!

Kamil

> cheers,
> Pádraig





reply via email to

[Prev in Thread] Current Thread [Next in Thread]