Re: [PATCH] secilc/docs: fixes filecon example

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

 



Dominick Grift <dominick.grift@xxxxxxxxxxx> writes:

> Signed-off-by: Dominick Grift <dominick.grift@xxxxxxxxxxx>

Acked-by: Petr Lautrbach <lautrbach@xxxxxxxxxx>



> ---
>  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




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

  Powered by Linux