python: Fix typo in audit2allow.1 example
PATCH 1/1 python: Fix typo in audit2allow.1 example
Signed-off-by Petr Lautrbach <[email protected]>
--- python/audit2allow/audit2allow.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
python/audit2allow/audit2allow.1 +1 -1
@@ -151,7 +151,7 @@ policy_module(local, 1.0) gen_require(` type myapp_t; type etc_t; - }; +'); files_read_etc_files(myapp_t) <review local.te and customize as desired>
Signature · 1 line
2.37.3
Quoted 11 lines · Petr Lautrbach
Signed-off-by Petr Lautrbach <[email protected]>--- python/audit2allow/audit2allow.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)python/audit2allow/audit2allow.1 +0
-0
python/audit2allow/audit2allow.1 policy_module(local, 1.0) · line 154
Quoted 5 lines
python/audit2allow/audit2allow.1 +1
-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
Quoted 6 lines
python/audit2allow/audit2allow.1 +0
-1files_read_etc_files(myapp_t) <review local.te and customize as desired> --2.37.3
Quoted 21 lines · James Carter
Quoted 11 lines · Petr Lautrbach
Signed-off-by Petr Lautrbach <[email protected]>--- python/audit2allow/audit2allow.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)python/audit2allow/audit2allow.1 +0
-0python/audit2allow/audit2allow.1 policy_module(local, 1.0) · line 154
Quoted 5 lines
python/audit2allow/audit2allow.1 +1
-1@@ -151,7 +151,7 @@ policy_module(local, 1.0) gen_require(` type myapp_t; type etc_t; - }; +');Should be:
+\[aq]);
Quoted 3 lines
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.
Quoted 7 lines
Quoted 7 lines
python/audit2allow/audit2allow.1 +0
-1files_read_etc_files(myapp_t) <review local.te and customize as desired> --2.37.3