summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-27When enforcing TOS (Traffic Class), preserve the ECN bits, just as we doJeremie Courreges-Anglas
with IPv4 packets. ok mikeb@
2014-03-27fix a theoretical double free.daniel
ok tedu@
2014-03-27everything is at least 4 byte alignedDavid Gwynne
2014-03-27Stop dereferencing the ifp pointer present in the packet header allMartin Pieuchot
over the input path since it is going to die. Should be no functional change. ok mikeb@, lteo@, benno@
2014-03-27adjust commented-out sample blocks for PHP and SSL configurations:Stuart Henderson
- add a small shared SSL session cache - disable rc4 ciphers in sample config - switch to a unix socket for php-fpm - use try_files to avoid passing non-existing files to php http://wiki.nginx.org/Pitfalls#Passing_Uncontrolled_Requests_to_PHP ok robert@
2014-03-27Stop mixing interface address flags with routing entry ones.Martin Pieuchot
Instead of always copying ifa_flags to the routing entry flags when creating a route by calling rtinit(), explicitly pass the RTF_CLONING flag when required. This means ifa_flags are now *only* used to check if an address has an associated route that was created by the kernel auto-magically. ok benno@
2014-03-27Store an ifp index instead of a pointer in the "struct mbuf_ext".Martin Pieuchot
This is part of the plan to remove the ifp pointer from the packet header that will allow us to stop garbage collecting mbuf(9)s when an ifp is detached/destroyed. ok mikeb@, lteo@, benno@
2014-03-27replace x86_atomic_cas_things with atomic_cas_foo equivalents.David Gwynne
ok kettenis@
2014-03-27tweak mpii_start.David Gwynne
on 64bit archs you can post the descriptor in one go, which is easy. on 32bit you have to post it in halves in the right order, which is not atomic and requires barriers for ordering.
2014-03-27the request and reply descriptors are 8 byte aligned for the hardware.David Gwynne
2014-03-27zap dead code; OK lteo@Florian Obser
2014-03-27Don't use nospace uninitialized in gotobop and gotoeop.Florian Obser
Problem noticed and diff from bcallah@. Slightly different fix by me. OK lum@, bcallah@
2014-03-27new-line -> newline;Jason McIntyre
not sure whether it's worth flattening the other few examples of this in our pages, but since it's used multiple times here without hyphen, at least keeps this page consistent;
2014-03-27tweak previous; help/ok dlgJason McIntyre
2014-03-27restore_sum: remove newly created sum file(s).Antoine Jacoutot
2014-03-27tweak the looping of the postqDavid Gwynne
2014-03-27you want the ring to wrap when it gets to the size of the ring, not oneDavid Gwynne
after it. jmatthew@ figured out i am bad at c.
2014-03-27optimise mpii_push_reply.David Gwynne
int types are easier to work with than shorts. use a compare to handle ring wraparound rather than a mod operation.
2014-03-27updating the reply queue indexes on the chip dont have any dependentDavid Gwynne
register ops, so dont need barriers around them.
2014-03-27remove unused macrosDavid Gwynne
2014-03-27forgot a htolem32David Gwynne
2014-03-27apply more htolemXX and lemtohXX.David Gwynne
2014-03-27Check for PS_SUGID/PS_SUGIDEXEC against the correct set of flagsPhilip Guenther
ok deraadt@
2014-03-27Reorder a few struct process members to avoid copying some valuesPhilip Guenther
that will be reinitialized anyway. Delete some blank lines to prevent the same error being repeated. ok millert@ deraadt@
2014-03-27move to htolemXX and lemtohXX. interestingly, this caught a few typeDavid Gwynne
errors which may have affected operation on BE archs. ok jmatthew@
2014-03-26login.conf(5) is not special anymore.Antoine Jacoutot
2014-03-26Previously, C-t (transpose two chars) did not behave the same asMark Lumsden
Emacs. This diff makes mg behave more so. Though new-line characters are treated as any other. Difference from emacs observed and reported by deraadt@. First diff tested and ridiculed by deraadt@. Second diff not tested and not ridiculed by deraadt@ but at least email responded to.
2014-03-26Without bloating mandoc(1) itself, let mandocdb(8) support filesIngo Schwarze
called manN/X.N.gz and catN/X.0.gz, reading them through a pipe(2) from gunzip(1) -c. Asked for by various people in the past.
2014-03-26Remove bsd-wrapper pieces to handle pulling unbound-host.1 from src,Stuart Henderson
no longer needed now that this file is handled the same in Unbound's build infrastructure as the other manpages.
2014-03-26Handle unbound-host(1) the same way as other manpages and have configureStuart Henderson
generate a copy in the build directory. Removes some complexity and fixes a problem noticed by rpe@ when running 'make -f Makefile.bsd-wrapper clean' in src dir without having an obj dir present. From upstream r3100.
2014-03-26Print correct filename if config errors exist in an "include"d file.Stuart Henderson
From upstream r3099
2014-03-26Improve error reporting.Ingo Schwarze
Simplify combining a custom format string with perror(), avoiding many manual calls to strerror(errno). For low-level failures, report attempted function calls. Do not abuse the say() filename argument for files outside the basedir, and even less for other text.
2014-03-26syncTheo de Raadt
2014-03-26end experimental login.conf template support. one file per machine.Ted Unangst
ok deraadt millert
2014-03-26remove libwrap support. ok deraadt djm mfriedlTed Unangst
2014-03-26Increase max data size. 32G is the new 640K.Ted Unangst
Using this much memory may have negative side effects, but at least now you have the option. Here's some rope; have fun. maybe ok a few people.
2014-03-26Service R4[04]00SC-specific virtual coherency exceptions directly from theMiod Vallat
lowest bowels of the exception handling code, rather than in trap(). They won't get recorded in the trap history, but there is a measurable speedup. No change for non-CPU_R4000 kernels.
2014-03-26asr API is now publicEric Faurot
2014-03-26Make the asr API public. Install asr.h to /usr/include.h and manpages.Eric Faurot
Include tweaks suggested by mpi@ ok deraadt@
2014-03-26The current sharing of myproposal[] between both client and server codeTheo de Raadt
makes the previous diff highly unpallatable. We want to go in that direction for the server, but not for the client. Sigh. Brought up by naddy.
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@
2014-03-26Make perl build in a non-writable src treeafresh1
OK millert@ deraadt@
2014-03-26bcmp -> memcmpMartin Pieuchot
2014-03-26Add a CONTEXT section.Martin Pieuchot
2014-03-26No need to include <sys/lock.h> when only <sys/rwlock.h> is needed,Martin Pieuchot
so remove the former and include the latter instead of pulling it in <dev/pci/agpvar.h>. This header already requires various other types anyway. While here remove unneeded headers.
2014-03-26Add a CONTEXT section.Martin Pieuchot
2014-03-26Add a CONTEXT section, requested by dlg@Martin Pieuchot
2014-03-26strdup() returns NULL if out of memory, we should check it.Gleydson Soares
OK beck@
2014-03-26Add support for retrieving the line and speed from the /etc/remote dvNicholas Marriott
and br capabilities like tip(1). No other capabilities are supported. Also handle REMOTE in the environment as either a separate remote(5) file or a host. Discussed with and approval from several, man page help from schwarze@.
2014-03-26update manpageEric Faurot