summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-20add octeon as cross build target arch. ok miod@Takuya ASADA
2010-09-20improve getpeereid docs; pointed out by jmcTheo de Raadt
2010-09-20- fix a regression caused by latest commit (long story made short: do notGilles Chehade
attempt to expand the local delivery buffer when relaying mail, it was kind of ok before but no longer is) - use the same buffer for local deliveries to files and commands tested by jmc@ and I
2010-09-20Return error on GET requests without an instance identifier, both forMartin Hedenfal
tables and scalar values. Fixes system/6468 by not calling table get functions with an unexpectedly short OID. Also fixes system/6071. Scalar variables without an instance specified now returns a noSuchInstance error. GetNext requests correctly returns the .0 instance. This means you can no longer rely on $ snmpget -v2c -c public localhost SNMPv2-MIB::sysDescr returning the .0 instance. You need to specify it explicitly: $ snmpget -v2c -c public localhost SNMPv2-MIB::sysDescr.0 Also return proper SNMPv2 errors per varbind instead of a noSuchName error status, unless SNMPv1 was specified in the request. An earlier version of this diff tested by Remi Laurent, thanks.
2010-09-20ber_scanf_elements "i" format expects a long long pointer.Martin Hedenfal
2010-09-20Allow output of null values with a context class. This is used in SNMPv2 toMartin Hedenfal
return an error exception value for a varbind result ("noSuchObject[0] IMPLICIT NULL" in rfc1905).
2010-09-20Fix a variety of structure packing and byte order bugs to try to getTheo de Raadt
BE support working. Doesn't hurt LE32 or LE64. Doesn't make BE64 (sparc64) move traffic yet, but it no longer crashes as hard. ok jsg
2010-09-20according to ingo, it isn;t a problem to have empty [BDS]q macros, soJason McIntyre
revert that part of yesterday's diffs;
2010-09-20Stop doing shutdown hooks in network drivers where possible. We alreadyTheo de Raadt
take all interfaces down, via their xxstop routines. Claudio and I have verified that none of the shutdown hooks do much extra beyond what xxstop was already doing; it is largely a pile of junk. ok claudio, some early comments by sthen; also read by matthew, jsg
2010-09-20COMPAT_O43 went away a while backTheo de Raadt
2010-09-20syncTheo de Raadt
2010-09-20Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is libraryTheo de Raadt
code using socket options. ok matthew
2010-09-20"atomically" create the listening mux socket by binding it on a temoraryDamien Miller
name and then linking it into position after listen() has succeeded. this allows the mux clients to determine that the server socket is either ready or stale without races. stale server sockets are now automatically removed ok deraadt
2010-09-20Move getpeereid(2) into COMPAT_O47. In 4.8 and onwards it is libraryTheo de Raadt
code using socket options. ok matthew
2010-09-20Update evcount(9) documentation to reflect simplifications.Matthew Dempsky
"yes, that's fine" jmc@
2010-09-20oops! missing quote in previous;Jason McIntyre
2010-09-20If during resume we get an interrupt, sure, be a bit noisy about itTheo de Raadt
for now. But since it is not being handled, do not ack it on the chip. Discussed with kettenis a while back
2010-09-20Get rid of evcount's support for arranging counters in a treeMatthew Dempsky
hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
2010-09-20Initial revisionTakuya ASADA
2010-09-20Initial revisionTakuya ASADA
2010-09-20Use SSD_ERRCODE_CURRENT instead of magic 0x70.Kenneth R Westerback
ok dlg@ matthew@
2010-09-20define and use macros for looking at ncq bits.David Gwynne
requested by and ok krw@
2010-09-20missing #includeDamien Miller
2010-09-20check that received values are smaller than the group size in theDamien Miller
disabled and unfinished J-PAKE code. avoids catastrophic security failure found by Sebastien Martini
2010-09-20nsd uses configure, so put it in NO_CROSS for now.Dale Rahn
2010-09-20install a SIGCHLD handler to reap expiried child process; ok markus@Damien Miller
2010-09-20add some missing ral/run firmware to install mediaJonathan Gray
ok deraadt@
2010-09-20bus_dmamap_sync was using xs->flags to determine which directionDavid Gwynne
to sync the map. unfortunately xs is not set for internal ciss commands, so this is a null deref. it wasnt until kettenis made bus_dmamap_sync a real function which needed its arguments evaluated that this became a real problem though. hit by mcbride@ and sakurai-san. fixed by krw@ over my shoulder when we figured out which specific chunk of code was faulting. tested by sakurai-san ok krw@ deraadt@
2010-09-20Update instructions for testing npppd and pipex. The instructions wasYASUOKA Masahiko
out-of-date-ed after my privilege separation work at n2k10.
2010-09-20Fix unitialised variable access in the suspend/resume caseJonathan Gray
that crept in with rev 1.77, spotted by the clang static analyser. ok deraadt@
2010-09-20bufq_drain() does not need to be done in deactivate; we only needTheo de Raadt
to deactivate transactions we are currently doing. ok dlg
2010-09-20Write the start of an activate function. QUIESCE should wait for theTheo de Raadt
current crypto operation to finish but doesn't do that yet. The suspend and resume operations assume that SB_GLD_MSR_CTRL gets trashed ok pirofti
2010-09-20Need an activate function to get to sub-devices. Write it by hand sinceTheo de Raadt
we expect some specific register restoration will be needed here later too. ok pirofti
2010-09-20DVACT_ACTIVATE and DVACT_DEACTIVATE do nothing here; removeTheo de Raadt
the false comments.
2010-09-20Must travese deeper for DVACT_QUIESCE; ok miodTheo de Raadt
2010-09-20bring back scsi_base.c r1.195 and scsiconf.h r1.138 now thatDavid Gwynne
src/sys/dev/ata/atascsi.c r1.92 solves the problem that my scsi_link change tickled. tested by josh elsasser who reported the problem in pr6470 deraadt@ is letting it in again so it can get widespread testing
2010-09-20After the gcc4 switch the stack protector triggers in atwJonathan Gray
when a buffer is overflowed. Fix this and increase the size of the rate buffer (which is still < IEEE80211_RATE_MAXSIZE due to hardware restrictions) while here. ok claudio@ damien@
2010-09-19Shorten text pointing from -X to -print0.Ingo Schwarze
Add pointer from -print0 to xargs(1). Add an EXAMPLE to demonstrate \( ... -or ... \) -print0. Stop advertising -print | xargs, which is dangerous. Add a CAVEAT about passing find(1) output to other programs. Mostly from joachimschipper dot nl; using feedback from jmc@ and sthen@, and tweaked myself; ok jmc@
2010-09-19Overhaul ddb disassembler to recognize all MIPS IV instructions, as well asMiod Vallat
some mips64r2 instructions. Various bugfixes all over as well (conditional trap instructions do not have a delay slot, for instance).
2010-09-19move the ncq depth calculation into atascsi_probe where it belongs. byDavid Gwynne
default we now only give devices 1 openings unless both the adapter and device support ncq and a queue depth greater than one. tested by josh elsasser, who always seems to get hurt when i change the openings handling in atascsi. ok krw@
2010-09-19acpi sub-drivers may not use sensordev_install(); all acpi/acpiec/dsdtTheo de Raadt
operations must currently operate under the acpi thread. So use aml_register_notify with ACPI_POLL for now -- it is a horrific hack of an interface, but now that all drivers are unified to use it, we can consider improving it. tested by jasper and claudio
2010-09-19Do not break .Op scope by .Oc.Ingo Schwarze
While here, remove .Xo macros that were ugly workarounds to deal with groff-1.15 bugs, but are required neither by modern groff nor by mandoc nor by any documentation we are aware of. Problem originally noticed by jmc@ running mandoc -Tlint; patch ok by jmc@.
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-19more wacky macro fixing;Jason McIntyre
2010-09-19put HISTORY in the right place;Jason McIntyre
2010-09-19fix some unbalanced quoting;Jason McIntyre
2010-09-19- put the Os macro in the correct placeJason McIntyre
- in one instance, .Dr -> .Dq