From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Subject: Regarding bug 435682 Date: Thu, 20 Oct 2011 18:48:51 +0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=20cf300255c40b1d4b04afbc0e38 Return-path: Received: from mx1.redhat.com (ext-mx13.extmail.prod.ext.phx2.redhat.com [10.5.110.18]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9KEmq0c020068 for ; Thu, 20 Oct 2011 10:48:52 -0400 Received: from mail-vx0-f174.google.com (mail-vx0-f174.google.com [209.85.220.174]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9KEmprU004144 for ; Thu, 20 Oct 2011 10:48:51 -0400 Received: by vcge1 with SMTP id e1so3485646vcg.33 for ; Thu, 20 Oct 2011 07:48:51 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com --20cf300255c40b1d4b04afbc0e38 Content-Type: multipart/alternative; boundary=20cf300255c40b1d4504afbc0e36 --20cf300255c40b1d4504afbc0e36 Content-Type: text/plain; charset=ISO-8859-1 Here's a patch for version 2.1.3 which solves bug 435682 ( https://bugzilla.redhat.com/show_bug.cgi?id=435682). Patched auditctl allows to specify files having spaces in ther names - just surround a filename with apostrophes. Hope this will help someone who encountered the same problem. And, maybe, the bug will be closed at last :) --20cf300255c40b1d4504afbc0e36 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Here's a patch for version 2.1.3 which solves bug 435682 (https://bugzilla.redhat= .com/show_bug.cgi?id=3D435682).
Patched auditctl allows to specify f= iles having spaces in ther names - just surround a filename with apostrophe= s.

Hope this will help someone who encountered the same problem. And, mayb= e, the bug will be closed at last :)
--20cf300255c40b1d4504afbc0e36-- --20cf300255c40b1d4b04afbc0e38 Content-Type: text/x-patch; charset=US-ASCII; name="audit-2.1.3.patch" Content-Disposition: attachment; filename="audit-2.1.3.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gtzv2xr30 ZGlmZiAtYXVyTiBhdWRpdC0yLjEuMy9zcmMvYXVkaXRjdGwuYyBhdWRpdC0yLjEuM19wYXRjaC8v c3JjL2F1ZGl0Y3RsLmMKLS0tIGF1ZGl0LTIuMS4zL3NyYy9hdWRpdGN0bC5jCTIwMTEtMDgtMTUg MjE6MzE6MDAuMDAwMDAwMDAwICswNDAwCisrKyBhdWRpdC0yLjEuM19wYXRjaC8vc3JjL2F1ZGl0 Y3RsLmMJMjAxMS0xMC0yMCAxODoxMDozMS4wMDAwMDAwMDAgKzA0MDAKQEAgLTkzOSw2ICs5Mzks NzAgQEAKIAlyZXR1cm4gTlVMTDsKIH0KIAorCit2b2lkIHByZXByb2Nlc3MoY2hhciAqYnVmKQor eworICAgIGNoYXIgcXVvdGVfY3R4ID0gMDsKKworICAgIHdoaWxlICgqYnVmKQorICAgIHsKKyAg ICAgICAgaWYgKCpidWYgPT0gJ1wnJykKKyAgICAgICAgICAgIHF1b3RlX2N0eCsrOworICAgICAg ICAKKyAgICAgICAgaWYgKCpidWYgPT0gJyAnICYmIChxdW90ZV9jdHggJiAxKSkKKyAgICAgICAg ICAgICpidWYgPSAweEZGOworICAgICAgICAKKyAgICAgICAgYnVmKys7CisgICAgfQorfQorCisK K3ZvaWQgcG9zdHByb2Nlc3ModW5zaWduZWQgY2hhciAqYnVmKQoreworICAgIHVuc2lnbmVkIGNo YXIgKnN0ciA9IHN0cmR1cChidWYpOworICAgIHVuc2lnbmVkIGNoYXIgKnBvczEgPSBzdHI7Cisg ICAgdW5zaWduZWQgY2hhciAqcG9zMiA9IGJ1ZjsKKyAgICBpbnQgaSA9IDA7CisgICAgCisgICAg aWYgKCFzdHIpCisgICAgICAgIHJldHVybjsKKyAgICAKKyAgICB3aGlsZSAoKnBvczEpCisgICAg eworICAgICAgICBpZiAoKnBvczEgPT0gJ1wnJykKKyAgICAgICAgICAgICpwb3MxID0gJyAnOwor ICAgIAorICAgICAgICBwb3MxKys7CisgICAgfQorICAgIAorICAgIHBvczEgPSBzdHI7CisgICAg cG9zMiA9IGJ1ZjsKKyAgICAKKyAgICB3aGlsZSAoKnBvczEpCisgICAgeworICAgICAgICBpZiAo KnBvczEgIT0gJyAnKQorICAgICAgICB7CisgICAgICAgICAgICAqcG9zMiA9ICpwb3MxOworICAg ICAgICAgICAgcG9zMisrOworICAgICAgICB9CisKKyAgICAgICAgcG9zMSsrOworICAgIH0KKyAg ICAKKyAgICAqcG9zMiA9IDA7CisgICAgCisgICAgd2hpbGUgKCpidWYpCisgICAgeworICAgICAg ICBpZiAoKmJ1ZiA9PSAweEZGKQorICAgICAgICAgICAgKmJ1ZiA9ICcgJzsKKyAgICAKKyAgICAg ICAgYnVmKys7CisgICAgfQorICAgIAorICAgIGZyZWUoc3RyKTsKK30KKworCiAvKgogICogVGhp cyBmdW5jdGlvbiByZWFkcyB0aGUgZ2l2ZW4gZmlsZSBsaW5lIGJ5IGxpbmUgYW5kIGV4ZWN1dGVz IHRoZSBydWxlLgogICogSXQgcmV0dXJucyAwIGlmIGV2ZXJ5dGhpbmcgd2VudCBPSywgMSBpZiB0 aGVyZSBhcmUgcHJvYmxlbXMgYmVmb3JlIHJlYWRpbmcKQEAgLTEwMDEsNiArMTA2NSw4IEBACiAJ CWNoYXIgKm9wdGlvbnNbTlVNX09QVElPTlNdOwogCQljaGFyICpwdHI7CiAJCWludCBpZHg9MDsK KwkJY2hhciBhcHN0ID0gMDsKKwkJY2hhciAqcG9zID0gMDsKIAogCQkvKiBXZWVkIG91dCBibGFu ayBsaW5lcyAqLwogCQl3aGlsZSAoYnVmW2lkeF0gPT0gJyAnKQpAQCAtMTAwOSw5ICsxMDc1LDEz IEBACiAJCQlsaW5lbm8rKzsKIAkJCWNvbnRpbnVlOwogCQl9CisJCQorCQlwcmVwcm9jZXNzKGJ1 Zik7CisJCQogCQlwdHIgPSBzdHJ0b2soYnVmLCAiICIpOwogCQlpZiAocHRyID09IE5VTEwpCiAJ CQlicmVhazsKKwkJCiAJCS8qIGFsbG93IGNvbW1lbnRzICovCiAJCWlmIChwdHJbMF0gPT0gJyMn KSB7CiAJCQlsaW5lbm8rKzsKQEAgLTEwMjEsOCArMTA5MSwxMCBAQAogCQlvcHRpb25zW2krK10g PSAiYXVkaXRjdGwiOwogCQlvcHRpb25zW2krK10gPSBwdHI7CiAJCXdoaWxlKCAocHRyPXN0cnRv ayhOVUxMLCAiICIpKSAmJiBpPE5VTV9PUFRJT05TLTEgKSB7CisJCSAgICAgICAgcG9zdHByb2Nl c3MocHRyKTsKIAkJCW9wdGlvbnNbaSsrXSA9IHB0cjsKIAkJfQorCQkKIAkJb3B0aW9uc1tpXSA9 IE5VTEw7CiAKIAkJLyogUGFyc2UgaXQgKi8KQEAgLTEwOTQsNiArMTE2Niw3IEBACiAJCQlmcmVl KHJ1bGVfbmV3KTsKIAkJCXJldHVybiAxOwogCQl9CisJCQogCQlyZXR2YWwgPSBzZXRvcHQoYXJn YywgMCwgYXJndik7CiAJCWlmIChyZXR2YWwgPT0gLTMpIHsKIAkJCWZyZWUocnVsZV9uZXcpOwo= --20cf300255c40b1d4b04afbc0e38 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --20cf300255c40b1d4b04afbc0e38-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miloslav Trmac Subject: Re: Regarding bug 435682 Date: Fri, 21 Oct 2011 08:49:30 -0400 (EDT) Message-ID: <6962cb6b-c2c2-406c-87c5-e7ed306dd840@zmail07.collab.prod.int.phx2.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx4-phx2.redhat.com (mx02.colomx.prod.int.phx2.redhat.com [10.5.7.2]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p9LCnUg1021224 for ; Fri, 21 Oct 2011 08:49:30 -0400 In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Alexander Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com > Here's a patch for version 2.1.3 which solves bug 435682 ( > https://bugzilla.redhat.com/show_bug.cgi?id=435682 ). > Patched auditctl allows to specify files having spaces in ther names > - just surround a filename with apostrophes. This patch also arbitrarily breaks handling of apostrophes and \xFF characters in filenames; it probably is a marginal improvement, but any change to the format should IMHO start with an explicit and consistent specification of how quoting is supposed to work in audit.rules, and then implementing exactly that. If we do have to change the file format to support spaces, let's do it, but let's also make sure that we don't need to change it again soon to fix different artifacts of the parser implementation. Mirek From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Regarding bug 435682 Date: Fri, 21 Oct 2011 08:58:24 -0400 Message-ID: <201110210858.24462.sgrubb@redhat.com> References: <6962cb6b-c2c2-406c-87c5-e7ed306dd840@zmail07.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6962cb6b-c2c2-406c-87c5-e7ed306dd840@zmail07.collab.prod.int.phx2.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: Miloslav Trmac , Alexander List-Id: linux-audit@redhat.com On Friday, October 21, 2011 08:49:30 AM Miloslav Trmac wrote: > > Here's a patch for version 2.1.3 which solves bug 435682 ( > > https://bugzilla.redhat.com/show_bug.cgi?id=435682 ). > > Patched auditctl allows to specify files having spaces in ther names > > - just surround a filename with apostrophes. > > This patch also arbitrarily breaks handling of apostrophes and \xFF > characters in filenames; it probably is a marginal improvement, but any > change to the format should IMHO start with an explicit and consistent > specification of how quoting is supposed to work in audit.rules, and then > implementing exactly that. > > If we do have to change the file format to support spaces, let's do it, but > let's also make sure that we don't need to change it again soon to fix > different artifacts of the parser implementation. Mirek I was thinking of using the same mechanism as shell escaping '\' since this is how bash would present the path to the user. -Steve From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Subject: Re: Regarding bug 435682 Date: Fri, 21 Oct 2011 17:03:49 +0400 Message-ID: References: <6962cb6b-c2c2-406c-87c5-e7ed306dd840@zmail07.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0786510628387957582==" Return-path: Received: from mx1.redhat.com (ext-mx13.extmail.prod.ext.phx2.redhat.com [10.5.110.18]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9LD3psT026514 for ; Fri, 21 Oct 2011 09:03:51 -0400 Received: from mail-vx0-f174.google.com (mail-vx0-f174.google.com [209.85.220.174]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9LD3oZu004672 for ; Fri, 21 Oct 2011 09:03:50 -0400 Received: by vcge1 with SMTP id e1so4596247vcg.33 for ; Fri, 21 Oct 2011 06:03:49 -0700 (PDT) In-Reply-To: <6962cb6b-c2c2-406c-87c5-e7ed306dd840@zmail07.collab.prod.int.phx2.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com --===============0786510628387957582== Content-Type: multipart/alternative; boundary=20cf307f34004c471704afceb437 --20cf307f34004c471704afceb437 Content-Type: text/plain; charset=ISO-8859-1 It definitely breaks handling of 0xFF and apostrophe, but in case of 3 year old feature request it's better than nothing :) Obviously, it's better to use something like escape sequences, but the patch was something like a proof-of-concept. 2011/10/21 Miloslav Trmac > > Here's a patch for version 2.1.3 which solves bug 435682 ( > > https://bugzilla.redhat.com/show_bug.cgi?id=435682 ). > > Patched auditctl allows to specify files having spaces in ther names > > - just surround a filename with apostrophes. > > This patch also arbitrarily breaks handling of apostrophes and \xFF > characters in filenames; it probably is a marginal improvement, but any > change to the format should IMHO start with an explicit and consistent > specification of how quoting is supposed to work in audit.rules, and then > implementing exactly that. > > If we do have to change the file format to support spaces, let's do it, but > let's also make sure that we don't need to change it again soon to fix > different artifacts of the parser implementation. > Mirek > --20cf307f34004c471704afceb437 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =A0=A0 It definitely breaks handling of 0xFF and apostrophe, but in case of= 3 year old feature request it's better than nothing :)
Obviously, = it's better to use something like escape sequences, but the patch was s= omething like a proof-of-concept.

2011/10/21 Miloslav Trmac = <mitr@redhat.com>
> Here's a patch for version 2.1.3 which solves bug 435682 (
> https://bugzilla.redhat.com/show_bug.cgi?id=3D435682 ). > Patched auditctl allows to specify files having spaces in ther names > - just surround a filename with apostrophes.

This patch also arbitrarily breaks handling of apostrophes and \xFF charact= ers in filenames; it probably is a marginal improvement, but any change to = the format should IMHO start with an explicit and consistent specification = of how quoting is supposed to work in audit.rules, and then implementing ex= actly that.

If we do have to change the file format to support spaces, let's do it,= but let's also make sure that we don't need to change it again soo= n to fix different artifacts of the parser implementation.
=A0 =A0Mirek

--20cf307f34004c471704afceb437-- --===============0786510628387957582== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0786510628387957582==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Subject: Regarding bug 435682 Date: Fri, 28 Oct 2011 17:56:48 +0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=90e6ba53a0c6a970a804b05c4242 Return-path: Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.16]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p9SDuoFI030233 for ; Fri, 28 Oct 2011 09:56:50 -0400 Received: from mail-vx0-f174.google.com (mail-vx0-f174.google.com [209.85.220.174]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9SDuneg022229 for ; Fri, 28 Oct 2011 09:56:49 -0400 Received: by vcge1 with SMTP id e1so4928747vcg.33 for ; Fri, 28 Oct 2011 06:56:48 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com --90e6ba53a0c6a970a804b05c4242 Content-Type: multipart/alternative; boundary=90e6ba53a0c6a970a104b05c4240 --90e6ba53a0c6a970a104b05c4240 Content-Type: text/plain; charset=ISO-8859-1 Here's another version of the patch for version 2.1.3 which solves bug 435682 (https://bugzilla.redhat.com/show_bug.cgi?id=435682). Seems to be slightly better than previous version, 'cause now it's using something like escape sequence to handle filenames with spaces. --90e6ba53a0c6a970a104b05c4240 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =A0 Here's another version of the patch for version 2.1.3 which solves = bug 435682 (https://bugzilla.redhat.com/show_bug.cgi?id=3D435682).
Seems to be slightly better than previous version, 'cause now it's = using something like escape sequence to handle filenames with spaces.
--90e6ba53a0c6a970a104b05c4240-- --90e6ba53a0c6a970a804b05c4242 Content-Type: application/octet-stream; name="auditctl.patch1" Content-Disposition: attachment; filename="auditctl.patch1" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gub8ty9h0 ZGlmZiAtYXVyTiBhdWRpdC0yLjEuMy9zcmMvYXVkaXRjdGwuYyBhdWRpdC0yLjEuM19wYXRjaC8v c3JjL2F1ZGl0Y3RsLmMKLS0tIGF1ZGl0LTIuMS4zL3NyYy9hdWRpdGN0bC5jCTIwMTEtMDgtMTUg MjE6MzE6MDAuMDAwMDAwMDAwICswNDAwCisrKyBhdWRpdC0yLjEuM19wYXRjaC8vc3JjL2F1ZGl0 Y3RsLmMJMjAxMS0xMC0yNCAxMToxNDowMi4wMDAwMDAwMDAgKzA0MDAKQEAgLTkzOSw2ICs5Mzks ODIgQEAKIAlyZXR1cm4gTlVMTDsKIH0KIAorCit2b2lkIHByZXByb2Nlc3MoY2hhciAqYnVmKQor eworICAgIGNoYXIgZXNjX2N0eCA9IDA7CisKKyAgICB3aGlsZSAoKmJ1ZikKKyAgICB7CisgICAg ICAgIGlmICgqYnVmID09ICdcXCcgJiYgIWVzY19jdHgpCisgICAgICAgIHsKKyAgICAgICAgICAg IGVzY19jdHgrKzsKKyAgICAgICAgfQorICAgICAgICBlbHNlCisgICAgICAgIHsKKyAgICAgICAg ICAgIGlmIChlc2NfY3R4KQorICAgICAgICAgICAgeworICAgICAgICAgICAgICAgIGlmICgqYnVm ID09ICcgJykKKyAgICAgICAgICAgICAgICB7CisgICAgICAgICAgICAgICAgICAgICpidWYgPSAw eDA3OworICAgICAgICAgICAgICAgICAgICAqKGJ1ZiAtIDEpID0gMHgwNzsKKyAgICAgICAgICAg ICAgICB9CisgICAgICAgICAgICAgICAgZWxzZSBpZiAoKmJ1ZiA9PSAnXFwnKQorICAgICAgICAg ICAgICAgIHsKKyAgICAgICAgICAgICAgICAgICAgKmJ1ZiA9IDB4MDQ7CisgICAgICAgICAgICAg ICAgICAgICooYnVmIC0gMSkgPSAweDA0OworICAgICAgICAgICAgICAgIH0KKyAgICAgICAgICAg ICAgICAgICAgCisgICAgICAgICAgICAgICAgZXNjX2N0eC0tOworICAgICAgICAgICAgfQorICAg ICAgICB9CisgICAgICAgIAorICAgICAgICBidWYrKzsKKyAgICB9Cit9CisKKwordm9pZCBwb3N0 cHJvY2Vzcyh1bnNpZ25lZCBjaGFyICpidWYpCit7CisgICAgdW5zaWduZWQgY2hhciAqc3RyID0g c3RyZHVwKGJ1Zik7CisgICAgdW5zaWduZWQgY2hhciAqcG9zMSA9IHN0cjsKKyAgICB1bnNpZ25l ZCBjaGFyICpwb3MyID0gYnVmOworICAgIGludCBpID0gMDsKKyAgICAKKyAgICBpZiAoIXN0cikK KyAgICAgICAgcmV0dXJuOworICAgIAorICAgIHdoaWxlICgqcG9zMSkKKyAgICB7CisgICAgICAg IGlmICgqcG9zMSA9PSAweDA3KQorICAgICAgICB7CisgICAgICAgICAgICAqcG9zMiA9ICcgJzsK KyAgICAgICAgICAgIHBvczEgKz0gMjsKKyAgICAgICAgICAgIHBvczIrKzsKKworICAgICAgICAg ICAgY29udGludWU7CisgICAgICAgIH0KKyAgICAgICAgZWxzZSBpZiAoKnBvczEgPT0gMHgwNCkK KyAgICAgICAgeworICAgICAgICAgICAgKnBvczIgPSAnXFwnOworICAgICAgICAgICAgcG9zMSAr PSAyOworICAgICAgICAgICAgcG9zMisrOworICAgICAgICAgICAgCisgICAgICAgICAgICBjb250 aW51ZTsKKyAgICAgICAgfQorICAgICAgICAKKyAgICAgICAgKnBvczIgPSAqcG9zMTsKKyAgICAg ICAgCisgICAgICAgIHBvczIrKzsKKyAgICAgICAgcG9zMSsrOworICAgIH0KKyAgICAKKyAgICAq cG9zMiA9IDA7CisgICAgCisgICAgZnJlZShzdHIpOworfQorCisKIC8qCiAgKiBUaGlzIGZ1bmN0 aW9uIHJlYWRzIHRoZSBnaXZlbiBmaWxlIGxpbmUgYnkgbGluZSBhbmQgZXhlY3V0ZXMgdGhlIHJ1 bGUuCiAgKiBJdCByZXR1cm5zIDAgaWYgZXZlcnl0aGluZyB3ZW50IE9LLCAxIGlmIHRoZXJlIGFy ZSBwcm9ibGVtcyBiZWZvcmUgcmVhZGluZwpAQCAtMTAwMSw2ICsxMDc3LDggQEAKIAkJY2hhciAq b3B0aW9uc1tOVU1fT1BUSU9OU107CiAJCWNoYXIgKnB0cjsKIAkJaW50IGlkeD0wOworCQljaGFy IGFwc3QgPSAwOworCQljaGFyICpwb3MgPSAwOwogCiAJCS8qIFdlZWQgb3V0IGJsYW5rIGxpbmVz ICovCiAJCXdoaWxlIChidWZbaWR4XSA9PSAnICcpCkBAIC0xMDA5LDkgKzEwODcsMTMgQEAKIAkJ CWxpbmVubysrOwogCQkJY29udGludWU7CiAJCX0KKwkJCisJCXByZXByb2Nlc3MoYnVmKTsKKwkJ CiAJCXB0ciA9IHN0cnRvayhidWYsICIgIik7CiAJCWlmIChwdHIgPT0gTlVMTCkKIAkJCWJyZWFr OworCQkKIAkJLyogYWxsb3cgY29tbWVudHMgKi8KIAkJaWYgKHB0clswXSA9PSAnIycpIHsKIAkJ CWxpbmVubysrOwpAQCAtMTAyMSw4ICsxMTAzLDEwIEBACiAJCW9wdGlvbnNbaSsrXSA9ICJhdWRp dGN0bCI7CiAJCW9wdGlvbnNbaSsrXSA9IHB0cjsKIAkJd2hpbGUoIChwdHI9c3RydG9rKE5VTEws ICIgIikpICYmIGk8TlVNX09QVElPTlMtMSApIHsKKwkJICAgICAgICBwb3N0cHJvY2VzcyhwdHIp OwogCQkJb3B0aW9uc1tpKytdID0gcHRyOwogCQl9CisJCQogCQlvcHRpb25zW2ldID0gTlVMTDsK IAogCQkvKiBQYXJzZSBpdCAqLwpAQCAtMTA5NCw2ICsxMTc4LDcgQEAKIAkJCWZyZWUocnVsZV9u ZXcpOwogCQkJcmV0dXJuIDE7CiAJCX0KKwkJCiAJCXJldHZhbCA9IHNldG9wdChhcmdjLCAwLCBh cmd2KTsKIAkJaWYgKHJldHZhbCA9PSAtMykgewogCQkJZnJlZShydWxlX25ldyk7Cg== --90e6ba53a0c6a970a804b05c4242 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --90e6ba53a0c6a970a804b05c4242-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Regarding bug 435682 Date: Sat, 3 Dec 2011 08:44:50 -0500 Message-ID: <201112030844.51025.sgrubb@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: Alexander List-Id: linux-audit@redhat.com On Friday, October 28, 2011 09:56:48 AM Alexander wrote: > Here's another version of the patch for version 2.1.3 which solves bug > 435682 (https://bugzilla.redhat.com/show_bug.cgi?id=435682). > Seems to be slightly better than previous version, 'cause now it's using > something like escape sequence to handle filenames with spaces. Applied a slightly modified version of the patch: https://fedorahosted.org/audit/changeset/608 Thanks, -Steve