Commit Graph

168733 Commits

Author SHA1 Message Date
rafal 86e129f0e6 Add 'sunrpc' so mount_nfs from an install ramdisk works. Otherwise, you get
a silent failure from the ramdisk mount_nfs binary.
2008-04-11 12:54:35 +00:00
tsutsui 435efaffea If it's a high speed, trim the trigger level down to prevent overflows,
as comment says.  The piece of code was removed in rev 1.230,
but it looks an error on reverting of rev 1.228.
2008-04-11 12:45:08 +00:00
mjf ff8a916efa Update urls for David Pilling's !SparkPlug and Sergio Monesi's fsck suite.
The old urls were dead.
2008-04-11 12:10:42 +00:00
tsutsui af6fdc4488 Please don't leave a debug option in GENERIC. 2008-04-11 11:55:18 +00:00
jmcneill 3bc833ec73 Revert previous. 2008-04-11 11:24:41 +00:00
rmind 888190d519 Protect selrecord/selnotify calls with crypto_mtx; few misc changes. 2008-04-11 10:28:10 +00:00
agc a769917eda Fix for "raid0 devices don't accept extents of different sizes" from
Jeff Rizzo
2008-04-11 08:22:37 +00:00
dogcow 28e06cc882 fix 64-bit b0rkenness. 2008-04-11 06:25:35 +00:00
he 04446152e8 Put back a %s so that the format matches again. Fixes build for evbppc. 2008-04-11 06:25:25 +00:00
jmcneill 8715af2617 Remove code erroneously copied from i386 ACPI_ACQUIRE_GLOBAL_LOCK. 2008-04-11 02:30:05 +00:00
jmcneill b66550c825 Remove a nasty hack that slipped in during the ACPICA update that should
never have made it in-tree. How ACPI has ever worked since 4.99.42 is
beyond me.
2008-04-11 02:27:57 +00:00
dyoung 18685458ac Cosmetic: use NULL instead of 0 for pointers. Shorten staircase. 2008-04-11 01:14:28 +00:00
dyoung 457345432a Cosmetic: compare socket address family with AF_UNSPEC instead of
0.
2008-04-11 00:56:11 +00:00
dyoung aeb69f8d9e Cosmeticc: there's no use casting a uint16_t to a u_short, so don't
do that.  Change indentation for readability.
2008-04-11 00:55:41 +00:00
matt 55d5280da2 On MP systems, make sure to update l->l_cpu with the cpu_info of the current
processor (in case it was running on a different processor before).
2008-04-10 23:29:01 +00:00
dyoung 9fb0fb3f28 Add the redzones above and below the interrupt stack back to the
DIAGNOSTIC kernel.
2008-04-10 23:22:30 +00:00
tls 597ee710c7 Extend crypto.4 interface:
* Asynchronous operation with result retrieval via select/poll
	* Mutliple-request submit/retrieve ioctls
	* Mutliple-session create-destroy ioctls

Revise/rewrite crypto.4 manual page.  It should now be much easier to write
new applications to this API.

Measured performance for trivial requests: 84,000 very short modular math
operations/sec, 120,000 very short md5 hashes per sec (with a hardware
accellerator of moderate performance but very low latency, whose driver
will be contributed at a later date).

Contributed to TNF by Coyote Point Systems, Inc.
2008-04-10 22:48:42 +00:00
oster ff5172a732 Fix a problem in 'top' where we could end up with the following sort of
load-average display:

load averages:  1.12,  3.45,  6.7890

as the load on the system drops from long-term triple-digit averages
closer to zero.
2008-04-10 20:41:42 +00:00
cegger 86537ae77c sprintf -> snprintf 2008-04-10 19:49:14 +00:00
cegger 9d57c80079 use aprint_*_dev and device_xname 2008-04-10 19:13:36 +00:00
dyoung 18f5f53751 Add some assertions that will catch any exception to
ro->ro_sa == NULL implies ro->_ro_rt == NULL.
2008-04-10 18:12:02 +00:00
dyoung 2527883e86 s/8/NBBY/ 2008-04-10 18:09:14 +00:00
thorpej 8fc3977bed Don't even bother initializing the namelist if we're not going to use it. 2008-04-10 17:16:39 +00:00
thorpej f2bff8adc3 Use sysctl to fetch network statistics unless a memory file is specified
on the command line.
2008-04-10 17:14:25 +00:00
nonaka ded7276f3f - zaurus uses MBR
- Added fdisk to ramdisk
- increase ramdisk size
2008-04-10 15:45:29 +00:00
tsutsui df870ff695 Add more libraries required by libkrb5 etc. in NOPIC case. 2008-04-10 15:42:06 +00:00
tsutsui 23023a98aa Add more libraries required by libgssapi and libkrb5 etc. in NOPIC case. 2008-04-10 15:05:23 +00:00
nakayama 3e0d94e5d9 Remove kernel unlock in startlwp which is probably a leftover of
vmlocking2 merge.

