summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-03Implement the traditional -h option for man(1): show the SYNOPSIS only.Ingo Schwarze
As usual, we get mandoc -h and apropos -h for free. Try stuff like "apropos -h In=dirent" or "apropos -h Fa=timespec". Only useful for terminal output, so -Tps, -Tpdf, -Thtml ignore -h for now.
2014-09-03Mark msg() and panic() as printf-like and fix the format error it turns upPhilip Guenther
ok krw@
2014-09-03Kill off compat for systems that don't define NAME_MAX or that lack stuffPhilip Guenther
like, oh, strchr() and prototypes for read() and write(). Mark quit() as both __dead and printf-like, and dumpabort() as __dead. ok krw@
2014-09-03tasks dont need a mutex and a semaphore to protect against multiple usesDavid Gwynne
of the task structure like workq tasks did. tested on an fc929
2014-09-02To examine the operation of the signal handlers, the tests grep inAlexander Bluhm
the ktrace output of syslogd. Also make the tests work without DNS and without sudo.
2014-09-02FastCGI did not support persistent connections. Add initial supportReyk Floeter
for persistent connections with FastCGI by implementing chunked Transfer-Encoding. This only works with HTTP/1.1. With input and help from florian@ who found some FastCGI edge cases. OK florian@
2014-09-02syncJonathan Gray
2014-09-02document new PORTSCOUT variable. w/ and ok espie@Jasper Lievisse Adriaanse
2014-09-02we dont enable jumbos based on the interfaces mtu config.David Gwynne
2014-09-02Jumbo support for some newer chipsets.Brad Smith
2014-09-02Add Jumbo support for BCM5714 / BCM5780 and BCM5717 / BCM5719 / BCM5720 / ↵Brad Smith
BCM57765 / BCM57766 chipsets. ok mikeb@ "i think it should go in" dlg@
2014-09-02Add tests that run the syslogd signal handlers.Alexander Bluhm
2014-09-02Fix previous commit: fd wasn't set in the FAE_DUP2 casePhilip Guenther
2014-09-01When makewhatis(8) finds an .so link after the manual being pointed toIngo Schwarze
has already been processed, add the file names to the names table, too, not just to the mlinks table. This fixes a bug where apropos(1) and the new man(1) wouldn't find some of the Xenocara manuals via some of their .so links. After rebuilding, run "makewhatis /usr/X11R6/man" or just wait for weekly(8).
2014-08-20Run syslogd regressions tests. As only one syslogd can run perAlexander Bluhm
machine, each test kills any syslogd first. At the end the system's syslogd gets restarted. The test framework runs a client, and a server, and a syslogd. The messages are passed via the log socket or via UDP from the client to syslogd. From there UDP transport is used to reach the server. All processes write log files where the message has to show up. The test arguments are kept in the args-*.pl files. The content of a log file, the data sent to a pipe process and what the server received are checked. The invocation of the sendsyslog(2) syscall is checked with ktrace, the open file descriptors of syslogd are checked with fstat.
2014-09-01In man(1) mode, change to the right directory before starting the parser,Ingo Schwarze
just like traditional man(1) does, such that .so links have a chance to work. After this point, we don't need the current directory for anything else before exit, so we don't need to worry about getting back and we can safely ignore failure. This lets man(1) find more Xenocara manuals, but not all of them yet. Other issues remain that need to be fixed, too.
2014-09-01Fix typo (paneas -> panes).Nicholas Marriott
2014-09-01Wake up any clients waiting with the wait-for command when the serverNicholas Marriott
exits.
2014-09-01Various minor style and spacing nits.Nicholas Marriott
2014-09-01Close fd if fdopen failsDoug Hogan
ok gilles@
2014-09-01Enable -Wshadow in openssl(1) and fix a few shadow warnings.Doug Hogan
ok jsing@
2014-09-01Fix evil typo.Antoine Jacoutot
from wbyte via Bryan Steele
2014-09-01Set the configuration number and get the interface handle in attach(),Martin Pieuchot
like urtwn(4) does, to prevent a null dereference of the configuration descriptor. Issue reported and fix tested by Ludovic Coues on misc@
2014-09-01Convert ecparam to new option/usage handling.Joel Sing
2014-09-01Improve option usage output.Joel Sing
If the option/argument string exceeds the given width, add a hanging indent prior to displaying the description. Also, if the description includes newlines, wrap and indent for each newline so that the indentation is correctly maintained.
2014-09-01The libevent event_log() function called by event_msgx() adds a newAlexander Bluhm
line itself. Do not print a double new line when EVENT_SHOW_METHOD is set. OK nicm@
2014-09-01Replace the obsolete nginx example with an httpd(8) example.Reyk Floeter
ok jmc@
2014-09-01Don't pass the local buffer array by reference.Reyk Floeter
OK florian@
2014-09-01remove Xr, but not the reference, to nginx, after some discussion with reyk;Jason McIntyre
2014-09-01@newuser and @newgroup won't necessarily be on the machine during pkg_create,Marc Espie
so fake uid/gid 0 if they're not. (removes some warning message)
2014-09-01be a wee bit more paranoid about file sizes.Marc Espie
2014-09-01Replace the code to get the FastCGI Status header with a proper way toReyk Floeter
parse and write the headers using the http response descriptor. This allows to add other tweaks, like support for chunked encoding, later. OK florian@
2014-09-01Revert previous, it puts too much pressure on memory allocation asMartin Pieuchot
reported by Bryan Linton on bugs@.
2014-09-01move mpi(4) from workq to taskqBret Lambert
ok dlg@
2014-09-01update currency exchange rates;Jason McIntyre
2014-09-01Do not compare checksum of checksums...Antoine Jacoutot
2014-09-01apply fix from upstream to remedy RT 37700, which hardens the close() functionJasper Lievisse Adriaanse
ok millert@
2014-09-01Make this consistent with sys/kern/Makefile: require the 'syscalls' targetPhilip Guenther
2014-09-01sync generated filesDoug Hogan
2014-09-01Sync readlink(2) with IEEE Std 1003.1-2008.Doug Hogan
discussion, help and ok guenther@
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2014-09-01Add implementations of atomic_{inc,dec,add,sub}_{int,long}() andPhilip Guenther
atomic_{add,sub}_{int,long}_nv(), based on Solaris and translated through the mind of dlg@ Remove the 'memory' constraint from atomic_cas_{uint,ulong,ptr}() now that rw_{enter,exit}*() use membars. ok dlg@
2014-09-01Add explicit membars, so that we can stop requiring rw_cas() toPhilip Guenther
provide the magic. ok matthew@ dlg@
2014-09-01Simplify the syslog.conf example: .info means that *and higher*Philip Guenther
ok beck@
2014-08-31The reapchild() signal handler collects all children. This can beAlexander Bluhm
done easier by ignoring SIGCHLD. OK guenther@
2014-08-31replace LRU bufcache with something originally modelled after 2Q.Ted Unangst
this should provide a degree of scan resistance, and also serves as a midway point for further development of multi queue algorithms. i've tried to minimize the risk and degree of regressions. probably ok beck
2014-08-31Do not call free() on an array in the data section. FortunatelyAlexander Bluhm
the code was not reached. No binary change. OK miod@ guenther@
2014-08-31no Pp needed before non-compact lists;Jason McIntyre
2014-08-31accept4() should be a cancellation point.Philip Guenther
Update the list in the pthread_testcancel(3) manpage: several were missing. noted by miod@
2014-08-31Sync enc/dec routines with libc.Miod Vallat