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: Pádraig Brady
Subject: Re: [PATCH] chcon: do not validte security context if SElinux is disabled
Date: Mon, 2 Dec 2019 13:18:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Thunderbird/70.0

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


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

cheers,
Pádraig




reply via email to

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