1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/libexec/fingerd
Garrett Wollman 80536ead7f When the -p flag is specified, set an environment variable to the name
of the remote host (or rather, the name as mangled by realhostname_sa())
so that the process can use it to behave differently depending on the
origin on the request.  We use this to implement rudimentary visibility
control on our user information.

Make sure that the child process's standard error goes through the same
NVT-ASCII filter as is applied to the standard output.

Don't attempt to call logerr() from the child since stdio is not safe in
a vforked process.  Just write a message to fd 2 instead.  (Ideally, the
parent would open two pipes, and siphon off our stderr to some place less
public, but I have not attempted to do so in this implementation.)
2002-06-26 21:46:56 +00:00
..
fingerd.8 When the -p flag is specified, set an environment variable to the name 2002-06-26 21:46:56 +00:00
fingerd.c When the -p flag is specified, set an environment variable to the name 2002-06-26 21:46:56 +00:00
Makefile Lock down with WFORMAT?=1, with overrides in the subdirectories which 2002-02-04 02:33:51 +00:00
pathnames.h BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00