All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] secilc/docs: fixes filecon example
@ 2023-08-18 18:19 Dominick Grift
  2023-10-31 18:22 ` Petr Lautrbach
  0 siblings, 1 reply; 3+ messages in thread
From: Dominick Grift @ 2023-08-18 18:19 UTC (permalink / raw)
  To: selinux; +Cc: Dominick Grift

Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
---
 secilc/docs/cil_file_labeling_statements.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/secilc/docs/cil_file_labeling_statements.md b/secilc/docs/cil_file_labeling_statements.md
index 73f73885..9e4e877d 100644
--- a/secilc/docs/cil_file_labeling_statements.md
+++ b/secilc/docs/cil_file_labeling_statements.md
@@ -97,7 +97,7 @@ These examples use one named, one anonymous and one empty context definition:
     (context runas_exec_context (u object_r exec low_low))
 
     (filecon "/system/bin/run-as" file runas_exec_context)
-    (filecon "/dev/socket/wpa_wlan[0-9]" any u:object_r:wpa.socket:s0-s0)
+    (filecon "/dev/socket/wpa_wlan[0-9]" any (u object_r wpa.socket ((s0)(s0))))
     (filecon "/data/local/mine" dir ())
 ```
 
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-07 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-18 18:19 [PATCH] secilc/docs: fixes filecon example Dominick Grift
2023-10-31 18:22 ` Petr Lautrbach
2023-11-07 21:40   ` James Carter

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.