summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-27kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumberTheo de Raadt
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME} so that we can eventually (many more steps...) kill the powerhook garbage and use the activate mechanism. no objections
2010-08-26If hppa doesn't need a fakecdrom disktab entry, neither does hppa64.Kenneth R Westerback
ok deraadt@
2010-08-26better TSIG key exampleJakob Schlyter
2010-08-26Screen burner support for SM712 flavour (Lemote Yeeloong)Miod Vallat
2010-08-26remove a silly comment that duplicates the usage string at the start ofJonathan Gray
the file. spotted by jmc@
2010-08-26document kern.consdev;Jason McIntyre
2010-08-26- fdisk(8), not fdisk(1)Jason McIntyre
- zap trailing whitespace
2010-08-26Allow multiple interfaces to be specified instead of all or one.Jonathan Gray
ok krw@ claudio@
2010-08-26make the comment explaining the kernel submaps a bit better.Thordur I. Bjornsson
ok art@, oga@
2010-08-26Try to be a bit more specific about what happens when link0 is used.Claudio Jeker
link0 will reset the interface and all configuration is lost (e.g. -inet6 or rdomain settings) so use link0 as first command without any other arguments to get a deterministic behaviour. With a lot of help by jmc@ (actually commiting his version because it is much nicer, as ususal).
2010-08-26Link local multicast requires a scope (either from the src or dst address)Claudio Jeker
be more explicit and force it in dst. OK deraadt@, mcbride@
2010-08-26stray spaces, no binary changeMarco Peereboom
2010-08-26regenJonathan Gray
2010-08-26Add HP iLO3 devices and another PLX bridge.Jonathan Gray
2010-08-26Fix a memory leak in an error path. Found and diff by Igor Zinovik.Claudio Jeker
OK michele@
2010-08-26sys/param.h is for kernel interface programs.Theo de Raadt
sys/types.h is the file you want to include.
2010-08-26Since Aug 2008, the kernel can successfully read the 1 block (512Kenneth R Westerback
byte) disklabels even in the midst of a larger sector. E.g. in bytes 512 - 1023 of the first 2048 byte sector on a CD. On hppa we plopped down such a disklabel on cdXX.iso and installXX.iso. Once accessible it took precedence over the spoofed label of the CD. Chaos ensued. Since there is currently no reason for this label on hppa cd's, eradicate it and its disktab entry. cdXX.iso/installXX.iso can now be mounted on hppa again. Also remove a commented out label plopping on Alpha, which references a non-existant disktab entry. Problem noted and exact diff creating problem discovered by marco@. ok deraadt@
2010-08-25Make CardBus ral(4) suspend and resume properly on machines that keep theMark Kettenis
CardBus bridge powered up during suspend. Step zero on the long road towards fully suspending CardBus on all machines. ok deraadt@, damien@
2010-08-25don't free proxyurl and cookie twice in the location code; with halex@Martynas Venckus
2010-08-25syncTheo de Raadt
2010-08-25get rid of the nawk hard linkTheo de Raadt
ok millert guenther
2010-08-25When destroying a pane, reset any mode (which reenables paneNicholas Marriott
bufferevent) before freeing the bufferevent.
2010-08-25fix potential use of uninitialized variable.Charles Longeau
reported by gcc. ok jasper@
2010-08-25Let rtable_add() return usefull errnos so that the ioctl handler and theClaudio Jeker
rtsock code can return a more reasonable error to the user. OK henning
2010-08-25Move the iface specific ioctl call for SIOCSIFRDOMAIN further down so thatClaudio Jeker
all the magic cleanup happens before. This is needed because mpe(4) needs to add a route which would be removed by the cleanup code. OK henning
2010-08-25When setting a rdomain also force -inet6 aka IFXF_NOINET6 on the interfaceClaudio Jeker
since IPv6 is not rdomain aware and freaks out about it. OK henning
2010-08-25Remove the SPARC_BOOT_ELF define and associated machinery since it doesJoel Sing
not make sense to compile ofwboot without support for ELF. Whilst here, nuke the unused SPARC_BOOT_NFS define and compile elf64_exec.c as an object rather than including it in boot.c. ok miod@
2010-08-25sync the list of gcc4 archs with bsd.own.mkJonathan Gray
ok miod@
2010-08-25try giving all devices on ami access to all the ccbs. iopools will shareDavid Gwynne
them out safely.
2010-08-25add scsi_iopool_destroy and scsi_link_shutdown. when a link orDavid Gwynne
device are going away, this will walk the pool and link queues and wake up processes that are sleeping while waiting for an io or xs. they will return NULL to the scsi_{xs,io}_get callers, which should then check if they device is still alive. all other handlers that are registered on the queues should be removed by their owners before the destroy/shutdown funcs are called. lots of help and discussion with matthew@ ok matthew@
2010-08-24backout VIS_HEX. guenther@ points out that the C89 \xff encodingDamien Miller
idiotically accepts more then two hex digits following the \x, even on platforms where a char has 8 bits. It is therefore dangerous to have an almost-bit-not-quite compatible format in vis(3). The VIS_ALL (encode all characters) option introduced in the same commit remains.
2010-08-24spacesClaudio Jeker
2010-08-24Add a splnet() around a block that needs it for sure. Maybe more inClaudio Jeker
SIOCSIFRDOMAIN should be protected but this is by far the biggest offender. The same codepath in if_detach() runs at splnet().
2010-08-24Only do the link state checking and RTF_UP dance if the routing table isClaudio Jeker
rn_mpath_capable(). Move code down into the mpath specific block. Not all routing tables support multipath and therefor priorities.
2010-08-24lockmgr -> rwlock conversionBret Lambert
and with this, my adventure in sdmmc-land is over bikeshed is still banana-shaped ok oga@
2010-08-24legibility fixes:Bret Lambert
1) one statement per line 2) label gets its own line, and doesn't share it with a statement no functional change "Let the turd shine." claudio@
2010-08-24last is a pointer so initialize to NULL and not 0. Also move initializationClaudio Jeker
up to the declaration.
2010-08-24- plugs two fd leaksJasper Lievisse Adriaanse
ok millert@
2010-08-23update to tzcode2010k from elsie.nci.nih.gov; OK miod@Todd C. Miller
2010-08-23Add setenv/putenv regressTodd C. Miller
2010-08-23Check for duplicate variables in the environment when setting a valueTodd C. Miller
via setenv() or putenv(). OK miod@
2010-08-23Clear options before setting up HOME and SHELL, not after. Fixes parsingNicholas Marriott
.tiprc reported by nick@.
2010-08-23syncTheo de Raadt
2010-08-23Can't call event_del() without event_set() first - so call event_set()Nicholas Marriott
when setting up the client.
2010-08-23Implement bus_space_barrier() on sgi; on xbridge, this will also flushMiod Vallat
the pci write buffers.
2010-08-23Rework the logic of xbridge pci_conf_{read,write} to avoid doing the disableMiod Vallat
bridge interrupts dance when trying to access an uninplemented ioc3 register. Makes PIC handling simpler as a bonus.
2010-08-23* if there's an error setting indirect more for a volume knob widget,Jacob Meuser
don't return the error back to the caller, but also don't turn on unsolicited responses for the volume knob. chances are, it isn't acutally used. lets sony viao tz play audio through suspend/resume cycle. * add some debug messages for other volume knob errors.
2010-08-23When extracting the pkg tar file, don't preserve the atime, just set itMatthias Kilian
to the current time. Works around a rare race condition that can happen if daily(8) zaps old files from /var/tmp while pkg_add(8) is installing or updating a package and doesn't yet have moved nor even read some of the files in /var/tmp/pkginfo.* (typically +DESCR). Espie wasn't totally happy with this at first, and will eventually work on something better, so I'm omitting documentations bits for now. ok espie@
2010-08-23fix two problems identified by matthew@:David Gwynne
1. though shalt not hold a mutex while sleeping, which kthread_create can do. instead of holding the wq mutex over the kthread_create and increasing the number of running threads after kthread_create succeeds, this counts the thread and drops the mutex before kthread_create. after the call it takes the mutex again and decrements the number of threads if the call failed. 2. if a workq is created during autoconf, the actual thread create is deferred to when the scheduler is running. if the workq is destroyed before then, the wq memory gets freed and then the deferred thread creation will be using freed memory. we now have a workq state variable so we can do the right thing at the different stages of the workqs lifetime. ok matthew@
2010-08-23unbreak tree: add VIS_HEX and VIS_ALL flagsDamien Miller