selinux/libselinux
Janis Danisevskis 3b68c6f9e9 libselinux: Add architecture string to file_context.bin
Serialized precompiled regular expressins are architecture
dependent when using PCRE2. This patch
- bumps the SELINUX_COMPILED_FCONTEXT version to 5 and
- adds a field to the output indicating the architecture
  compatibility.

libselinux can cope with an architecture mismatch by
ignoring the precompiled data in the input file and recompiling
the regular expressions at runtime. It can also load older
versions of file_contexts.bin if they where built with
sefcontext_compile using the exact same version of the
pcre1/2 as selinux.

Signed-off-by: Janis Danisevskis <jdanis@android.com>
2016-09-28 07:51:58 -04:00
..
include libselinux: Add function to find security.restorecon_last entries 2016-09-26 14:05:54 -04:00
man libselinux: Add function to find security.restorecon_last entries 2016-09-26 14:05:54 -04:00
src libselinux: Add architecture string to file_context.bin 2016-09-28 07:51:58 -04:00
utils libselinux: Add architecture string to file_context.bin 2016-09-28 07:51:58 -04:00
ChangeLog Updated libselinux ChangeLog 2016-09-26 15:41:13 -04:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: add support for pcre2 2016-09-15 13:49:14 -04:00
VERSION Update ChangeLog and VERSION for final release 2016-02-23 11:31:41 -05:00