This may fix PR kern/38375.
2008-04-10 14:28:28 +00:00
tsutsui 5e574c5a4a Add more required libraries by libkrb5 and libroken in NOPIC case. 2008-04-10 14:26:33 +00:00
adrianp c09e4a3a8c Fix for CVE-2007-3108
The BN_from_montgomery function in crypto/bn/bn_mont.c in OpenSSL 0.9.8e and
earlier does not properly perform Montgomery multiplication, which might
allow local users to conduct a side-channel attack and retrieve RSA
private keys.
2008-04-10 14:19:59 +00:00
tsutsui 4c7d97cc4a Add libhx509 to PAM_STATIC_LDADD which is required by libkrb5. 2008-04-10 13:52:45 +00:00
tsutsui 3ac5edae14 Add more required libraries in proper order.
Fix build error in NOPIC case.
2008-04-10 13:49:53 +00:00
yamt 7f11d683b1 - make nfs_receive and nfs_reply static.
- ansify.
2008-04-10 12:32:37 +00:00
agc e7debae8a8 Fix a minor nit in a comment 2008-04-10 09:31:51 +00:00
he 7a931cc637 Remove a now-spurious & so that this builds again (for cobalt). 2008-04-10 09:05:53 +00:00
dyoung db4cb7c623 Commit straggler: elansc now attaches to something that provides
the 'pcibus' interface instead of the 'pci' interface.
2008-04-10 06:53:12 +00:00
riz de31682369 Catch the documentation up with the changes in vfs_vnops.c revision
1.155 - s/struct file/file_t/, and dropping a struct lwp * arg from
some functions.
2008-04-10 04:43:02 +00:00
apb 0942122d9d Sync command line options with MAKEDEV(8). Also re-word the
previously-incorrect part about "must be called from the /dev
directory".
2008-04-09 20:23:20 +00:00
apb 378687ec1c Document the new "-t mtree" option, and the fact that mtree is now
preferred by default.
2008-04-09 20:21:43 +00:00
apb b0ec85766d * Fix the problem with pax complaining "file would overwrite itself" for
already-existing device nodes.  This is done by invoking pax with its
  current working directory set to an empty temporary directory.

* Add "-t mtree" command line option, to force MAKEDEV to use "mtree
  -e -U" to create device nodes.  Here are some timings from "MAKEDEV
  ${method} all" on an i386 system; each method was executed three
  times, first in an empty directory, then twice in an already-populated
  directory:

    -m mknod
	    4.56 real         1.58 user         1.68 sys
	    2.96 real         1.37 user         1.48 sys
	    2.95 real         1.43 user         1.44 sys
    -p pax
	    1.80 real         0.18 user         0.62 sys
	    2.35 real         0.25 user         0.80 sys
	    2.38 real         0.24 user         0.82 sys
    -t mtree
	    1.62 real         0.22 user         0.44 sys
	    0.23 real         0.29 user         0.04 sys
	    0.24 real         0.28 user         0.05 sys

* If no command line options force a choice, then prefer mtree, pax, or
  mknod, in that order of preference.

No objections in tech-userlevel to an earlier version of this change.
2008-04-09 20:19:15 +00:00
wiz e47f3f6ebe Commit fix for the fdfile leak described in PR 38374.
Patch provided by YAMAMOTO Takashi.

Ok ad@
2008-04-09 19:36:59 +00:00
skrll 2bbc32f026 de-__P 2008-04-09 19:18:25 +00:00
skrll 1e4d6af0d6 Correct a comment. 2008-04-09 19:11:35 +00:00
njoly e3df4dc6c4 s/_POSIX_MESSAGE_PASSING/_SC_MESSAGE_PASSING/ in value. 2008-04-09 18:38:12 +00:00
njoly 3c71964512 Fix _SC_MQ_OPEN_MAX/_SC_MQ_PRIO_MAX sysctlgetmibinfo calls.
The corresponding sysctl nodes are available under kern.mqueue tree.
2008-04-09 18:37:04 +00:00
christos e8853135f2 fixed reversed tests in calendar (from Anon Ymous) 2008-04-09 17:47:53 +00:00
dyoung 5aed0dd299 Attach elansc at mainbus instead of at pci. 2008-04-09 17:35:17 +00:00
dyoung f1dc500675 Use device_t and accessors. Use cfdata_t and __arraycount().
Miscellaneous cosmetic changes.
2008-04-09 17:32:01 +00:00
dyoung 85481997e1 s/pcimatch/match/ to avoid conflict with a global name. 2008-04-09 17:27:14 +00:00
tsutsui 1a5b627b8f Return a proper value from isabr_iointr() even in error path. 2008-04-09 17:08:22 +00:00