From: Alejandro Colomar <alx@kernel.org>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH 5/5] ld.so.8: Describe the --list-diagnostics loader option
Date: Wed, 18 Oct 2023 21:56:45 +0200 [thread overview]
Message-ID: <ZTA4fpEaa-EaEIg2@debian> (raw)
In-Reply-To: <20231018172104.1196993-6-adhemerval.zanella@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 2937 bytes --]
Hi Adhemerval,
On Wed, Oct 18, 2023 at 02:21:04PM -0300, Adhemerval Zanella wrote:
> It was added on glibc 2.33 as a way to print system diagnostic
> information in a machine-readable format.
>
> Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Patch applied. Thanks!
I've amended with the following minor fixes:
diff --git a/man8/ld.so.8 b/man8/ld.so.8
index 6684b8418..d4eb27a70 100644
--- a/man8/ld.so.8
+++ b/man8/ld.so.8
@@ -238,13 +238,16 @@ .SH OPTIONS
.B \-\-list
List all dependencies and how they are resolved.
.TP
-.BR \-\-list\-diagnostics " (since glibc 2.33)
-Print system diagnostic information in a machine-readable format, such as some
-internal loader variables, the auxiliary vector (see
+.BR \-\-list\-diagnostics " (since glibc 2.33)"
+Print system diagnostic information in a machine-readable format,
+such as some internal loader variables,
+the auxiliary vector
+(see
.BR getauxval (3)),
-and the environment variables. On some architecture, the command might print
-additional information (like the cpu features used in GNU indirect function
-selection on x86).
+and the environment variables.
+On some architectures,
+the command might print additional information
+(like the cpu features used in GNU indirect function selection on x86).
.BR \-\-list\-tunables " (since glibc 2.33)"
Print the names and values of all tunables,
along with the minimum and maximum allowed values.
> ---
> man8/ld.so.8 | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/man8/ld.so.8 b/man8/ld.so.8
> index 0e742cddd..66f14aef4 100644
> --- a/man8/ld.so.8
> +++ b/man8/ld.so.8
> @@ -246,6 +246,13 @@ are delimited by colons or spaces.
> .B \-\-list
> List all dependencies and how they are resolved.
> .TP
> +.BR \-\-list\-diagnostics " (since glibc 2.33)
This triggered a warning:
$ make lint build check
LINT (mandoc) .tmp/man/man8/ld.so.8.lint-man.mandoc.touch
mandoc: man8/ld.so.8:241:27: STYLE: unterminated quoted argument
make: *** [share/mk/lint/man/man.mk:32: .tmp/man/man8/ld.so.8.lint-man.mandoc.touch] Error 1
With the fix from above it vanished.
Here are the applied patches:
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=cce97466d5ed9e278120b7a49c7933e939742ef1>
Cheers,
Alex
> +Print system diagnostic information in a machine-readable format, such as some
> +internal loader variables, the auxiliary vector (see
> +.BR getauxval (3)),
> +and the environment variables. On some architecture, the command might print
> +additional information (like the cpu features used in GNU indirect function
> +selection on x86).
> .BR \-\-list\-tunables " (since glibc 2.33)"
> Print the names and values of all tunables,
> along with the minimum and maximum allowed values.
> --
> 2.34.1
>
--
<https://www.alejandro-colomar.es/>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2023-10-18 19:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 17:20 [PATCH 0/5] Some ld.so updates Adhemerval Zanella
2023-10-18 17:21 ` [PATCH 1/5] ld.so.8: Update environment variables from recent glibc versions Adhemerval Zanella
2023-10-18 19:06 ` Alejandro Colomar
2023-10-18 20:36 ` Adhemerval Zanella Netto
2023-10-18 17:21 ` [PATCH 2/5] ld.so.8: Clarify LD_PROFILE in secure-execution mode Adhemerval Zanella
2023-10-18 19:19 ` Alejandro Colomar
2023-10-18 20:47 ` Adhemerval Zanella Netto
2023-10-19 12:54 ` Alejandro Colomar
2023-10-18 17:21 ` [PATCH 3/5] ld.so.8: Add add filtered out environment variable " Adhemerval Zanella
2023-10-18 19:25 ` Alejandro Colomar
2023-10-18 17:21 ` [PATCH 4/5] ld.so.8: Describe glibc Hardware capabilities Adhemerval Zanella
2023-10-18 19:50 ` Alejandro Colomar
2023-10-18 17:21 ` [PATCH 5/5] ld.so.8: Describe the --list-diagnostics loader option Adhemerval Zanella
2023-10-18 19:56 ` Alejandro Colomar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZTA4fpEaa-EaEIg2@debian \
--to=alx@kernel.org \
--cc=adhemerval.zanella@linaro.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox