public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH] execve.2: point to exec(3) early
Date: Wed, 25 May 2022 21:34:49 +0200	[thread overview]
Message-ID: <8a5df4fc-eadb-d2c8-0c9b-b25150cc5f82@gmail.com> (raw)
In-Reply-To: <20220525193004.ntmvrmvb4msnoscu@tarta.nabijaczleweli.xyz>


[-- Attachment #1.1: Type: text/plain, Size: 1321 bytes --]

Hi наб!

On 5/25/22 21:30, наб wrote:
> Most people actually want exec(3) (or one of its aliases);
> the minutiae are a separate, rarer, concern, and execve(2) hijacks
> man execve from all the other exec(3) aliases
> (similarly to exec(1posix), but it's at least obvious in that case that
>   you got the wrong page)
> 
> Reported-in: https://twitter.com/NireBryce/status/1529538043039850499
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>

Patch applied.

Thanks!

Alex

> ---
>   man2/execve.2 | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/man2/execve.2 b/man2/execve.2
> index 0d9582492..28c175132 100644
> --- a/man2/execve.2
> +++ b/man2/execve.2
> @@ -80,6 +80,14 @@ The
>   .I envp
>   array must be terminated by a NULL pointer.
>   .PP
> +This manual page describes the Linux system call in detail;
> +for an overview of the nomenclature and the many, often preferable,
> +standardised variants of this function provided by libc,
> +including ones that search the
> +.B PATH
> +environment variable, see
> +.BR exec (3).
> +.PP
>   The argument vector and environment can be accessed by the
>   new program's main function, when it is defined as:
>   .PP

-- 
Alejandro Colomar
<http://www.alejandro-colomar.es/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2022-05-25 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 19:30 [PATCH] execve.2: point to exec(3) early наб
2022-05-25 19:34 ` 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=8a5df4fc-eadb-d2c8-0c9b-b25150cc5f82@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=linux-man@vger.kernel.org \
    --cc=nabijaczleweli@nabijaczleweli.xyz \
    /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