[apparmor] [PATCH] remove pcre support
Steve Beattie
steve at nxnw.org
Sat Jul 31 18:36:09 BST 2010
On Fri, Jul 30, 2010 at 09:56:43PM -0700, John Johansen wrote:
> This patch drops the PCRE regex engine and all support for it. The only code
> referencing pcre is now in the aare to pcre conversion routine which will
> disappear soon.
> === modified file 'parser/parser_regex.c'
> --- parser/parser_regex.c 2010-07-23 11:29:35 +0000
> +++ parser/parser_regex.c 2010-07-31 04:46:51 +0000
> @@ -777,7 +683,7 @@
>
> test_string = strdup("///foo//////f//oo////////////////");
> filter_slashes(test_string);
> - MY_TEST(strcmp(test_string, "/foo/f/oo") == 0, "simple tests");
> + MY_TEST(strcmp(test_string, "/foo/f/oo/") == 0, "simple tests");
>
> test_string = strdup("/foo/f/oo");
> filter_slashes(test_string);
> @@ -809,13 +715,11 @@
>
> test_string = strdup("/a/");
> filter_slashes(test_string);
> - MY_TEST(strcmp(test_string, "/a") == 0, "simple test for /a/");
> + MY_TEST(strcmp(test_string, "/a/") == 0, "simple test for /a/");
>
> return rc;
> }
ACK from me, though the above two changes seem to be unrelated.
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/apparmor/attachments/20100731/bede1ef1/attachment.pgp
More information about the AppArmor
mailing list