]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
rexec.3: SYNOPSIS: Mark rexec*() as [[deprecated]]
authorAlejandro Colomar <alx.manpages@gmail.com>
Fri, 29 Oct 2021 10:42:47 +0000 (12:42 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 5 Sep 2022 01:37:01 +0000 (03:37 +0200)
They are insecure, and replaced by rcmd(3).

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/rexec.3

index 749dfab13f09e8773ecb39e2c5f8fa5c465d4f1b..bb11f3f776864bc4534caa93f820a3ddc964b2ae 100644 (file)
@@ -20,9 +20,12 @@ Standard C library
 .nf
 .B #include <netdb.h>
 .PP
+.B [[deprecated]]
 .BI "int rexec(char **restrict " ahost ", int " inport ,
 .BI "          const char *restrict " user ", const char *restrict " passwd ,
 .BI "          const char *restrict " cmd ", int *restrict " fd2p );
+.PP
+.B [[deprecated]]
 .BI "int rexec_af(char **restrict " ahost ", int " inport ,
 .BI "          const char *restrict " user ", const char *restrict " passwd ,
 .BI "          const char *restrict " cmd ", int *restrict " fd2p ,