Re: Reference policy: fc_sort bug (or feature?)

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

 



On Wed, 2008-12-31 at 11:05 +0900, Tim wrote:
> While crafting reference policy to adjust it to my needs, I've
> discovered a bug (or feature?) in fc_sort executable used to sort file
> with files contexts.
> 
> Discovered behaviour (refpolicy 20080702):
> 1) If input file to fc_sort contains no files contexts definitions,
> e.g. only comments starting with #, the fc_sort terminates with
> Segmentation fault, core is dumped.
> 2) If input file to fc_sort contains only one files context
> definition, the fc_sort terminates with Segmentation fault, core is
> dumped.
> 3) fc_sort is working file if input file contains at least two files
> contexts definitions.
> 
> Is there any patch available to fix that bug (or feature)?

A segfault certainly isn't a feature.  There currently isn't a fix for
that yet, but more importantly why would you have so few or no file
contexts (not that the segfault shouldn't be fixed)?

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


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