Commit Graph

151585 Commits

Author SHA1 Message Date
christos 229f040cb9 We need this again. 2006-09-28 21:23:13 +00:00
christos c5a8b87f73 Resolve conflicts 2006-09-28 21:22:14 +00:00
hubertf 1bb8fe58a4 add back aculog & mark as obsolete 2006-09-28 21:18:40 +00:00
skrll 17843a3034 Add -mdisable-fpregs which makes this work again with gcc4. This needs
revisiting.
2006-09-28 21:17:01 +00:00
christos 49b7694919 from www.openssh.org 2006-09-28 21:14:57 +00:00
skrll 4fa11947d6 Remove the sparc64 PLT entry.
It's compatibilty code for the changing definition of the first four PLT
entries and is very likely never going to be removed.
2006-09-28 21:01:21 +00:00
manu ca09533497 Fix unchecked mallocs (Coverity 4176, 4174) 2006-09-28 20:30:13 +00:00
manu 87b827ea10 Fix access after free (Coverity 4178) 2006-09-28 20:09:35 +00:00
reinoud 695fa2b8b8 Fix lookup bug that could result in not finding the last entry. The check
for the cycling was too early. Also fix potential endless loop when the
last entry was deleted.
2006-09-28 19:57:26 +00:00
bouyer f23d3bb7be Add Xen3 support for ACPI and/or MPBIOS + IOAPIC. To help with this, physical
CPUs are now configured on mainbus only in dom0, and only to know about
their APIC id. virtual CPUs are attached to hypervisor as:
vcpu* at hypervisor?
and this is what's used as curcpu(). The kernel config files needs to be
updated for this, see XEN3_DOM0 or XEN3_DOMU for examples.
XEN3_DOM0 now has acpi, MPBIOS and ioapic by default.
Note that a Xen dom0 kernel doens't have access to the lapic.
2006-09-28 18:53:15 +00:00
bouyer e2d271e26c - make it possible to have ACPI without IOAPIC and/or LAPIC
- make it possible for machine-specific code to provide custom R/W routines
  in its i82093*.h headers
