summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-21Move interrupt related defines and prototypes from cpu.h to intr.h.Joel Sing
ok kettenis@
2011-04-21steal the ccb for error handling before it might be needed during theDavid Gwynne
port init. problem reported by RD Thrush in PR6590
2011-04-21daemon() can fail; don't hide this for the user if that's the case.Jasper Lievisse Adriaanse
ok otto@
2011-04-21Revert the ``remove the `skip splraise/splx for IPL_NONE mutexes' optimization''Miod Vallat
change. It seems to have unexpected side effects, especially on MP systems, and drahn@ disagrees with the way this change has been done and think there is a better way to solve the original problem of msleep() fiddling with mutex internals.
2011-04-21This dd should be to the raw partition, so fix it. On the otherTheo de Raadt
hand it has spotted a minor bug in thib's new vnd code, which he will fix tomorrow.
2011-04-21Fix more long vs 64bit type mismatches. Now 4GB i386 <-> macppcKenneth R Westerback
transfers work for Richard Toohey.
2011-04-21ahci asks atascsi to reserve a ccb to use for error handling, but thenDavid Gwynne
atascsi goes and throws away all the ccbs that the disk wont use, including the reserved one. this makes ahci reserve its own ccb. light testing by krw@ without regression.
2011-04-21find: return exit code 1 if any path could not be traversedJacek Masiulaniec
matches posix and the manual, ok millert
2011-04-21Don't use 'n' for the length of multibyte chars, because it is the lengthYASUOKA Masahiko
of wide characters. This will fix a problem of uim-fep pre-edit display. OK stsp@
2011-04-20Stash the old seed when srand() is called and use it as the returnTodd C. Miller
value as per POSIX and the fine manual. Fix sent upstream to bwk. OK deraadt@
2011-04-20fenv for m68kMartynas Venckus
2011-04-20Trick GCC optimizer into clipping any extra precision by making wMartynas Venckus
volatile; a similar hack was already being used in lrintf(). This will make rint and {,l}lrint family functions actually work; i.e. on m68k rintf(8.6F) was 8.625.
2011-04-20Remove some unneeded includes and dead code, from Michael W Bombardieri.Nicholas Marriott
ok jasper xsa
2011-04-20Fix possible NULL dereference for emul data. Okay miod@.Paul Irofti
2011-04-20Remove some includes and defines that are no longer needed, from MichaelNicholas Marriott
W Bombardieri.
2011-04-20Trivial code simplifying, from Michael W Bombardieri.Nicholas Marriott
2011-04-20Use -u when diff context is 3, from Michael W Bombardieri, tweaked byNicholas Marriott
millert.
2011-04-20Back out r1.10 of mutex.c as this breaks serial on hppa (at least for MP).Joel Sing
2011-04-20Implement correct prologue and epilogue for hppa64.Joel Sing
ok kettenis@
2011-04-20grammar fix; from Michael W. BombardieriJason McIntyre
2011-04-20Enhance sysmerge(8) output so that it is more readable and make it moreAntoine Jacoutot
clear if there are any warning/error or things that should be handled manually. e.g. output from going from 4.8 to current: # sysmerge -s etc49.tgz -x xetc49.tgz ===> Populating temporary root under /var/tmp/sysmerge.k1BnD/temproot ===> Starting comparison ===> Installing /.profile ===> Installing /etc/bgpd.conf <...> ===> Installing /root/.profile ===> Installing /var/www/conf/mime.types ===> Comparison complete ===> Checking directory hierarchy permissions (running mtree(8)) ===> Output log available at /var/tmp/sysmerge.k1BnD/sysmerge.log *** WARNING: file(s) detected as obsolete: /etc/portal.conf /etc/security /var/msgs/bounds *** WARNING: some new/updated file(s) may require a reboot feedback and ok sthen@
2011-04-20Interrupt handlers should only return 1 if they did some work. TheClaudio Jeker
intrstat on arc may have other status bits set which are masked as interrupt cause and not handled by our driver. So the intrstat == 0 check does not work reliably. It is better to do use a variable that is set to 1 when work is done and the cause is cleared. This makes arc(4) behave on systems where interrupts are shared. OK deraadt@ dlg@
2011-04-20Potential NULL deref in an error case spotted by chl on one copy;Theo de Raadt
correct fix applied to 3 similar drivers ok chl
2011-04-20Support for Intel GM45 SOL (Serial-over-LAN, part of Intel AMT) as aMike Larkin
generic puc(4) device. ok deraadt@
2011-04-20syncTheo de Raadt
2011-04-20do not disable interrupts in the isr and then enable them againDavid Gwynne
when leaving. when you're handling an interrupt it is masked. whacking the chip is work for no gain. diff from chris@ tested by marco@ ok by me :)
2011-04-20Fix spacing nit.Matthew Dempsky
ok jmc@
2011-04-19Iopoolification. Much simpler version than the one revived at k2k11.Kenneth R Westerback
This one works. For me at least. Botch spotted by matthew@. ok matthew@ dlg@
2011-04-19clean out some tiny nitsTheo de Raadt
2011-04-19Should check uname() >= 0 to detect success, not == 0.Matthew Dempsky
2011-04-19regenJonathan Gray
2011-04-19add some more Core 2G/6 Series PCH entriesJonathan Gray
2011-04-19Simplify umass devid generation. Only use the last 12 characters ofMatthew Dempsky
the USB serial number so as to limit the overall devid to just 20 characters. "Lovely!" deraadt@
2011-04-19syncTodd T. Fries
2011-04-19as confirmed by my 11mo old son, this makes midi keyboards work with macppcTodd T. Fries
"no objection" drahn@
2011-04-19Fix spacing nit.Matthew Dempsky
ok jmc@
2011-04-19Put splice cleanup code into a common function sounsplice().Alexander Bluhm
ok claudio@
2011-04-19Do not over-specify the return value.Ingo Schwarze
Instead, just document what POSIX requires. Reminded of the problem by joachimschipper dot nl, Feedback from matthew@, krw@, deraadt@, and ok deraadt@.
2011-04-19add some more intel cpuid modelsJonathan Gray
ok kettenis@
2011-04-19Fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok marco@ krw@
2011-04-19/etc/security does not exist any longer,Ingo Schwarze
so stop it from trying to check itself for changes; noticed by Mattieu Baptiste <mattieu dot b at gmail dot com>.
2011-04-19Fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok henning@
2011-04-19Remove dead assignments and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok miod@ jsg@
2011-04-19Fix dead store. Instead of just remove it, use it properly.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok miod@ krw@
2011-04-19UUCP is no longer contained in the base system, so its home directoryIngo Schwarze
does not require special permissions. The security(8) scripts hates group-writeable home directories, so remove the needless permissions. Issue noticed by Andrew Fresh <andrew at afresh1 dot com>. If i understand naddy@ correctly, this is unlikely to harm even UUCP users. "Just remove the group writeable bit" deraadt@.
2011-04-19When mode-mouse is on (it is off by default), automatically enter copyNicholas Marriott
mode when the mouse is dragged or the mouse wheel is used. Also exit copy mode when the mouse wheel is scrolled off the bottom. Discussed with and written by hsim at gmx dot li.
2011-04-19Disable the 88110 branch prediction logic unconditionnaly on all 88110Miod Vallat
revisions; despite what the ``official'' (yet unpublished, confidential proprietary, will cause a tree to fall on your house if you quote it, etc) errata says, disabling data decoupling is not enough to workaround its malfunction in processor revisions 5.x. Enough missing-SFU instructions (each causing a `disabled SFU' trap) in a tight loop will eventually (but quickly) trigger the (unrecoverable, not even by NMI) processor hang. Of course, most such instructions are not privileged, and can be easily issued by an evil userland process; crashme happens to be a good example of this, when invoked with the proper settings (which are left as an exercise to the reader). Now, can I have my hair back? Come on! Please... pretty please... with sugar on top... people are looking at my head, you know.
2011-04-19ident searches for $keyword:... $, not $keyword:...$;Jason McIntyre
from Alexis Fouilhe ...and i just know cvs is gonna mess up this commit message
2011-04-19Cease to pretend RAW SCSI mode exists. Eradicate all traces.Kenneth R Westerback
2011-04-19POSIX only guarantees uname() will return a non-negative value onMatthew Dempsky
success. ok nicm@