platform_external_selinux/libselinux
Richard Haines f309a0e88c libselinux: Fix binary file labels for regexes with metachars
File labels assigned using the lookup_best_match() function do not
assign the best match if its regex contains metacharacters in the
binary file_contexts file version.

This change adds a new entry in the binary file with the calculated
prefix length that is then read when processing the file. This fix
also bumps SELINUX_COMPILED_FCONTEXT_MAX_VERS.

This patch relies on patch [1] that fixes the same problem
for text based file_contexts files.

[1] http://marc.info/?l=selinux&m=143576498713964&w=2

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
2015-07-06 11:09:12 -04:00
..
include libselinux: add selinux_openssh_contexts_path() 2015-05-21 13:11:36 -04:00
man libselinux: Enhance file context support 2015-06-16 12:30:08 -04:00
src libselinux: Fix binary file labels for regexes with metachars 2015-07-06 11:09:12 -04:00
utils libselinux: Fix binary file labels for regexes with metachars 2015-07-06 11:09:12 -04:00
ChangeLog Update libselinux ChangeLog. 2015-07-06 10:59:01 -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 Bump to final release 2015-02-02 09:38:10 -05:00