[PATCH 3/6] docs: Simplify explanation of tls_allowed_dn_list wildcards

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

 



This removes a dead link, the need for users to understand a glib function and a
improper reference to fnmatch (as we only expand asterisks to any string).

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 docs/remote.html.in             | 4 ++--
 src/remote/libvirtd.conf.in     | 4 +---
 tests/virconfdata/libvirtd.conf | 3 +--
 tests/virconfdata/libvirtd.out  | 3 +--
 4 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/docs/remote.html.in b/docs/remote.html.in
index cc8db80c959c..66f56a3a64fc 100644
--- a/docs/remote.html.in
+++ b/docs/remote.html.in
@@ -249,8 +249,8 @@ Blank lines and comments beginning with <code>#</code> are ignored.
   </p>
           <p>
   This list may contain wildcards such as <code>"C=GB,ST=London,L=London,O=Libvirt Project,CN=*"</code>
-  See the POSIX <code>fnmatch</code> function for the format
-  of the wildcards.
+  Any * matches in the string matches any number of consecutive characters,
+  like a simplified <code>glob(7)</code>.
   </p>
           <p>
   Note that if this is an empty list, <i>no client can connect</i>.
diff --git a/src/remote/libvirtd.conf.in b/src/remote/libvirtd.conf.in
index 8e709856aacb..b18c5885a1a7 100644
--- a/src/remote/libvirtd.conf.in
+++ b/src/remote/libvirtd.conf.in
@@ -290,9 +290,7 @@
 #
 #    "C=GB,ST=London,L=London,O=Red Hat,CN=*"
 #
-# See the g_pattern_match function for the format of the wildcards:
-#
-# https://developer.gnome.org/glib/stable/glib-Glob-style-pattern-matching.html
+# Any * matches any number of consecutive spaces, like a simplified glob(7).
 #
 # NB If this is an empty list, no client can connect, so comment out
 # entirely rather than using empty list to disable these checks
diff --git a/tests/virconfdata/libvirtd.conf b/tests/virconfdata/libvirtd.conf
index 6d1fd33dcdd3..e850e1b87344 100644
--- a/tests/virconfdata/libvirtd.conf
+++ b/tests/virconfdata/libvirtd.conf
@@ -183,9 +183,8 @@ tls_no_verify_certificate = 1
 #
 #    "C=GB,ST=London,L=London,O=Red Hat,CN=*"
 #
-# See the g_pattern_match function for the format of the wildcards.
+# Any * matches any number of consecutive spaces, like a simplified glob(7).
 #
-# https://developer.gnome.org/glib/stable/glib-Glob-style-pattern-matching.html
 #
 # NB If this is an empty list, no client can connect, so comment out
 # entirely rather than using empty list to disable these checks
diff --git a/tests/virconfdata/libvirtd.out b/tests/virconfdata/libvirtd.out
index ce50480b8c69..0755c5dc0a22 100644
--- a/tests/virconfdata/libvirtd.out
+++ b/tests/virconfdata/libvirtd.out
@@ -147,9 +147,8 @@ tls_no_verify_certificate = 1
 #
 #    "C=GB,ST=London,L=London,O=Red Hat,CN=*"
 #
-# See the g_pattern_match function for the format of the wildcards.
+# Any * matches any number of consecutive spaces, like a simplified glob(7).
 #
-# https://developer.gnome.org/glib/stable/glib-Glob-style-pattern-matching.html
 #
 # NB If this is an empty list, no client can connect, so comment out
 # entirely rather than using empty list to disable these checks
-- 
2.33.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux