android_system_sepolicy/tools/fc_sort
Rahul Chaudhry 66dd3ca6ce fc_sort: cleanup warnings caught by clang tidy / static analyzer.
Value stored to 'i' is never read.
Variable 'j' is never used.

Bug: 26936282
Test: WITH_TIDY=1 WITH_STATIC_ANALYZER=1 mm
Change-Id: I8dd266e639d089efd1fb1e1e0fca3899cf2a1553
2016-10-12 12:19:48 -07:00
..
Android.mk fc_sort: initial commit 2016-01-14 17:39:07 -08:00
fc_sort.c fc_sort: cleanup warnings caught by clang tidy / static analyzer. 2016-10-12 12:19:48 -07:00
MODULE_LICENSE_GPL fc_sort: initial commit 2016-01-14 17:39:07 -08:00
NOTICE fc_sort: add NOTICE file 2016-01-14 10:45:45 -08:00
README fc_sort: initial commit 2016-01-14 17:39:07 -08:00

fc_sort is a tool used for sorting the file_contexts entries based on a heuristic that is
 covered by a Fedora document. That document can be found here:
 * https://fedoraproject.org/wiki/SELinux/ManagingFileContext

The tool itself originates from:
 * https://github.com/TresysTechnology/refpolicy

It can be updated to the current tip of master branch with the below command:
$ wget https://raw.githubusercontent.com/TresysTechnology/refpolicy/master/support/fc_sort.c