All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] exec.3: Fix description of 'e' variants
@ 2021-03-19 23:57 Alejandro Colomar
  2021-04-04 19:51 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-03-19 23:57 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Josh Triplett, linux-man, Alejandro Colomar

From: Josh Triplett <josh@joshtriplett.org>

The envp argument specifies the environment of the new process image,
not "the environment of the caller".

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man3/exec.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/exec.3 b/man3/exec.3
index 211e06421..3d936d08d 100644
--- a/man3/exec.3
+++ b/man3/exec.3
@@ -116,7 +116,7 @@ The array of pointers
 .I must
 be terminated by a null pointer.
 .SS e - execle(), execvpe()
-The environment of the caller is specified via the argument
+The environment of the new process image is specified via the argument
 .IR envp .
 The
 .I envp
-- 
2.30.1


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

* Re: [PATCH] exec.3: Fix description of 'e' variants
  2021-03-19 23:57 [PATCH] exec.3: Fix description of 'e' variants Alejandro Colomar
@ 2021-04-04 19:51 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-04-04 19:51 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, Josh Triplett, linux-man

Hi Alex,

On 3/20/21 12:57 AM, Alejandro Colomar wrote:
> From: Josh Triplett <josh@joshtriplett.org>
> 
> The envp argument specifies the environment of the new process image,
> not "the environment of the caller".

Thanks. Patch applied.

Cheers,

Michael

> Signed-off-by: Josh Triplett <josh@joshtriplett.org>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
> ---
>  man3/exec.3 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man3/exec.3 b/man3/exec.3
> index 211e06421..3d936d08d 100644
> --- a/man3/exec.3
> +++ b/man3/exec.3
> @@ -116,7 +116,7 @@ The array of pointers
>  .I must
>  be terminated by a null pointer.
>  .SS e - execle(), execvpe()
> -The environment of the caller is specified via the argument
> +The environment of the new process image is specified via the argument
>  .IR envp .
>  The
>  .I envp
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

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

end of thread, other threads:[~2021-04-04 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 23:57 [PATCH] exec.3: Fix description of 'e' variants Alejandro Colomar
2021-04-04 19:51 ` Michael Kerrisk (man-pages)

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.