summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd/inetd.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-18/+18
* struct sockaddr_storage is guaranteed to be large enough, no need to checkflorian2018-10-151-4/+1
* Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther2018-04-261-3/+1
* Fix pledge(2) usagejca2017-10-041-11/+5
* Don't try to handle IPv4-compatible IPv6 addressesjca2017-10-041-10/+5
* inetd actually supports stream and datagram sockets onlyjca2017-10-041-9/+3
* inetd needs cpath pledge to unlink unix socket at program termination.benno2017-10-041-3/+8
* remove lint commentstedu2016-08-251-11/+1
* Remove a (now) obsolete comment about shortened IPv4 syntaxmestre2016-03-161-2/+1
* Replace strncpy(3) calls for safer strlcpy(3)mestre2016-03-161-7/+5
* Replace atoi(3) calls for safer strtonum(3)mestre2016-03-161-7/+11
* remove a NULL-check before free()mmcc2015-12-221-3/+2
* needs pledge "cpath" to allow unlink of AF_UNIX sockets eventuallyderaadt2015-11-011-2/+2
* inetd needs pledge "unix" to bind AF_UNIX socketsderaadt2015-11-011-2/+2
* pledge "abort" left behind accidentallyderaadt2015-10-221-3/+3
* optarg and optind are declared by unistd.hjca2015-10-191-3/+1
* Add err.h, missing after pledge() introduction.jca2015-10-191-1/+2
* Make use of pledge(2); initial diff from deraadt@jca2015-10-181-2/+9
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-4/+6
* replace the use of select and hand rolled deferral of signal handlingdlg2014-10-291-209/+72
* dont need to store the same debug flag in two separate variables.dlg2014-10-131-4/+2
* ansi function declarations.dlg2014-10-121-4/+2
* cut out writing a pidfile. rc.d doesnt rely on it, and nor should you.dlg2014-10-121-15/+1
* Convert malloc/memset to calloc, and remove pointless casts while here.lteo2014-06-171-11/+7
* obvious unsigned char casts for ctypederaadt2013-11-231-4/+6
* missing protosderaadt2013-11-121-1/+7
* for datagrams, assume other protocols should failderaadt2013-04-191-3/+3
* handle ECONNABORTED errors from accept(). In many code blocks they can bederaadt2013-03-111-4/+5
* small cleanup(%hd -> %d)gsoares2012-04-191-2/+2
* we have closefrom(2), so use it; ok deraadt@ tedu@otto2009-11-021-3/+2
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-12/+1
* Do not use __progname in inetd as it is not portable. Instead hardcode it toclaudio2008-07-281-10/+6
* Use __progname instead of hand rolled version using argv[0].claudio2008-07-271-11/+8
* add an underscore to argument name.sobrado2008-06-281-3/+3
* adderss -> addressmiod2008-06-041-3/+3
* validate argv, okay otto@, henning@espie2008-01-251-2/+7
* sync usage() w/ SYNOPSIS;jmc2008-01-051-3/+4
* use strcspn to properly overwrite '\n' in fgets returned buffergilles2007-09-111-7/+3
* Create unix domain sockets with permissions 0666, so clients canotto2005-04-021-9/+10
* if (signalflag) { dowork(); signalflag = 0; } is a race. First clear flag,otto2004-09-151-5/+5
* remove gcc specific extensions, and ARGSUSED where usefulderaadt2004-09-141-4/+7
* Reset signal mask in the rate limiting case; check for interruptedotto2004-09-061-5/+9
* Should set user and group on unix domain sockets as reported by Juan Vera.millert2004-07-281-2/+8
* Unbreak unix domain sockets and properly detect and report truncationotto2004-06-301-19/+18
* Don't return NULL in getconfigent() when an unresolvable hostnamemillert2004-04-241-126/+81
* For non-internal services, if no program arguments are specified usemillert2004-03-311-3/+10
* Fix signal handling when there is an error in inetd.conf. Found bymillert2004-01-061-5/+6
* Remove unnecessary casts (char *).mpech2003-12-231-9/+9
* dont compare int to NULL, millert@ okavsm2003-10-241-3/+3
* exit if no config file; jeffi@rcn.comderaadt2003-10-031-5/+6