summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-20Make the man(1) and apropos(1) options -s and -S much less expensive:Ingo Schwarze
Do not append an SQL clause looking into the large "keys" table. Instead, filter the result of the SQL query in buildnames() where equivalent data from the much smaller "mlinks" table is already available for free. This is relevant because man(1) uses the equivalent of "-S ${MACHINE}" by default since main.c rev. 1.122, to make sure that manuals for the current architecture are shown. With many ports installed, this patch can speed up man(1) by a factor of more than a hundred. Slowness reported by Theo Buehler <theo at math dot ethz dot ch>, thanks!
2015-01-20FSHIFT does not need to go to userland, so convert it to _FSHIFT.Theo de Raadt
FSCALE still needs to be exported .. unless someone fixes a few ports that need it. ok guenther, tested by sthen
2015-01-20Nothing in this file requires <sys/queue.h>. While here remove old andMartin Pieuchot
unused typedef & external definitions.
2015-01-20Years ago, MSIZE had to be known in <sys/param.h> probably to allocateTheo de Raadt
memory for the mbuf layer up front. These days it only matters for sizing of macros in <sys/mbuf.h>, so move it there. MCLSHIFT, MCLBYTES, and MCLOFSET can move also (a decade ago, architectures had different mbuf sizes. you don't want to know more) ok guenther, ports fallout checked for by sthen
2015-01-20Do not assume a read buffer coming from libevent is aligned. Copy theTheo de Raadt
int to an aligned variable before operating on it. ok claudio
2015-01-20MAXFRAG was always placed incorrectly in <sys/param.h> It is primarilyTheo de Raadt
used in disklabel type tools, newfs, fsck, when related to ufs or ufs-derived filesystems, but also in a struct. Those things always include <ufs/ffs/fs.h>. Move it there ok guenther, tested in ports by sthen
2015-01-20CMASK was only a CSRGism. It was only used in the kernel and ftpd, onceTheo de Raadt
each, never in portable software. Mop it up. ok guenther, tested in ports tree by sthen
2015-01-20use <limits.h> comprehensively. For now try to push <> includes toTheo de Raadt
each .c file, and out of the .h files. To avoid overinclude. ok gilles, in principle. If this has been done right, -portable should become easier to maintain.
2015-01-20Prevent tables referenced by rules in anchors from getting disabled.Mike Belopuhov
Analysis and patch by Richard Kojedzinszky, thanks! ok henning
2015-01-20Rewrite to void using union sockaddr_unionTheo de Raadt
ok mikeb
2015-01-20Merge two copies of the same dma code into one file and sync the headers.Martin Pieuchot
ok kettenis@
2015-01-20Various cleanups. Explicitly include <sys/atomic.h>, Use pmap_remove_pg()Martin Pieuchot
for the kernel pmap and kill pmap_kremove_pg(). Finally guard the hash lock code under "MULTIPROCESSOR" to explicit which part of the code received some MP love. ok kettenis@
2015-01-20Add support for the "-r fromaddr" flag now that we don't supportTodd C. Miller
sendmail flags on the command line. Also allow "from" to be set in mailrc. Use sendmail's "-t" flag when executing sendmail instead of specifying the list of recipients in argv. The "-f" flag will be used to set the from address if specified.
2015-01-20Allocate a bit more memory to reduce the change of having toTodd C. Miller
realloc() which is expensive for large blacklists.
2015-01-20increase limits for staff (user created at install time is in staff)Theo de Raadt
2015-01-20Revert some $OpenBSD$ additions about which there are doubts.Kenneth R Westerback
Suggested by deraadt@
2015-01-20Revert some $OpenBSD$ additions about which there are doubts.Kenneth R Westerback
Suggested by deraadt@
2015-01-20Revert some $OpenBSD$ additions about which there are doubts.Kenneth R Westerback
Suggested by deraadt@
2015-01-20Make ix(4) work on strict alignment architectures. The Intel networkingMark Kettenis
hardware is fairly retarded. While it allows receive buffers with an ETHER_ALIGN offset, it only allows the size of the buffers to be specified in multiples of 1K. This means that if we want to use standard mbuf clusters we will waste 1024 - ETHER_ALIGN bytes per cluster, which is a lot for the 2K clusters we use now. Compromise a bit by using 4K clusters on strict alignment architectures and tell the hardware to use 3K of those, reducing the spillage a bit. While this isn't optimal, at least on sparc64 where we have 8K pages, the pool page allocation overhead should be the same as on amd64/i386 where we have 4K pages and continue to use 2K mbuf clusters. ok mikeb@, dlg@
2015-01-20We do not support AIO, so comment it out in the kqueue(2) manpage for now.Reyk Floeter
OK jmc@ guenther@
2015-01-20typo in comment ;) ok nicmStuart Henderson
2015-01-20Check for out-of-range indices when searching the default dac and adc.Alexandre Ratchov
Fix from Alexey Suslikov <alexey.suslikov at gmail.com>. Thanks! tested by many, ok armani
2015-01-20Split out from rdist/defs.h the client-only and server-only bits intoPhilip Guenther
rdist/client.h and rdistd/server.h Only put #includes in .h files that are necessary for the .h to be used; all other #includes go in the .c files Move all extern variable declarations to the .h files, renaming local variables to avoid shadowing Replace me_type member of mntent_t with an "is NFS?" flag bit
2015-01-20Support blinking cursor mode, both the xterm CSI ?12 h/l and (theNicholas Marriott
backwards) screen CSI 34 h/l. From Guanpeng Xu.
2015-01-20this test would accidentally delete agent.sh if run without obj/Damien Miller
2015-01-20make this compile with KERBEROS5 enabledDamien Miller
2015-01-20fix hostkeys in agent; ok markus@Damien Miller
2015-01-20Change the machdep.lidsupsend example now that the default setting has beenTheo de Raadt
inverted.
2015-01-20We all have syslog() now; assume LOG_PID and LOG_DAEMONPhilip Guenther
2015-01-20Change the machdep.lidsupsend example now that the default setting has beenMiod Vallat
inverted.
2015-01-20Move MF_* to message.c tooPhilip Guenther
2015-01-20Move struct distoptinfo into distopt.c, killing the DISTOPTINFO typedefPhilip Guenther
Move struct msgtype and msgfacility into message.c, killing the MSGTYPE and MSGFACILITY typedefs Make getdistopt() static to distopt.c
2015-01-20rework the audio key handling to allocate a message to send to theDavid Gwynne
task, rather than abusing task arguments to carry long values around. this is unreliable, but so was the previous mechanism, just in a different way. if you're so low on memory that you cant change the volume, you probably have other more important problems going on too. tested by jim smith
2015-01-20Fix size of the bcopy when extracting the MAC address.Brad Smith
From FreeBSD
2015-01-20Don't use utime(), so don't need <utime.h>Philip Guenther
2015-01-20Missing $OpenBSD$'s.Kenneth R Westerback
ok deraadt@
2015-01-20Remove use of the link change interrupt handling, not all controllersBrad Smith
support this interrupt. Link state changes are noticed via the PHY status change callback or via the timeout for re_tick(). From FreeBSD
2015-01-20Some fixes for handling link state changes.Brad Smith
2015-01-20And the variable too.Brad Smith
2015-01-20SELECT_FD_TYPE is obsoletePhilip Guenther
2015-01-20Back out a chunk of rev 1.34 that wasn't supposed to go in with theBrad Smith
capitalization corrections.
2015-01-20printf wasn't supposed to go in.Brad Smith
2015-01-20Move #include <syslog.h> to the one file that needs itPhilip Guenther
2015-01-20Add support for tracing libraries in static PIE binaries. rcrt does notTheo de Raadt
contain "LD_TRACE_LOADED_OBJECTS" support, so this gets done by calling RTLD_TRACE directly. ok guenther
2015-01-20#include <sys/syslimits.h> to allow operation without requiring the noiseTheo de Raadt
of <sys/param.h>
2015-01-19DEFAULT_PRIORITY and DEFAULT_QLIMIT no longer usedTheo de Raadt
2015-01-19Routing sockets are here to stay, so delete the wrapper that would use thePhilip Guenther
defunct ioctl(SIOCSARP) ok millert@
2012-08-16basic randomdata regression testsMatthew Dempsky
2012-04-14sqlite 3.7.11 library, vendor sourcesMarc Espie
2012-03-26Import Unbound 1.4.16 to work on in-tree (not yet linked to the build).Stuart Henderson
These are the direct sources from NLnet Labs upstream, minus these: compat contrib libunbound/python pythonmod testcode testdata winrc ok deraadt@ jakob@