From d6717e2cffaad40c99338d74680b21f993fbee32 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Tue, 15 Jan 2013 12:46:10 -0500 Subject: [PATCH] Update Translations - Fix handling of semanage generate --cgi -n MODULE PATHTO/CGI - This fixes the spec file and script file getting wrong names for modules and types. --- policycoreutils-rhat.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index 0874e5b..e68b20f 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -339056,7 +339056,7 @@ index 0000000..d59452a + diff --git a/policycoreutils/sepolicy/search.c b/policycoreutils/sepolicy/search.c new file mode 100644 -index 0000000..a87e215 +index 0000000..4693bb4 --- /dev/null +++ b/policycoreutils/sepolicy/search.c @@ -0,0 +1,1030 @@ @@ -339427,7 +339427,7 @@ index 0000000..a87e215 + return NULL; +} + -+static PyObject* get_te_results(const apol_policy_t * policy, const options_t * opt, const apol_vector_t * v, PyObject *output) ++static PyObject* get_te_results(const apol_policy_t * policy, const apol_vector_t * v, PyObject *output) +{ + int error = 0; + int rt = 0; @@ -340013,7 +340013,7 @@ index 0000000..a87e215 + goto cleanup; + } + if (v) { -+ get_te_results(policy, &cmd_opts, v, output); ++ get_te_results(policy, v, output); + } + + if (cmd_opts.all || cmd_opts.type) {