summaryrefslogtreecommitdiffstats
path: root/libexec/fingerd
Commit message (Collapse)AuthorAgeFilesLines
* Mark functions as __dead2 in order to help the LLVM static checkercperciva2008-08-041-1/+1
| | | | | | | understand which code paths aren't possible. This commit eliminates 117 false positive bug reports of the form "allocate memory; error out if pointer is NULL; use pointer".
* Fix most cases where the address of an int is passed to a function expecting astefanf2005-02-141-1/+2
| | | | socklen_t * argument.
* Sort sections.ru2005-01-181-5/+5
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* Make fingerd(8) WARNS2 clean.pjd2004-03-292-1/+2
|
* Mark the logerr() function __printflike().kris2002-10-131-1/+1
| | | | MFC after: 3 days
* mdoc(7) police: nits.ru2002-08-131-2/+3
|
* Correct wrong grammar from previous commit. Note that fingerd is not limitedcharnier2002-07-211-5/+10
| | | | | | | to being an interface to finger(1), see -p flag. Remove a reference to name(?) program we don't have. Submitted by: wollman
* The .Nm utilitycharnier2002-07-061-10/+14
|
* When the -p flag is specified, set an environment variable to the namewollman2002-06-262-12/+30
| | | | | | | | | | | | | | | 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.)
* Add used include of <string.h>.wollman2002-05-301-1/+1
| | | | Delete unused include of <strings.h>.
* Revert revision 1.11. FreeBSD/alpha has suppport for T/TCP.mike2002-02-241-2/+0
| | | | MFC after: 1 week
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichkris2002-02-041-0/+2
| | | | are not yet warning-clean. Tested on i386 and alpha.
* o Eliminate __Pimp2002-02-031-21/+5
| | | | | | o Use new-style function definitions o remove some !__STDC__ code o eliminate register
* Terminate the array of execv(3) pointers by a NULL pointer in the edge case.ru2001-10-041-1/+3
| | | | | PR: bin/30913 Submitted by: Dimitri Lommers <dimitri@hinttech.com>
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-1/+1
| | | | with a trailing zero-width space: `e.g.\&'.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for libexec/ to 8.ru2001-03-201-1/+0
|
* Check malloc() and strdup() return valuesjedgar2001-01-201-2/+6
| | | | Reviewed by: kris
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Support logging for IPv6 remote host.shin2000-02-181-4/+5
| | | | | | | Approved by: jkh PR: bin/16789 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk
* Add $FreeBSD$ lines to man pages that are missing them to make itmpp1999-08-281-0/+1
| | | | | | | easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Identify illegal switches, don't print them as '?' in the error..peter1999-05-181-2/+2
|
* Fix the size of rhost, don't forget to NUL terminatebrian1999-04-071-2/+3
| | | | | it and use brackets for sizeof. Requested by: bde
* Link with libutilbrian1999-04-061-1/+3
|
* Use realhostname() rather than various combinations ofbrian1999-04-061-9/+5
| | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
* NetBSD kernels don't support TCP_NOPUSH, so on alpha don't try settingjb1998-05-151-1/+3
| | | | | this socket option. This is temporary code while the alpha still uses NetBSD socket code in the kernel.
* Add const to copyright string. Put sccsid under #if 0/#endif control.charnier1997-11-202-7/+7
|
* Log the request from the remote side, in addition to it having happened.sef1997-11-141-13/+27
| | | | Reviewed by: julian
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Correct some misleading text.mpp1997-01-081-2/+5
| | | | | Submitted by: Klaus Klein <kleink@layla.inka.de> Obtained from: NetBSD-bugs PR#3089
* add forgotten $Id$wosch1996-09-221-0/+1
|
* Implement server-side transaction TCP. (Has no effect on non-TTCP clients.)wollman1995-12-171-9/+25
|
* Fix the bug which allowed people to avoid the "-s" (secure) bug.peter1995-12-101-2/+3
| | | | | Now, "finger" is invoked with "--" before the first network supplied argument, so the "--" and "-l" hacks will be stopped.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* fixed spelling error.phk1995-02-041-1/+1
|
* Update to new make macros and disable Kerberos because we haven't got itwollman1994-08-051-1/+1
| | | | set up right yet.
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-274-0/+371
OpenPOWER on IntegriCloud