summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-10-29 12:42:47 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-09-05 03:37:01 +0200
commita838a8935312d89ed21897045b7a7a3f1c364ea9 (patch)
tree17cd9bf25cf3b8349f5ea9d2842788b6c24070e8
parent8797cc24774db6cb2394caddbe3e60a89d358d01 (diff)
rexec.3: SYNOPSIS: Mark rexec*() as [[deprecated]]
They are insecure, and replaced by rcmd(3). Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/rexec.33
1 files changed, 3 insertions, 0 deletions
diff --git a/man3/rexec.3 b/man3/rexec.3
index 749dfab13..bb11f3f77 100644
--- a/man3/rexec.3
+++ b/man3/rexec.3
@@ -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 ,