All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] execveat.2: Remove unused include
@ 2021-05-10 13:02 Alejandro Colomar
  2021-05-10 17:17 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-05-10 13:02 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man

This complements commit e3eba861bd966911b38b7ebc572f0c092ca7bdee.

Since we don't need syscall(2) anymore, we don't need SYS_* definitions.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/execveat.2 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/man2/execveat.2 b/man2/execveat.2
index 11ae04a9f..495617b09 100644
--- a/man2/execveat.2
+++ b/man2/execveat.2
@@ -29,7 +29,6 @@ execveat \- execute program relative to a directory file descriptor
 .SH SYNOPSIS
 .nf
 .BR "#include <linux/fcntl.h>" "      /* Definition of " AT_* " constants */"
-.BR "#include <sys/syscall.h>" "      /* Definition of " SYS_* " constants */"
 .B #include <unistd.h>
 .PP
 .BI "int execveat(int " dirfd ", const char *" pathname ,
-- 
2.31.1


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

* Re: [PATCH] execveat.2: Remove unused include
  2021-05-10 13:02 [PATCH] execveat.2: Remove unused include Alejandro Colomar
@ 2021-05-10 17:17 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-05-10 17:17 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man

Hi Alex,

On 5/11/21 1:02 AM, Alejandro Colomar wrote:
> This complements commit e3eba861bd966911b38b7ebc572f0c092ca7bdee.
> 
> Since we don't need syscall(2) anymore, we don't need SYS_* definitions.
> 
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
> ---
>  man2/execveat.2 | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/man2/execveat.2 b/man2/execveat.2
> index 11ae04a9f..495617b09 100644
> --- a/man2/execveat.2
> +++ b/man2/execveat.2
> @@ -29,7 +29,6 @@ execveat \- execute program relative to a directory file descriptor
>  .SH SYNOPSIS
>  .nf
>  .BR "#include <linux/fcntl.h>" "      /* Definition of " AT_* " constants */"
> -.BR "#include <sys/syscall.h>" "      /* Definition of " SYS_* " constants */"
>  .B #include <unistd.h>
>  .PP
>  .BI "int execveat(int " dirfd ", const char *" pathname ,


Thanks. Patch applied.

I've now pushed everything from you that I have applied.
("[PATCH] Makefile: Simplify error handling" remains open.)

Cheers,

Michael


-- 
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-05-10 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10 13:02 [PATCH] execveat.2: Remove unused include Alejandro Colomar
2021-05-10 17:17 ` 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.