execveat.2: Remove unused include
PATCH 1/1 execveat.2: Remove unused include
This complements commit e3eba861bd966911b38b7ebc572f0c092ca7bdee.
Since we don't need syscall(2) anymore, we don't need SYS_* definitions.
Signed-off-by Alejandro Colomar <[email protected]>
--- man2/execveat.2 | 1 - 1 file changed, 1 deletion(-)
man2/execveat.2 +0 -1
@@ -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 ,
Signature · 1 line
2.31.1
Hi Alex,
Quoted 14 lines · Alejandro Colomar
This complements commit
e3eba861bd966911b38b7ebc572f0c092ca7bdee.Since we don't need syscall(2) anymore, we don't need SYS_* definitions.
Signed-off-by Alejandro Colomar <[email protected]>--- man2/execveat.2 | 1 - 1 file changed, 1 deletion(-)man2/execveat.2 +0
-0
man2/execveat.2 execveat \- execute program relative to a directory file descriptor · line 34
Quoted 7 lines
man2/execveat.2 +0
-1@@ -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
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/