151774 Commits

Author SHA1 Message Date
christos
3f7563e969 Coverity CID 4119: Check negative returns (from Arnaud Lacombe) 2006-09-29 14:42:59 +00:00
christos
03a48a92ca Coverity CID 4027: Initialize oldphys (from Arnaud Lacombe) 2006-09-29 14:41:32 +00:00
christos
4589200621 Coverity CID 3801: Plug memory leak (from Arnaud Lacombe) 2006-09-29 14:39:09 +00:00
christos
95d484d975 Coverity CID 4151: Don't forget to close the firmware file (from Arnaud Lacombe) 2006-09-29 14:38:04 +00:00
he
f1afbc1ee7 Use PRIu64 instead of llu when printing an u_int64_t.
Fixes a build problem for our LP64 ports, where u_int64_t is
typically an unsigned long.
2006-09-29 14:36:34 +00:00
christos
ca42d11f95 Coverity CID 3786: Fix memory leak (from Arnaud Lacombe) 2006-09-29 14:36:30 +00:00
he
a4970f4ee7 The "success" field in Authctxt needs to be a sig_atomic_t, not an int,
so that we don't get a type conflict on dispatch_run() invocation.  Found
while building for alpha and amd64.
2006-09-29 14:34:25 +00:00
christos
13528a299f Coverity CID 3666: Remove debug to expose KASSERT's (from Arnaud Lacombe) 2006-09-29 14:33:52 +00:00
christos
f6e519df16 Coverity CID 3015: Check before using (from Arnaud Lacombe) 2006-09-29 14:28:46 +00:00
christos
ed106f137b Coverity CID 2990: fix memory leak (from Arnaud Lacombe) 2006-09-29 14:24:55 +00:00
christos
b7ae68fde0 Coverity CID 1194: Negative returns (from Arnaud Lacombe) 2006-09-29 14:18:25 +00:00
tsutsui
ebd0b89ad0 Pull mii_readreg fix from FreeBSD if_rl.c rev 1.81:
> When reading PHY regs over the i2c bus, the turnaround ACK bit
> is read one clock edge too late. This bit is driven low by
> slave (as any other input data bits from slave) when the clock
> is LOW. The current code did read the bit after the clock was
> driven high again.
2006-09-29 14:03:07 +00:00
tsutsui
a7f43a90fe In rtk_txeof(), clear the timeout timer only if there is no pending packet. 2006-09-29 13:59:40 +00:00
martin
ebaf1420c5 If using NLAPIC, we better include lapic.h. Pointed out by Kurt Schreiner
on current-users.
2006-09-29 11:18:44 +00:00
martin
90924281b7 Sysinst now properly ignores eon0 interfaces - so there is no need to
avoid ISO networking and EON in this kernel anymore.
2006-09-29 10:44:31 +00:00
martin
f944aa66d2 Ignored interfaces should be ignored, wether they are IFF_UP or not.
For example eon0 is always up after boot, but completely useless.
2006-09-29 10:37:49 +00:00
martin
3da83175e0 If we ask "is any of these interfaces connected?" we want the answer to be
"yes", and abort if it is "no" - not vice versa.
XXX - when returning to the utilities menu loop, the menu message should
be output again, I think. I couldn't figure out how that is supposed to
be done though.
2006-09-29 09:56:04 +00:00
martin
109baa1a34 Make the DEBUG version build again. 2006-09-29 09:29:12 +00:00
tsutsui
c6bfa68fcc - trim CRC off rather than setting M_HASFCS
- use appropriate types instead of `unsigned'
2006-09-29 08:49:30 +00:00
tsutsui
2f6ae33af4 In rtk_rxeof():
- discard too short packets as well as too large ones
- trim CRC off rather than setting M_HASFCS

Closes PR kern/31348.
2006-09-29 08:33:06 +00:00
pavel
7c45d943a0 Do not strip INSTALL kernels. Makefile.tarfloppy does this now. 2006-09-29 08:20:44 +00:00
pavel
9883a03a3c Strip the kernel before it is written to floppy. This will allow to have
unstripped INSTALL kernels in the release.

OK lukem@.
2006-09-29 08:16:41 +00:00
he
66964d9c22 When the implementation of lpic_dump() is inside DIAGNOSTIC, the
declaration of it has to be too.
2006-09-29 07:37:36 +00:00
manu
3c09e24ba2 Add the dependendy on libutil 2006-09-29 05:06:34 +00:00
dogcow
f35a70b511 new ssh import requires another include 2006-09-29 04:56:04 +00:00
reinoud
d9df4ed24c Add `vfs.udf.verbose' sysctl when running a DEBUG kernel to dynamically set
the udf_verbose variable. So when something goes wrong, it can be examined
on the spot without needing to reboot a new kernel and possibly loosing
state.
2006-09-29 01:36:28 +00:00
taca
c2a96a8168 OpenSSL 0.9.8d released. 2006-09-29 01:25:43 +00:00
uebayasi
9c094bf3e6 Note flex-2.5.33 is out. (Mmm, reentrant support.) 2006-09-29 01:03:20 +00:00
bjh21
3143e7d6c3 ANSIfy, un-__P, light KNF. 2006-09-28 23:54:14 +00:00
bjh21
557f409231 No need to do silly asm() dances to get R14_svc saved now -- the compiler
does it for us everywhere.
2006-09-28 23:25:01 +00:00
bjh21
8e80f0df78 Don't specify -fomit-frame-pointer -mno-apcs-frame, since that breaks kernel
page faults.
2006-09-28 23:23:22 +00:00
perseant
554662dc37 Call fcntl on the file descriptor *before* closing it. 2006-09-28 23:23:01 +00:00
perseant
2ac2813b6e Use lockstatus instead of a homebrewed locking system to control
LFCNWRAPSTOP and LFCNWRAPGO.

Be less verbose about the various looping checks: use log() rather than
printf(), and only log anything if we are really looping ("count = 2" is
not an error condition).

Allow dirops sleeping on available space to be interruptible.
2006-09-28 23:08:23 +00:00
bjh21
87e6985bed Add -mapcs-frame -fno-omit-frame-pointer to acorn26 kernel builds. This
is necessary to ensure that GCC saves R14_svc on entry to every function,
and thus that page faults within the kernel are safe (since they corrupt
R14_svc).  I think this used to be the default, but it's not any more.
2006-09-28 22:10:53 +00:00
christos
7ba8127306 update sets 2006-09-28 21:50:09 +00:00
he
bc9fb2d92d Since intr_spin is declared inside #ifdef DIAGNOSTIC, make sure the uses
are too, so that this builds without DIAGNOSTIC defined.
2006-09-28 21:34:59 +00:00
christos
6c1de236fb mention new openssh 2006-09-28 21:27:58 +00:00
christos
f6e58c8bec Add -DHEIMDAL 2006-09-28 21:24:58 +00:00
christos
3826ab1249 new files and bump for 4.4 2006-09-28 21:24:33 +00:00
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