summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-05-13The sab driver sometimes gets out of sync with the hardware. This canHenric Jungheim
cause the serial console to hang. ok jason@
2003-05-13Add option NO_PROPOLICE, which explicitely disables the use of the propoliceMiod Vallat
stack protection when building kernels. Intended to be used on installation media, with tight space constraints - currently, only added where SMALL_KERNEL was already defined. Not thoroughly tested, but requested by deraadt.
2003-05-13Nuke a few simple commons.Miod Vallat
2003-05-13snprintfTheo de Raadt
2003-05-13Force "struct timeval time" variable to be aligned to an 8-bit boundary.Miod Vallat
This is at least necessary for the sparc microtime() function, and was only working before by goat luck. The recent commons removal triggered it. __atribute__ syntax borrowed from NetBSD.
2003-05-13typos from Jean-Francois Brousseau;Jason McIntyre
2003-05-13Fix the tree. Jason, you were such a rock star yesterday, but it obviouslyTheo de Raadt
blinded you to the fact you were breaking ALL of our install media!
2003-05-13add support for tagging packets with arbitary tags and filtering based onHenning Brauer
those tags later on. ok dhartmei@ pb@ mcbride@ frantzen@
2003-05-13add PACKET_TAG_PF_TAG, to be used by PFHenning Brauer
2003-05-13Make the "slot" and "offset" locators for sbus drivers optional inMiod Vallat
configuration lines.
2003-05-13De-hackify. Use proper defines now that we have EI_OSABI and ELFOSABI_FREEBSDTodd C. Miller
2003-05-13Use EI_OSABI instead of EI_BRANDTodd C. Miller
2003-05-13sync e_ident[] identification indexes w/Todd C. Miller
http://www.caldera.com/developers/gabi/2000-07-17/ch4.eheader.html EI_BRAND is gone, we now have EI_OSABI and EI_ABIVERSION Add ELFOSABI_* defines that correspond to what binutils uses. Note that we don't currently set e_ident[EI_OSABI] to ELFOSABI_OPENBSD, though we probably should.
2003-05-13remove annoying sputtering that no other ethernet driver does; ok jason@Todd T. Fries
2003-05-13Back out previous change that causes "vnode table full" for large-scaleChristian Weisgerber
file operations.
2003-05-13back out. these changes were not tested. it might come as a surpriseTheo de Raadt
to some developers, but include files are not just used by the kernel. there are applications that pull them in as well. this change broke tcpdump, and who knows what else. i've been talking for 24 hours now about tree breakage and let this be official: I am prepared to lock the tree entirely if need be. YOU WILL GET OK PERMISSION FROM EVERYONE, NOT JUST FROM ONE PERSON
2003-05-13remove -fno-stack-protector (enable propolice)Ted Unangst
ok deraadt@
2003-05-13support for propolice in the kernel.Ted Unangst
some style input itojun@ tdeval@ toby@ tested, mostly by deraadt, on i386, macppc, vax, sparc64 ok deraadt@ miod@
2003-05-13turn layer fs back on. nullfs at least is very solid, and union isn't tooTed Unangst
bad. suggested by deraadt and naddy
2003-05-13move ethernet protocol type defs into sys/net/, as it is not just for ethernetJun-ichiro itojun Hagino
(FDDI, ieee1394, ...). follows netbsd practice. 2 jasons, dhartmei, thierry ok
2003-05-13The current solution to handle the protection fault trap is notArtur Grabowski
correct. It breaks down if we're trying to jump through a function pointer. The protection fault trap on i386 must be one of the most braindead traps ever invented in the history of humankind. It doesn't give you any information about what went wrong except the instruction that faulted. Since the problem we're trying to deal with is a segmentation problem, we don't get the desitination that we want to jump to, we just get the instruction and we won't add a disassembler to trap handling just to try to figure out what went wrong. What we want to do is to handle this as a normal fault to let noexec accounting in pmap_enter deal with the changes to the code segment. Unfortunately that's impossible. We don't know the faulting address, so we need to change how the exec accounting works. Basically the code segment must already cover the address we want to execute before we can fault it in. New scheme: o Start with conservative code segment. o If we get a protection fault, go through all mappings in the process and find the highest executable mapping, fix up the code segment and record that address. If the code segment didn't change, the protection fault wasn't fixable - just die. o If the highest executable mapping is removed, just reset the code segment to something conservative and let the next protection fault deal with it. We can't read all the vm mappings of the process from the pmap because of locking hell. This should allow floating code segment whenever someone implements that. Also, fix the pmap_protect function to behave more like the other pmaps we have and be slightly more agressive to force more proper protection changes. ok:ed by various people.
2003-05-13do reclaim LAYER vnodes, no good reason not toTed Unangst
2003-05-13corrected the pointer value for ifp nd6_rtmsgJun-ichiro itojun Hagino
(from KIU Shueng Chuan) ok dhartmei
2003-05-13Kill a bunch more commons (very few left =)Jason Wright
2003-05-13kill a stupid warningJason Wright
2003-05-13nuke curproc common (yes this will need revisiting in smp land, but whatJason Wright
doesn't).
2003-05-13nuke common: ifnet_addrsJason Wright
2003-05-13Don't report devices with incomplete implementations as OFFLINE.Kenneth R Westerback
Fixes frantzen@'s pentax digital camera. Suggested by Costa. ok csapuntz@ frantzen@.
2003-05-12mapdata -> umapdata like it was beforeTed Unangst
2003-05-12- TCP window scaling is not applied to the SYNs' window so we must retract theMike Frantzen
initial maximum window by the scaling factor. otherwise our view of the allowable sequence window is too big. back out the scaling factor adjustment from the max window if the other endpoint rejects window scaling - window scale the forward ACK skew check ok dhartmei@
2003-05-12Quoting Theo: Do not approve diffs when you're hungover.Artur Grabowski
Accessing p_md members from MI code is not legal.
2003-05-12use snprintf. ok mickeyTed Unangst
2003-05-12syncHenning Brauer
2003-05-12fix oversight in the CNET CNF301 recordHenning Brauer
2003-05-12Add comment about special (non-index) PFTM_* values.Daniel Hartmeier
2003-05-12fix up locking and some issues with union. derived from netbsdTed Unangst
2003-05-12new files for layer fs if nullfs | umapfsTed Unangst
2003-05-12{null,umap}_v* are now named after the file system option:Ted Unangst
{nullfs,umapfs}_v*
2003-05-12replaced by layer_subr.cTed Unangst
2003-05-12umapfs uses the new layer stuff now too.Ted Unangst
2003-05-12most of the fixes for nullfs. use the new common layer stuff in genfs.Ted Unangst
2003-05-12new files to support layered file systems. to be used in a bit.Ted Unangst
mostly from work by Bill Studenmund - wrstuden at netbsd
2003-05-12use new display types; ok miodJason Wright
2003-05-12sho proc [addr] to print some proc's field; art@ okMichael Shalayeff
2003-05-12use new display typesJason Wright
2003-05-12Initial work to bring this driver in par with other sparc frame buffers:Miod Vallat
- do not reprogram the colormap to black and white, after programming the rasops one (oops). This gives us back a black on white display with colour support. - if the screen resolution would cause the switch from the prom font to a reasonably sized wsfont to leave text in the margins, clear the screen (cut and paste from similar code in vigra.c) - try and use more symbolic constants rather than magical values all over the place. Thanks to millert@ for bringing a sparcbook here.
2003-05-12strlcpy; tedu okTheo de Raadt
2003-05-12Reorder IPv6 address comparisons to check the least significant partsRyan Thomas McBride
first. The least significant portions of the IPv6 address are more likely to differ than the more significant ones, since in most situations half the addresses (either the source or the destination) will be in the local subnet. ok dhartmei@ henning@
2003-05-12Correctness nit. Initialise state search trees properly.Ryan Thomas McBride
ok henning@ frantzen@
2003-05-12warn on right symbols, oopsTheo de Raadt