platform_external_selinux/libselinux
William Roberts 5e15a52aaa libselinux: clean up process file
The current process_file() code will open the file
twice on the case of a binary file, correct this.

The general flow through process_file() was a bit
difficult to read, streamline the routine to be
more readable.

Detailed statistics of before and after:

Source lines of code reported by cloc on modified files:
before: 735
after: 742

Object size difference:
before: 195530 bytes
after:  195485 bytes

Signed-off-by: William Roberts <william.c.roberts@intel.com>
2016-09-09 14:08:55 -04:00
..
include libselinux: Add setfiles support to selinux_restorecon(3) 2016-08-11 14:33:55 -04:00
man libselinux: Add setfiles support to selinux_restorecon(3) 2016-08-11 14:33:55 -04:00
src libselinux: clean up process file 2016-09-09 14:08:55 -04:00
utils libselinux, sefcontext_compile: handle NULL pcre study data 2016-08-17 15:05:48 -04:00
ChangeLog Updated libselinux ChangeLog 2016-08-17 15:17:10 -04:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: Refactor rpm_execcon() into a new setexecfilecon() 2014-01-06 14:06:03 -05:00
VERSION Update ChangeLog and VERSION for final release 2016-02-23 11:31:41 -05:00