From: Petr Lautrbach <plautrba@redhat.com>
To: James Carter <jwcart2@gmail.com>
Cc: selinux@vger.kernel.org
Subject: Re: [PATCH] python: Fix typo in audit2allow.1 example
Date: Tue, 08 Nov 2022 18:02:29 +0100 [thread overview]
Message-ID: <87sfitl6qi.fsf@redhat.com> (raw)
In-Reply-To: <CAP+JOzTenjFNOAPd-bWppmpoPCq79Hfov523hrVxp6tvvzxwjg@mail.gmail.com>
James Carter <jwcart2@gmail.com> writes:
> On Tue, Nov 8, 2022 at 5:20 AM Petr Lautrbach <plautrba@redhat.com> wrote:
>>
>> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
>> ---
>> python/audit2allow/audit2allow.1 | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/python/audit2allow/audit2allow.1 b/python/audit2allow/audit2allow.1
>> index c61067b33688..f1a4b8ea33b3 100644
>> --- a/python/audit2allow/audit2allow.1
>> +++ b/python/audit2allow/audit2allow.1
>> @@ -151,7 +151,7 @@ policy_module(local, 1.0)
>> gen_require(`
>> type myapp_t;
>> type etc_t;
>> - };
>> +');
>
> Should be:
> +\[aq]);
>
> Otherwise, the line does not show up.
> You can't use \' because that is translated into a closing single quote.
>
I haven't checked it, sorry for that.
I'll send a proper fix.
>
>>
>> files_read_etc_files(myapp_t)
>> <review local.te and customize as desired>
>> --
>> 2.37.3
>>
prev parent reply other threads:[~2022-11-08 17:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-08 10:18 [PATCH] python: Fix typo in audit2allow.1 example Petr Lautrbach
2022-11-08 16:54 ` James Carter
2022-11-08 17:02 ` Petr Lautrbach [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfitl6qi.fsf@redhat.com \
--to=plautrba@redhat.com \
--cc=jwcart2@gmail.com \
--cc=selinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.