summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-16Old proc is stored in %arg0, not in %arg2.Mark Kettenis
2011-08-16Compile in serial console settings support if any com(4) device is includedMark Kettenis
in the kernel, not only when com @ gsc is there.
2011-08-16Compile in serial console settings support if any com(4) device is includedMark Kettenis
in the kernel, not only when com @ gsc is there. ok miod@
2011-08-16Sync documentation with code on the matter of max state limit behavior.Mike Belopuhov
When one of the state limits is reached, further packets that would create state are dropped, until existing states time out. Discussed with mcbride, ok henning, jmc
2011-08-16Put back the pedro diff for VOP_FSYNC of softdep when itsThordur I. Bjornsson
limit is reached. Added twist, clamp the max_softdeps to 64 as it is still possible to exhaust bufkva.
2011-08-16recommit, now that release is done (handle sysv if bsd is incorrect, mayMarc Espie
make more extensive plans later)
2011-08-16Add a -r flag to switch-client to toggle the client read-only flag. FromNicholas Marriott
Johan Commelin.
2011-08-16Add up/down/left/right keys in vi edit mode. From "livibetter" SF bugNicholas Marriott
3385651.
2011-08-16Use key_bindings_remove for unbind-key -a to allow it to work from keyNicholas Marriott
bindings. From "miaout17" SF bug 3392063.
2011-08-16Correctly skip existing numbers when generating the name for a newNicholas Marriott
session.
2011-08-16Don't export 'struct pmap' to userland.Mark Kettenis
2011-08-16Make this build for hppa64.Mark Kettenis
2011-08-09In pmap_create(), check uvm_pagealloc() return value and uvm_wait() until itMiod Vallat
is non-NULL. Prevents a panic caused by a NULL dereference when physical memory is exhausted at pmap_create() time. ok kettenis@, deraadt@
2011-08-08Usual release distrib/notes churning. ok deraadt@Miod Vallat
2011-08-08Ship 5.0 with bufcachepercent=20Theo de Raadt
2011-08-08Fix a formating bug that caused a bad print on big endian arches.Marco Peereboom
ok deraadt
2011-08-08create pflog0 if pf is enabled just like we do in the pflogd scriptRobert Nagy
from sthen@
2011-08-08revert the last commit and do the right thing instead.Alexander Hall
tested and ok krw@, "get it in" deraadt@
2011-08-08If two carp interfaces on the same physical interface had addressesAlexander Bluhm
with the same prefix, neighbor discovery did not work. When comparing two carp interfaces in in6_ifpprefix(), assume they share the prefix if they have the same parent. sure deraadt@
2011-08-08sync 'set-tos' with 'tos' keyword (DiffServ is supported by both)Ryan Thomas McBride
ok deraadt
2011-08-08myx requires the driver pad short ethernet frames to 60 bytes byDavid Gwynne
adding a descriptor pointing at zeroed bytes onto the end of transmit chains. i was accounting for this extra descriptor when i was completing the chain, but not when i was setting this up. this meant the number of free descriptors kept growing until it overflowed. at this point the check for space in the ring failed and packets no longer flowed. this counts the pad descriptor in the tx chain setup too. ok deraadt@
2011-08-07A few more fixes to the lazy FPU context switching code.Mark Kettenis
2011-08-07Avoid clobbering system call arguments upon system call entry.Mark Kettenis
2011-08-07Enable ssio(4) and com(4).Mark Kettenis
2011-08-07Bring over ssio(4) from hppa for proper serial console support.Mark Kettenis
2011-08-07Several fixes for the IPV6_PKTINFO handling with sendmsg(2)Mike Belopuhov
Verify that the address in the in6_pktinfo structure included in the control message is unicast and configured on the local host. Additional checks prevent from using non-routable addresses and inactive interfaces. Embed the scope identifier into the link local addresses as required by the stack. Do not force users to provide valid interface index in the ipi6_ifindex but look it up in place if needed. ok bluhm, waived by deraadt for the release.
2011-08-07Recognize 64-bit store instructions.Mark Kettenis
2011-08-07Make sure interrupts are properly masked at the level they're established at.Mark Kettenis
The old code left an interrupt enabled at that level, making spl-protection non functional. Remove __packed from struct hppa_iv. Instead re-order the members to pack things efficient on a 64-bit host. Remove explicit padding.
2011-08-07When checking wether a prefix belongs to an interface, also allowAlexander Bluhm
the route to be at the corresponding carp or physical interface or at an interface belonging to a common bridge. This fixes IPv6 neighbor discovery with carp. bug report and tested by Florian Fuessl put it in deraadt@
2011-08-07Check that timezones provided by the user do not include spaces.Kenneth R Westerback
e.g. 'Brazil/DeNoronha East'. Input with embedded spaces put the install script into a state where a valid timezone could not be entered. Problem noted by and fix tested by Javier Bassi. ok deraadt@
2011-08-07typo, fix from Laurent GautrotDarren Tucker
2011-08-05Switch hppa64 cross compiling environment to gcc4.Mark Kettenis
2011-08-04Don't use 128-bit long doubles for now (and perhaps forever). It isn'tMark Kettenis
implemented in hardware anyway.
2011-08-04Move the check that ::1 is not allowed from the wire before pf_test().Alexander Bluhm
Otherwise pf could reroute or redirect such a packet. KAME moved it in rev 1.189 of their ip6_input.c. This also allows rdr or nat to ::1 in pf. bug report and test camield@ ok mikeb@; go for it deraadt@
2011-08-04Make this compile with gcc4. Same fix as for hppa.Mark Kettenis
2011-08-04Add support for hppa64.Mark Kettenis
ok deraadt@
2011-08-04Initial hppa64 code drop; not finished yet, but this at least allows us toMark Kettenis
build stuff. ok deraadt@
2011-08-04In `string' state, accept bell (^G) as an end of sequence in addition toMiod Vallat
`ESC \', as supported by xterm; some third-party software such as ncmpcpp rely upon this. Noticed by dcoppa@, based on a draft diff by nicm@; ok deraadt@
2011-08-03Add support for hppa64 based on the defaults for 64-bit HP-UX as found in theMark Kettenis
Configure script. ok deraadt@
2011-08-03Add small chunks of new text and better examples written from scratch,Ingo Schwarze
filling gaps found by checking the MANUAL DOMAIN chapter in mdoc.samples(7). While here, fix lots of minor issues. feedback and ok jmc@; tree is locked, but ok to commit this one from deraadt@
2011-08-03back out pedro diff for VOP_FSYNC of softdep when limit is reached.Bob Beck
The basic analysys is correct, however, the problem in this case is that by forcing softdept to synchornously flush everything across *all* softdep filesystems we cause a huge performance problem when we take a 3 second pause and slam everything synchronously. the right way to fix this is to fix the speedup_softdep code, not make the filesystem go synchronous when we hit a limit - if we are doing that we may as well not run softdep it will be faster. ok deraadt@
2011-08-03Don't try to outsmart gcc inline assembler when saving the cpsr in theMiod Vallat
thread context, this used to work but loses bigtime with gcc4. ok drahn@ deraadt@
2011-08-03move to releaseTheo de Raadt
2011-08-03As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG isTheo de Raadt
not the same as it was in 4.9 or earlier. In either case you can turn it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not enabled you only get a subset of the strict checks. ok kettenis miod beck
2011-08-03Fix linux compat breakage: can't copyin() from kernel-space, soPhilip Guenthe
move that out of i386_set_threadbase(), and have clone() pass NULL to fork1() for the child func argument so that it gets the child proc pointer. Report and verification by pirofti@, heavy lifting by matthew@
2011-08-03Remove the 'obsolete file(s)' feature. It may come back at some pointAntoine Jacoutot
(doubtful) but since files tend to move from one set to another sysmerge would end up tagging them as obsolete. I see no way to fix this... req. by and ok deraadt@, ok landry sthen@
2011-08-03Remove redundant prototype for pf_socket_lookup().Marco Pfatschbacher
It's already in pfvar.h OK mcbride@
2011-08-03save/restore tty state on SIGTSTP/SIGCONT. ok deraadt@ nicm@Otto Moerbeek
2011-08-03Alexander Polakov found a use of an uninitialized pointer in the scsiDavid Gwynne
unmap handling.
2011-08-03someone (*cough*henning*cough*) made pf_state.state_flags a u_int16_tDavid Gwynne
without growing it in pfsync_state too. to keep the wire format compat this uses some of the pad bytes to send all the state flags on the wire as well as maintaining the old state_flags field. after 5.0 we'll deprecate the original field and only use the new one. discussed with mcbride and deraadt and based on a diff from deraadt. tested against an "old" pfsync locally. ok mcbride@ henning@ deraadt@