42770658f7b8139c610e9f7c90005d62f7e40e09 |
|
08-May-2015 |
James Carter <jwcart2@tycho.nsa.gov> |
Replace fmemopen() with internal function in libsepol. Created a new function, get_line(), to replace the use of fmemopen() and getline() in module_to_cil.c since fmemopen() is not available on Darwin. (cherry picked from commit 8ebb97d0be79f8bdb6765fa26505140d081d1c50) Change-Id: I8d28811dd7fb9e255ab354f5eff136d857b5bde8 Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
/external/selinux/libsepol/src/module_to_cil.c
|
4514332550765aecd7e78964173142a31e92a540 |
|
01-Apr-2015 |
James Carter <jwcart2@tycho.nsa.gov> |
libsepol: add function to generate CIL from a module policydb Add a new function, sepol_module_policydb_to_cil, that generates CIL from a module (not kernel) policydb. Refactor sepol_module_package_to_cil() to use the new function. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
/external/selinux/libsepol/src/module_to_cil.c
|
758a7fe501586f0f952f6790304ac0f343a64518 |
|
01-Apr-2015 |
James Carter <jwcart2@tycho.nsa.gov> |
libsepol, policycoreutils: Move functions to convert a module package to CIL Move code to convert a policy module to CIL from the policy package to CIL conversion tool, pp, in policycoreutils to libsepol. The only changes to the code are the additions of the prefix "sepol_" to the functions sepol_module_package_to_cil() and sepol_ppfile_to_module_package(). This code is being changed from GPL to LGPL with permission from Tresys. Convert pp to use the renamed functions in libsepol. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
/external/selinux/libsepol/src/module_to_cil.c
|