summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-27Remove two #defines that are unused since the *_action.c removal;Ingo Schwarze
from kristaps@.
2010-12-271) Fix the pseudo-code explaining cross-filesystem moves.Ingo Schwarze
2) Explain more precisely which moves are denied and what happens then, and move this information from CAVEATS to DESCRIPTION. 3) Slightly expand the example below CAVEATS to show another detail that may cause unpleasant surprises. Triggered by a patch from tedu@, feedback and ok jmc@, ok tedu@.
2010-12-27In case an ID attribute is written in pieces, only protect the firstIngo Schwarze
piece with a prepended 'x', not each piece, such that quoted and unquoted .Sh, .Ss, and .Sx arguments are compatible with each other. Fixing a bug reported by Nicolas Joly <njoly at NetBSD dot org>, avoiding a regression in my first patch as pointed out by njoly as well. "feel free to do so" kristaps@
2010-12-27mktemp(3) (and thus mktemp(1)) no longer use the process ID whenTodd C. Miller
replacing the Xs, it is now purely random. Also replace a use of .Fn that should be .Xr. OK jmc@
2010-12-27Correct x86_atomic_*_ul() to operate on 64bit integers, eliminatePhilip Guenthe
x86_atomic_*_l(), and update the callers of all of those to use the underlying x86_atomic_*_u32() functions that they were expecting anyway. Whether the x86_atomic_*_ul() macros should be eliminated has been deferred. ok kettenis@, tedu@
2010-12-27tweak previous;Jason McIntyre
2010-12-27Eliminate x86_multicast_ipi() as unused and broken (doesn't handle #cpu>32).Philip Guenthe
The i386 version was removed some time ago, so kill its declaration too. ok tedu@ kettenis@
2010-12-27Do not issue a cache maintainance operation until the last one is notMiod Vallat
completed; this used to be the case, but revision 1.25 of this file, close to four years ago, changed this behaviour by mistake. The side effects of this mishandling of the cache did not show up until the kernel memory allocation strategy moved towards fast reuse of freed pages. Took me a while to track this down, maybe I'm getting too old to write code, I probably should write backdoors instead.
2010-12-27Add a missing .Pp and sort options alphabetically, from Tiago Cunha.Nicholas Marriott
2010-12-27There is no point in calling rc_conf manually from each and every rcAntoine Jacoutot
script; instead, rc.subr can call rc_conf itself right after reading in rc.conf. from schwarze@ (committing on his behalf) ok robert@
2010-12-27Properly initialize MXCSR and XMM registers if we only write the x87 FPU stateMark Kettenis
and the process has not used the FPU yet. ok guenther@
2010-12-27cleanup pms_enable_intelli: magic numbers -> definesAlexandr Shadchin
ok krw, miod
2010-12-27remove unneeded MakefileAlexandr Shadchin
ok krw, miod
2010-12-27* add cfattach activate functions and call usbd_deactivate() in theJacob Meuser
DVACT_DEACTIVATE case for drivers that don't have activate finctions * fill out cfattach activate functions and call usbd_deactivate() in the DVACT_DEACTIVATE case for drivers that don't have a dying flag "ok with the intent" miod@
2010-12-26Misplaced splx() in pmap_unsetbit().Miod Vallat
2010-12-26Behave more like groff (both old and new): Specifying both .%T and .%J inIngo Schwarze
an .Rs block causes the title to be quoted instead of underlined, such that journal title and article title appear visually different. Original diff from kristaps@, simplified by me, tweaked again by kristaps@.
2010-12-26Kill pmap_phys_address(), and force every driver's mmap() routine to returnMiod Vallat
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument]. This allows MI drivers to implement mmap() routines without having to know about the pmap_phys_address() implementation and #ifdef obfuscation.
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@