All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Use IANA-managed domain example.com in examples
@ 2021-11-09 15:39 markus.linnala
  2021-11-11 14:03 ` Petr Lautrbach
  0 siblings, 1 reply; 3+ messages in thread
From: markus.linnala @ 2021-11-09 15:39 UTC (permalink / raw)
  To: selinux; +Cc: Markus Linnala

From: Markus Linnala <Markus.Linnala@knowit.fi>

See: RFC 2606

foo.com seems to be privately owned.

Signed-off-by: Markus Linnala <Markus.Linnala@knowit.fi>
---
 libsemanage/man/man5/semanage.conf.5    | 2 +-
 libsemanage/man/ru/man5/semanage.conf.5 | 2 +-
 libsemanage/src/semanage.conf           | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/libsemanage/man/man5/semanage.conf.5 b/libsemanage/man/man5/semanage.conf.5
index 7d6f2fef..380b58be 100644
--- a/libsemanage/man/man5/semanage.conf.5
+++ b/libsemanage/man/man5/semanage.conf.5
@@ -23,7 +23,7 @@ Management library writes to the SELinux policy module store directly (this is t
 Otherwise a socket path or a server name can be used for the argument.
 If the argument begins with "/" (as in "/foo/bar"), it represents the path to a named socket that should be used to connect the policy management
 server.
-If the argument does not begin with a "/" (as in "foo.com:4242"), it should be interpreted as the name of a remote policy management server
+If the argument does not begin with a "/" (as in "example.com:4242"), it should be interpreted as the name of a remote policy management server
 to be used through a TCP connection (default port is 4242 unless a different one is specified after the server name using the colon to separate
 the two fields).
 
diff --git a/libsemanage/man/ru/man5/semanage.conf.5 b/libsemanage/man/ru/man5/semanage.conf.5
index cf65b3e6..548aa58d 100644
--- a/libsemanage/man/ru/man5/semanage.conf.5
+++ b/libsemanage/man/ru/man5/semanage.conf.5
@@ -19,7 +19,7 @@ semanage.conf \- глобальный файл конфигурации для 
 Указать, как библиотека управления SELinux должна взаимодействовать с хранилищем политики SELinux. Если установлено "direct", библиотека управления SELinux выполняет запись напрямую в хранилище модулей политики SELinux (это значение по умолчанию).
 В ином случае в качестве аргумента может использоваться путь к сокету или имя сервера.
 Если аргумент начинается с "/" (как в "/foo/bar"), он представляет собой путь к именованному сокету, который следует использовать для подключения сервера управления политикой.
-Если аргумент не начинается с "/" (как в "foo.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
+Если аргумент не начинается с "/" (как в "example.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
 
 .TP
 .B root
diff --git a/libsemanage/src/semanage.conf b/libsemanage/src/semanage.conf
index dc8d46b8..98d769b5 100644
--- a/libsemanage/src/semanage.conf
+++ b/libsemanage/src/semanage.conf
@@ -24,8 +24,9 @@
 #  /foo/bar     - Write by way of a policy management server, whose
 #                 named socket is at /foo/bar.  The path must begin
 #                 with a '/'.
-#  foo.com:4242 - Establish a TCP connection to a remote policy
-#                 management server at foo.com.  If there is a colon
+#  example.com:4242
+#               - Establish a TCP connection to a remote policy
+#                 management server at example.com.  If there is a colon
 #                 then the remainder is interpreted as a port number;
 #                 otherwise default to port 4242.
 module-store = direct
-- 
2.33.1


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

* Re: [PATCH] Use IANA-managed domain example.com in examples
  2021-11-09 15:39 [PATCH] Use IANA-managed domain example.com in examples markus.linnala
@ 2021-11-11 14:03 ` Petr Lautrbach
  2021-11-15  9:55   ` Petr Lautrbach
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Lautrbach @ 2021-11-11 14:03 UTC (permalink / raw)
  To: markus.linnala, selinux; +Cc: Markus Linnala

markus.linnala@gmail.com writes:

> From: Markus Linnala <Markus.Linnala@knowit.fi>
>
> See: RFC 2606
>
> foo.com seems to be privately owned.
>
> Signed-off-by: Markus Linnala <Markus.Linnala@knowit.fi>

Acked-by: Petr Lautrbach <plautrba@redhat.com>


> ---
>  libsemanage/man/man5/semanage.conf.5    | 2 +-
>  libsemanage/man/ru/man5/semanage.conf.5 | 2 +-
>  libsemanage/src/semanage.conf           | 5 +++--
>  3 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/libsemanage/man/man5/semanage.conf.5 b/libsemanage/man/man5/semanage.conf.5
> index 7d6f2fef..380b58be 100644
> --- a/libsemanage/man/man5/semanage.conf.5
> +++ b/libsemanage/man/man5/semanage.conf.5
> @@ -23,7 +23,7 @@ Management library writes to the SELinux policy module store directly (this is t
>  Otherwise a socket path or a server name can be used for the argument.
>  If the argument begins with "/" (as in "/foo/bar"), it represents the path to a named socket that should be used to connect the policy management
>  server.
> -If the argument does not begin with a "/" (as in "foo.com:4242"), it should be interpreted as the name of a remote policy management server
> +If the argument does not begin with a "/" (as in "example.com:4242"), it should be interpreted as the name of a remote policy management server
>  to be used through a TCP connection (default port is 4242 unless a different one is specified after the server name using the colon to separate
>  the two fields).
>  
> diff --git a/libsemanage/man/ru/man5/semanage.conf.5 b/libsemanage/man/ru/man5/semanage.conf.5
> index cf65b3e6..548aa58d 100644
> --- a/libsemanage/man/ru/man5/semanage.conf.5
> +++ b/libsemanage/man/ru/man5/semanage.conf.5
> @@ -19,7 +19,7 @@ semanage.conf \- глобальный файл конфигурации для 
>  Указать, как библиотека управления SELinux должна взаимодействовать с хранилищем политики SELinux. Если установлено "direct", библиотека управления SELinux выполняет запись напрямую в хранилище модулей политики SELinux (это значение по умолчанию).
>  В ином случае в качестве аргумента может использоваться путь к сокету или имя сервера.
>  Если аргумент начинается с "/" (как в "/foo/bar"), он представляет собой путь к именованному сокету, который следует использовать для подключения сервера управления политикой.
> -Если аргумент не начинается с "/" (как в "foo.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
> +Если аргумент не начинается с "/" (как в "example.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
>  
>  .TP
>  .B root
> diff --git a/libsemanage/src/semanage.conf b/libsemanage/src/semanage.conf
> index dc8d46b8..98d769b5 100644
> --- a/libsemanage/src/semanage.conf
> +++ b/libsemanage/src/semanage.conf
> @@ -24,8 +24,9 @@
>  #  /foo/bar     - Write by way of a policy management server, whose
>  #                 named socket is at /foo/bar.  The path must begin
>  #                 with a '/'.
> -#  foo.com:4242 - Establish a TCP connection to a remote policy
> -#                 management server at foo.com.  If there is a colon
> +#  example.com:4242
> +#               - Establish a TCP connection to a remote policy
> +#                 management server at example.com.  If there is a colon
>  #                 then the remainder is interpreted as a port number;
>  #                 otherwise default to port 4242.
>  module-store = direct
> -- 
> 2.33.1


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

* Re: [PATCH] Use IANA-managed domain example.com in examples
  2021-11-11 14:03 ` Petr Lautrbach