- always initialize sc->sc_pins[pin], even in the !ioapic_cold case.
No objections on port-i386 and port-amd64.
2006-09-28 18:01:24 +00:00
joerg b12fa3d640 Regen. 2006-09-28 16:54:16 +00:00
joerg fc4a0108a7 Add IDs for Ralink RT2501USB/RT2601USB. From OpenBSD. 2006-09-28 16:53:40 +00:00
elad 38e12255a4 Change error message to say "setuid", forgotten in previous commit.
Pointed out by Ray Lai, thanks!
2006-09-28 16:01:16 +00:00
christos a86c4b2a6a better format for run level entries. 2006-09-28 15:24:31 +00:00
christos 6bc6175052 Don't record runlvl transitions before we have a read-write /var. Noticed
by lrou at x dot ua.
2006-09-28 15:20:14 +00:00
christos d9590bcae9 Fix memory leak found by valgrind (Julien Torres) 2006-09-28 13:52:51 +00:00
simonb a4c94c5ab7 Remove stale copy. Pointed out by uwe@ ages ago. 2006-09-28 13:12:59 +00:00
taca 1db1082ee5 Update OpenSSH's current version. 2006-09-28 10:13:39 +00:00
he 06658349aa Back out previous, <stdlib.h> was the right include. 2006-09-28 09:13:56 +00:00
he e189b3cc42 Now that we use free(), we also need <malloc.h>. 2006-09-28 09:11:04 +00:00
rjs 0107b5e769 ANSIfy. 2006-09-28 09:06:05 +00:00
rjs f99ba5e550 ANSIfy and fix missed proc -> lwp conversion. 2006-09-28 09:03:46 +00:00
dyoung 1d6d201f2e Activate ath(4) in GENERIC, since it works under light testing on
my Powerbook G4.
2006-09-28 07:57:49 +00:00
skrll b43d42196d Remove a debug message.
Hi Ross!
2006-09-28 07:48:35 +00:00
dbj 6e35df57f8 include stdlib.h for free()
i've also cleared the -kk flag and reset it to -kkv
2006-09-28 07:44:24 +00:00
dbj 7c8cd0a2c8 consider sb_lowat when limiting the transmit length to keep acks on the wire 2006-09-28 04:32:47 +00:00
oster ed4d175ee4 Make sure the 'last configured as' field in the component labels
are updated each time the component labels are written.
2006-09-28 02:39:50 +00:00
hubertf 78f4bb5154 Add (commented out) option WSKBD_USONLY 2006-09-27 23:58:50 +00:00
macallan 88681719b0 on PowerBook 3400c and similar machines redirect the built-in tlp's IRQ to
60 if we find a 2nd OHare - OF claims 27 which is wrong and keeps the tlp
from working.
Tested on a PB3400c, should work on 2400 and original G3 as well.
2006-09-27 22:44:18 +00:00
macallan 37fe34eef6 rewrite most of the Old World interrupt handling to allow things like
cascaded PICs found in some PowerBooks, like two OHare in the PB3400c
2006-09-27 22:41:55 +00:00
mrg 33c0ea44b6 redo the previous, based on a comment from and reviewed by christos. 2006-09-27 22:20:31 +00:00
christos 39feec939d Coverity CID 4177: fix memory leak. 2006-09-27 22:07:20 +00:00
cube 160fdb0333 Add support for 82562G. 2006-09-27 21:51:48 +00:00
cube 4775d417a1 Regen (Intel 82562G). 2006-09-27 21:50:27 +00:00
cube f9d66765dd Add Intel 82562G PHY. 2006-09-27 21:50:00 +00:00
cube f33f698361 Make fxp(4) support the PRO/100 VE variant just added to pcidevs.
Reported by rix on #NetBSD-code on freenode.
2006-09-27 21:46:15 +00:00
cube 1e05843063 Regen (Intel/0x1094). 2006-09-27 21:43:26 +00:00
manu f309b668fd - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
2006-09-27 21:42:04 +00:00
cube 3d367d313e Add the Intel PRO/100 variant found on the D946GZIS motherboard. 2006-09-27 21:41:56 +00:00
christos 0bc3d9d62f Coverity CID 3792: Avoid double free; while I am here avoid NULL deref. 2006-09-27 21:39:15 +00:00
christos fcf84daa48 Coverity CID 3789: Add assertion before NULL deref. 2006-09-27 21:33:07 +00:00
christos 34fd379e33 Coverity CID 4160: Remove dead code. 2006-09-27 21:22:52 +00:00
rpaulo d706f6eab8 Fix date for twa(4) entry. 2006-09-27 21:21:52 +00:00
bjh21 826ff5f060 Make db_validate_address() work, even when called from within an interrupt
handler.  This should make debugging prefetch aborts slightly simpler.
2006-09-27 21:21:09 +00:00
mrg b1906bf12d redo previous: move the EOF check back into non-dead code so that it
will be used again.
2006-09-27 21:02:38 +00:00
christos 49334834f0 Coverity CID 793 uncovered a bunch of issues:
1. needfree = 0, should have been *needfree = 0
2. this function will not work with sp == NULL, since KEY_NAME dereferences it.
3. the if (0) {
  label:
  }
  code is disgusting.

Remove all the nasty and impossible code and fix 1.
2006-09-27 21:01:18 +00:00
christos 5d1b788b2a Coverity CID 4166: If GET_SPACE_RET can return a NULL pointer if len == 0.
Check for it.
2006-09-27 20:04:25 +00:00
elad 9a206be80a Print a message if there are no PaX flags, to be less confusing.
Requested by and okay rpaulo@.
2006-09-27 20:01:50 +00:00
christos d25337ac41 Coverity CID 4171: bp can be null if len == 0. So check for it anyway and
don't call memcpy unconditionally.
2006-09-27 19:58:00 +00:00