Re: [PATCH] execveat.2: Remove unused include

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

 



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@xxxxxxxxx>
> ---
>  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/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux