summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
AgeCommit message (Expand)AuthorFilesLines
2020-12-30getifaddrs() can return entries where ifa_addr is NULL. Check for thisbenno1-2/+3
2020-02-10briefly mention /etc/examples/ in the FILES section of all theschwarze1-4/+8
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-18/+18
2018-10-15struct sockaddr_storage is guaranteed to be large enough, no need to checkflorian1-4/+1
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.guenther1-3/+1
2017-10-04Fix pledge(2) usagejca1-11/+5
2017-10-04Don't try to handle IPv4-compatible IPv6 addressesjca1-10/+5
2017-10-04inetd actually supports stream and datagram sockets onlyjca2-18/+8
2017-10-04inetd needs cpath pledge to unlink unix socket at program termination.benno1-3/+8
2016-08-25remove lint commentstedu1-11/+1
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-2/+1
2016-03-16Remove a (now) obsolete comment about shortened IPv4 syntaxmestre1-2/+1
2016-03-16Replace strncpy(3) calls for safer strlcpy(3)mestre1-7/+5
2016-03-16Replace atoi(3) calls for safer strtonum(3)mestre1-7/+11
2015-12-22remove a NULL-check before free()mmcc1-3/+2
2015-11-14these files document their config files too: adjust NAME accordingly;jmc1-3/+4
2015-11-01needs pledge "cpath" to allow unlink of AF_UNIX sockets eventuallyderaadt1-2/+2
2015-11-01inetd needs pledge "unix" to bind AF_UNIX socketsderaadt1-2/+2
2015-10-22pledge "abort" left behind accidentallyderaadt1-3/+3
2015-10-19optarg and optind are declared by unistd.hjca1-3/+1
2015-10-19Add err.h, missing after pledge() introduction.jca1-1/+2
2015-10-18Make use of pledge(2); initial diff from deraadt@jca1-2/+9
2015-10-18actually, it uses getaddrinfoderaadt1-3/+3
2015-09-10reduce .Nd to one line and kill .Tn while hereschwarze1-4/+3
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-4/+6
2014-10-29replace the use of select and hand rolled deferral of signal handlingdlg2-208/+73
2014-10-13jmc@ told me i broke the documentation. inetd doesnt write a pidfile sodlg1-6/+2
2014-10-13dont need to store the same debug flag in two separate variables.dlg1-4/+2
2014-10-12ansi function declarations.dlg1-4/+2
2014-10-12cut out writing a pidfile. rc.d doesnt rely on it, and nor should you.dlg2-17/+2
2014-06-17Convert malloc/memset to calloc, and remove pointless casts while here.lteo1-11/+7
2014-04-18remove references to rshd;jmc1-3/+2
2013-11-23obvious unsigned char casts for ctypederaadt1-4/+6
2013-11-12missing protosderaadt1-1/+7
2013-04-19for datagrams, assume other protocols should failderaadt1-3/+3
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can bederaadt1-4/+5
2012-04-19small cleanup(%hd -> %d)gsoares1-2/+2
2012-03-06clean up some newly created lies now that tftpd doesnt run out of inetd.dlg1-13/+3
2009-12-29replace a few remaining UNIX terms with .Ux macros; this diffsobrado1-6/+5
2009-11-02we have closefrom(2), so use it; ok deraadt@ tedu@otto1-3/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-12/+1
2008-07-28Do not use __progname in inetd as it is not portable. Instead hardcode it toclaudio1-10/+6
2008-07-27Use __progname instead of hand rolled version using argv[0].claudio1-11/+8
2008-06-28add an underscore to argument name.sobrado2-6/+6
2008-06-04adderss -> addressmiod1-3/+3
2008-01-25validate argv, okay otto@, henning@espie1-2/+7
2008-01-06remove out of date/irrelevant section of BUGS dealing with ip6;jmc1-7/+1
2008-01-06- document what happens when a service exceeds its max spawn rate. this isjmc1-9/+16
2008-01-05sync usage() w/ SYNOPSIS;jmc1-3/+4
2007-09-11use strcspn to properly overwrite '\n' in fgets returned buffergilles1-7/+3