summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-26Clean up how we print the sbus(4) clock speed. Purely cosmetic.Mark Kettenis
ok miod@, deraadt@
2010-12-26Use sizeof(double) instead of hardcoding 8.Miod Vallat
2010-12-26nits with current being NULL or not.Marc Espie
okay miod@
2010-12-25Yet another batch of -Thtml polishing from kristaps@:Ingo Schwarze
In particular, use <SMALL> for .SM and <CODE> for .Dl. Use <B> for bold and <I> for italic in general. Also call this mandoc 1.10.8 now, as it is functionally equivalent, even though one one set of refactoring patches has not been merged yet because it conflicts with our tbl(1) handling.
2010-12-25ntfs memory names were too long and make vmstat -m look uglyTed Unangst
2010-12-24add a param to uvm_map_hint to not skip over the heap, and use it as a lastTed Unangst
resort if mmap fails otherwise to enable more complete address space utilization. tested for a while with no ill effects.
2010-12-24don't send the actual forced command in a debug message; ok markus deraadtDamien Miller
2010-12-24the bsdi ldt entry is no longer interesting. from valdimir kirillovTed Unangst
2010-12-24in pf_src_connlimit, the indices to sk->addr were swapped.Henning Brauer
tracked down and diff sent by Robert B Mills <rbmills at sdf.lonestar.org> thanks, very good work! ok claudio
2010-12-24crtbeginS.o needs to be buit with -fPIC; with -fpic the relocations for theMark Kettenis
gcc3/4 exception handling related symbols will be truncated causing linker failures when building shared libraries. ok drahn@, deraadt@, miod@
2010-12-24fix crash:Alexandr Shadchin
after boot and before the first activation (wsmoused or X), sc->protocol is not initialized, and any call ioctl lead to crash (example 'wsconsctl -a') thanks and ok krw@
2010-12-24Advertise printk() as a printf-like function.Alexander Yurchenko
Diff from miod@, thanks.
2010-12-24Add missing argument to printk(). Spotted while porting on linux 2.6.Alexander Yurchenko
ok miod@
2010-12-24Sync uvm_km_alloc1() prototype with reality.Alexander Yurchenko
ok miod@
2010-12-24Fix a flaw in the rc.subr framework reported by stephan@ whereAntoine Jacoutot
local_rcconf would get overwritten by flags from the rc script itself. Based on an original idea and diff from robert@, create an rc_conf function that we add in the rc_script after the defaults daemon* variables. This way we can use defaults variables names in other part of the script (when defining a specific pexp for instance). While here, simplify setting up the default daemon variables so that we don't need to do any substitution in rc_start. rc scripts must include daemon variables before calling rc_conf. All other locally modified variables (pexp, rc_reload, local additions...) must come after. feedback from and works for sthen@ ok robert@
2010-12-24now that pkg_create checks more stuff, we have to ask for it to createMarc Espie
more bogus packages so that we can get errors out of pkg_add...
2010-12-24pass state around.Marc Espie
2010-12-24define __throw_exception_again to something, so that g++ -fno-exceptionsMarc Espie
does not throw warnings for stuff like if () __throw_exception_again; which does happen in its own fucking headers. builds of qt3 should no longer warn... okay millert@, no objection kettenis@
2010-12-24move the handling of ldconfig to AddDelete::StateMarc Espie
actually simplifies code a great deal. It's not as if trying to avoid loading ten lines of code is a good idea.
2010-12-24handle failures from ports tree with more care.Marc Espie
this does avoid infinite loops in case of wrong plists. necessary since print-plist-with-depends CAN fail...
2010-12-24try to update the monster comment at the top of this file to explainTheo de Raadt
what it is we are doing ok djm
2010-12-24regenAlexandr Shadchin
2010-12-24Add info for Intel (Core Host), ATI (Radeon HD 5670)Alexandr Shadchin
ok krw@
2010-12-24Have sd(4) devices check for and respect read-only information theKenneth R Westerback
way st(4) does. Have both decline to open read-only devices for anything but read-only access. Suggestion to fail opens rather than individual i/o's from deraadt@. Problem USB device found and donated by chefren, who also tested diffs. Thanks! ok dlg@ marco@
2010-12-23server_kill_window can modify the RB tree so don't use RB_FOREACH, fixesNicholas Marriott
crash seen by Dan Harnett.
2010-12-23Better malloc the right size, overruns are so 200x... Pass the brown paperMiod Vallat
bag, please.
2010-12-23Style tweaks.Nicholas Marriott
2010-12-23The exception vector page on m88k systems has always been the same page asMiod Vallat
the one used by the firmware, which (at least on mvme88k) is at address zero. This is unfortunate, since this means that NULL pointer dereferences in the kernel are not caught, and writes cause havoc. This behaviour was necessary to be able to use the PROM system call interface during early bootstrap, without having to disassemble the VBR page and update branches - which use pc-relative displacement - if we were to use a different VBR address. On mvme88k, change this and actually set up two VBR pages: one, over the PROM page (except for the system call vectors), and another one in the kernel image (which will be mapped read-only). We'll run with the PROM page until the end of autoconf, and then switch to the kernel one, and unmap all the PROM below it. As a bonus, the final kernel page can use optimized data access fault handlers, which do not have to check for faults caused by badaddr(), since badaddr() is only used during device probe on buses which do not support hotplug. There are a few infrastructure collateral damage on aviion and luna88k, but these ports do not change their behaviour yet.
2010-12-23Add a common interface for various devicesAlexandr Shadchin
This is to make it easier to add additional mice types in future ok krw@, miod@, nicm@
2010-12-23Check for pcb_onfault being set for genuine kernel data faults, copyout()Miod Vallat
may be invoked with an address under the kernel text and we're about to stop having such pages always mapped.
2010-12-23Make the pte created by pmap_map() wired, and count them in pmap_kernel()'sMiod Vallat
statistics. This allows these mappings to be removed with pmap_kremove() without messing with accounting.
2010-12-23Increase the DATA limit in the RDE to the max value and do the sameClaudio Jeker
for NOFILE in the session engine. OK henning, sthen@
2010-12-23Use the provided note() and warning() functions of dhcpd instead ofClaudio Jeker
calling syslog_r() directly -- this make -d work as expected. OK reyk@, stsp@, deraadt@
2010-12-23pick netmask instead of address when we mean it; found by dhill, ok reykMike Belopuhov
2010-12-23always add a none payload, should fix ike sa rekeying for responders; ok reykMike Belopuhov
2010-12-23regenJasper Lievisse Adriaanse
2010-12-23- sort previousJasper Lievisse Adriaanse
- add my sata controller ok krw@
2010-12-23document EXIT STATUS; based on a diff from Daniel DickmanJason McIntyre
ok millert
2010-12-23fix my last (sloppy) fix; from Thomas PfaffJason McIntyre
ok henning
2010-12-23spelling fixes; from Daniel DickmanJason McIntyre
2010-12-23SyncKenneth R Westerback
2010-12-23Add info for Intel (CORE DMI), nVidia (GT425M, GF108 audio), JMicronKenneth R Westerback
(SD, SD/MMC, MS, xD) parts on Dell XSP L401X that were showing up as 'unknown'. ok deraadt@
2010-12-22minor tweaks:Ingo Schwarze
- improve .Bl wording (from jmc@) - document .Pa default (from kristaps@) - fix formatting of one COMPATIBILITY note: move "and" out of .Sx ok jmc@, kristaps@
2010-12-22Use yet more standard HTML tags,Ingo Schwarze
this time some more <P> and <TABLE> instead of <DIV>. From kristaps@.
2010-12-22remove redundant junkTodd T. Fries
pointed out by Mikalaj Kucharski, mikolaj at kuharski dot name ok deraadt@
2010-12-22fix sloppy paste in;Jason McIntyre
2010-12-22add more commands of output of random "junk" to arandomTodd T. Fries
please commit deraadt@
2010-12-22adjust set debug description to realityHenning Brauer
From: Thomas Pfaff <tpfaff@tp76.info>
2010-12-22wow, we must reach into the chroot for /dev/arandom, meaning some ofTheo de Raadt
this code has been busted for quite a while. pointed out by miod
2010-12-22rewrite randomwrite() for clarity after discussion with mikebTheo de Raadt
ok djm