Skip to contentSkip to conversation

python: Fix typo in audit2allow.1 example

PATCH Superseded Petr Lautrbach 2 participants 3 messages Nov 8, 2022 SELinux security module

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python: Fix typo in audit2allow.1 example

---
 python/audit2allow/audit2allow.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
python/audit2allow/audit2allow.1 +1 -1
index c61067b33688..f1a4b8ea33b3 100644
@@ -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
#1 lore raw
Quoted 11 lines · Petr Lautrbach
---
 python/audit2allow/audit2allow.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
python/audit2allow/audit2allow.1 +0 -0
index c61067b33688..f1a4b8ea33b3 100644

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 -1
 files_read_etc_files(myapp_t)
 <review local.te and customize as desired>
--

2.37.3

#2 lore raw
Quoted 21 lines · James Carter
Quoted 11 lines · Petr Lautrbach
---
 python/audit2allow/audit2allow.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
python/audit2allow/audit2allow.1 +0 -0
index c61067b33688..f1a4b8ea33b3 100644

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]);

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 -1
 files_read_etc_files(myapp_t)
 <review local.te and customize as desired>
--

2.37.3