Re: [PATCH] python: Fix typo in audit2allow.1 example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 8, 2022 at 5:20 AM Petr Lautrbach <plautrba@xxxxxxxxxx> wrote:
>
> Signed-off-by: Petr Lautrbach <plautrba@xxxxxxxxxx>
> ---
>  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.

Thanks,
Jim

>
>  files_read_etc_files(myapp_t)
>  <review local.te and customize as desired>
> --
> 2.37.3
>



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux