aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeLines
* Add queue.h from OpenBSDWynn Wolf Arbor2020-05-24-1/+536
* Add strlcpy(3) from OpenBSDWynn Wolf Arbor2020-05-24-0/+62
* Use pledge(2) only on OpenBSDWynn Wolf Arbor2020-05-24-0/+4
* Use corresponding attributes for __packed and __deadWynn Wolf Arbor2020-05-24-0/+8
* When calculating the fd limit before accepting a new connection also account ...claudio2020-05-24-2/+2
* Call daemon with 0 as first argument so that it changes the cwd to /. It is n...florian2020-05-24-2/+2
* Make the owner of fcgi socket configurable.florian2020-05-24-8/+21
* Clarify that we chroot to the users home directory if -u is provided. Pointed...florian2020-05-24-3/+7
* add missing HISTORY; based on CVS logs and release announcementsschwarze2020-05-24-2/+9
* consistently use the evtimer wrappers around the connection timeout.florian2020-05-24-3/+3
* Sync the severity of the syslog_* functions shared between identd, slowcgi, t...florian2020-05-24-5/+5
* Add format attribute to logger functions. Fix format string while here. Input...florian2020-05-24-15/+28
* As suggested by the FastCGI spec, zero-pad the response buffers to be aligned...reyk2020-05-24-3/+22
* typo in error message: to -> tootb@openbsd.org2020-05-24-2/+2
* pledge(2) for slowcgi. After initialization slowcgi accepts from a AF_UNIX so...florian2020-05-24-1/+6
* re-shuffle slowcgi_listen to run less code as root. OK benno@florian2020-05-24-15/+16
* Output the contents of the environment in debug mode which is most helpful in...millert2020-05-24-1/+2
* Clean up includes, while here fix a white space which lead to a false positiv...florian2020-05-24-5/+5
* The kernel doesn't actually care what a sockaddr's sa_len is on input, so don...guenther2020-05-24-5/+3
* Replace <sys/param.h> with <limits.h> and other less dirty headers where poss...deraadt2020-05-24-4/+5
* read(2) returns ssize_t, not size_tblambert2020-05-24-2/+3
* enable warningsflorian2020-05-24-1/+6
* Bail out if the buffer is too small to contain the length of a parameter valu...florian2020-05-24-4/+4
* dead stores; pointed out by llvm scan-build; no binary changeflorian2020-05-24-5/+1
* pause shadows global; pointed out by gcc; no binary changeflorian2020-05-24-5/+5
* mode is unused; pointed out by gcc; no binary changeflorian2020-05-24-2/+2
* declare lerr and lerrx __dead; unconfuses llvm scan-buildflorian2020-05-24-12/+12
* Instead of doing the fcntl(2) and ioctl(2) song and dance just tell socket(2)...florian2020-05-24-11/+5
* fix previous, and add a SEE ALSO section for httpd;jmc2020-05-24-5/+5
* remove nginx referencesrobert2020-05-24-5/+2
* Use lerrx instead of errx since the logging subsystem is already initialized....claudio2020-05-24-3/+3
* Implement -u (user to drop privs to) and -p flag (path to chroot to). This al...florian2020-05-24-13/+45
* Cleanup socket creation. Input ajacoutot some time ago; OK henning@florian2020-05-24-13/+10
* My previous attempt to chdir(2) to the directory containing the cgi script wa...florian2020-05-24-5/+10
* Calculate the length of name and value for parameters the right way around fo...florian2020-05-24-6/+6
* httpd(8) did a chdir(2) to the directory containing the cgi script. As there ...florian2020-05-24-1/+10
* jturner pointed out that if one wants to run cgi scripts outside /cgi-bin SCR...florian2020-05-24-2/+6
* Better explanation what slowcgi(8) is for. Room for improvements pointed out ...florian2020-05-24-2/+25
* Wording improvements from Patrik Lundinderaadt2020-05-24-4/+4
* fix reaper loop that could run indefinitelydjm2020-05-24-2/+5
* Make it clear that slowcgi(8) drops privileges to user www. Pointed out some ...florian2020-05-24-3/+5
* Initialize sun_len, pointed out by deraadt@. While there also check length of...florian2020-05-24-2/+6
* Fix a potential file descriptor overlap in exec_cgi() by making sure that fil...florian2020-05-24-2/+26
* We need to loop around waitpid to catch all exited children as we are not gua...florian2020-05-24-19/+20
* Do not leak fds in fork(2) error path. pointed out by deraadt@florian2020-05-24-1/+17
* Check for EINTR, too. pointed out by deraadt@florian2020-05-24-3/+3
* No need for volatile here. pointed out by deraadt@florian2020-05-24-2/+2
* spelling, spacing, etcderaadt2020-05-24-18/+20
* reserve file descriptors for incoming connections so we will be able to actua...benno2020-05-24-3/+35
* Keep track of which fds were closed before and only close those still open. O...florian2020-05-24-4/+16