[PATCH] Check SELinux state from /selinux/enforce instead of /usr/sbin/getenforce.

Ville Skyttä ville.skytta at iki.fi
Mon Apr 26 16:02:02 UTC 2010


On Monday 26 April 2010, Jesse Keating wrote:
> On Sun, 2010-04-25 at 22:06 +0300, Ville Skyttä wrote:
> > Any objections to the attached mock patch?
> 
> I welcome the bugfix, but that return statement is a little awkward from
> a pythonic view point.  I would have trouble figuring out wtf it was
> trying to do if I ran into this code without the context you gave it
> above.

Ok, do you find the attached revised version clearer?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-SELinux-state-from-selinux-enforce-instead-of-.patch
Type: text/x-patch
Size: 1300 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20100426/47475794/attachment.bin 


More information about the buildsys mailing list