summaryrefslogtreecommitdiff
path: root/libexec/ftpd
AgeCommit message (Expand)Author
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-05-31Convert K&R function definitions to modern C.jan
2021-05-23Constify function parameters.jan
2021-05-22Remove useless fflush(3) calls. lreply() already called fflush(3).jan
2021-05-22Remove useless islower(2) before toupper(3).jan
2021-05-20Removes the useless FILE* parameter of get_line().jan
2021-05-15Add pledge for ftpd's user processes.jan
2020-12-27We know about optreset from unistd.h.Florian Obser
2020-03-04Avoid passing a NULL name to retrieve(), use "." instead.Todd C. Miller
2020-01-15Simplify globbing of ftpd(8)s list and nlst commands.jan
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-05-08rm dead code and simplify ftpd_popen. this code has only calledTed Unangst
2018-12-11Flip snprintf(3) error check to align it with the man page example.Alexander Bluhm
2018-12-11Convert some variables with non-negative values to unsigned typeAlexander Bluhm
2017-04-27Don't send multiple error messages in response to a single commandMike Belopuhov
2017-04-17memset() of password field should be explicit_bzero().Theo de Raadt
2017-04-17freezero() can be used hereTheo de Raadt
2016-09-03Use a single "opt" variable for all setsockopt calls in getdatasock().Jeremie Courreges-Anglas
2016-09-03Set "lowdelay" and "throughput" Traffic Class on command & data IPv6 sockets.Jeremie Courreges-Anglas
2016-08-31Don't attempt to support IPv4-mapped IPv6 addresses.Jeremie Courreges-Anglas
2016-08-30remove ifdef for all the features we have.Ted Unangst
2016-08-26trim down some NBBY references. 8 bits ought to be enough for anyone.Ted Unangst
2016-08-14When upcasting to off_t for multiplication, the cast needs to be *before*Philip Guenther
2016-08-14Convert %q to %ll with long long casts for printf()Philip Guenther
2016-07-04Use fstatat() instead of crafting a filename to use with stat()Philip Guenther
2016-05-04Kill #ifdef INET6 occurrences in userland.Jeremie Courreges-Anglas
2016-04-25prefer setres{u,g}id() rather than manipulating both real and effectiveTheo de Raadt
2016-04-06compare pointer to NULL instead of 0Sebastien Marie
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2016-02-29Print ssize_t with %zd; ok deraadt@ mmcc@Jeremie Courreges-Anglas
2016-02-29Kill unused variable.Jeremie Courreges-Anglas
2015-12-12Remove NULL-checks before free(). ok tb@mmcc
2015-12-01needs utf8.c from the ls tree alsoTheo de Raadt
2015-11-16don't need to ifdef setproctitleTed Unangst
2015-10-25No longer create /var/run/ftpd.pid in daemon mode; OK jung@ jca@Todd C. Miller
2015-10-25unifdef some oldness. (BSD not defined since removal of param.h)Ted Unangst
2015-10-19Delete the empty example file "ftpchroot"; no example is needed.Ingo Schwarze
2015-10-04fix custom popen to return pid to caller instead of tracking in a giantTed Unangst
2015-09-01test pointers with NULL not '\0'Jonathan Gray
2015-08-18calloc() is prototyped; do not cast resultTheo de Raadt
2015-03-17Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@Todd C. Miller
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
2015-01-19CMASK went out of scope with the recent <sys/param.h> removal. But ohTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-08-25Delete secret or secret-derived data with explicit_bzero.Doug Hogan
2014-03-24remove tcpwrappers support. ok deraadtTed Unangst