@ 2021-11-15  9:55   ` Petr Lautrbach
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Lautrbach @ 2021-11-15  9:55 UTC (permalink / raw)
  To: markus.linnala, selinux

Petr Lautrbach <plautrba@redhat.com> writes:

> markus.linnala@gmail.com writes:
>
>> From: Markus Linnala <Markus.Linnala@knowit.fi>
>>
>> See: RFC 2606
>>
>> foo.com seems to be privately owned.
>>
>> Signed-off-by: Markus Linnala <Markus.Linnala@knowit.fi>
>
> Acked-by: Petr Lautrbach <plautrba@redhat.com>
>

This is merged now. Thanks!



>> ---
>>  libsemanage/man/man5/semanage.conf.5    | 2 +-
>>  libsemanage/man/ru/man5/semanage.conf.5 | 2 +-
>>  libsemanage/src/semanage.conf           | 5 +++--
>>  3 files changed, 5 insertions(+), 4 deletions(-)
>>
>> diff --git a/libsemanage/man/man5/semanage.conf.5 b/libsemanage/man/man5/semanage.conf.5
>> index 7d6f2fef..380b58be 100644
>> --- a/libsemanage/man/man5/semanage.conf.5
>> +++ b/libsemanage/man/man5/semanage.conf.5
>> @@ -23,7 +23,7 @@ Management library writes to the SELinux policy module store directly (this is t
>>  Otherwise a socket path or a server name can be used for the argument.
>>  If the argument begins with "/" (as in "/foo/bar"), it represents the path to a named socket that should be used to connect the policy management
>>  server.
>> -If the argument does not begin with a "/" (as in "foo.com:4242"), it should be interpreted as the name of a remote policy management server
>> +If the argument does not begin with a "/" (as in "example.com:4242"), it should be interpreted as the name of a remote policy management server
>>  to be used through a TCP connection (default port is 4242 unless a different one is specified after the server name using the colon to separate
>>  the two fields).
>>  
>> diff --git a/libsemanage/man/ru/man5/semanage.conf.5 b/libsemanage/man/ru/man5/semanage.conf.5
>> index cf65b3e6..548aa58d 100644
>> --- a/libsemanage/man/ru/man5/semanage.conf.5
>> +++ b/libsemanage/man/ru/man5/semanage.conf.5
>> @@ -19,7 +19,7 @@ semanage.conf \- глобальный файл конфигурации для 
>>  Указать, как библиотека управления SELinux должна взаимодействовать с хранилищем политики SELinux. Если установлено "direct", библиотека управления SELinux выполняет запись напрямую в хранилище модулей политики SELinux (это значение по умолчанию).
>>  В ином случае в качестве аргумента может использоваться путь к сокету или имя сервера.
>>  Если аргумент начинается с "/" (как в "/foo/bar"), он представляет собой путь к именованному сокету, который следует использовать для подключения сервера управления политикой.
>> -Если аргумент не начинается с "/" (как в "foo.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
>> +Если аргумент не начинается с "/" (как в "example.com:4242"), он должен интерпретироваться как имя удалённого сервера управления политикой, который следует использовать через TCP-подключение (порт по умолчанию 4242, если только после имени сервера через двоеточие, разделяющее два поля, не указан другой порт).
>>  
>>  .TP
>>  .B root
>> diff --git a/libsemanage/src/semanage.conf b/libsemanage/src/semanage.conf
>> index dc8d46b8..98d769b5 100644
>> --- a/libsemanage/src/semanage.conf
>> +++ b/libsemanage/src/semanage.conf
>> @@ -24,8 +24,9 @@
>>  #  /foo/bar     - Write by way of a policy management server, whose
>>  #                 named socket is at /foo/bar.  The path must begin
>>  #                 with a '/'.
>> -#  foo.com:4242 - Establish a TCP connection to a remote policy
>> -#                 management server at foo.com.  If there is a colon
>> +#  example.com:4242
>> +#               - Establish a TCP connection to a remote policy
>> +#                 management server at example.com.  If there is a colon
>>  #                 then the remainder is interpreted as a port number;
>>  #                 otherwise default to port 4242.
>>  module-store = direct
>> -- 
>> 2.33.1


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

end of thread, other threads:[~2021-11-15  9:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 15:39 [PATCH] Use IANA-managed domain example.com in examples markus.linnala
2021-11-11 14:03 ` Petr Lautrbach
2021-11-15  9:55   ` Petr Lautrbach

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.