Commit Graph

168710 Commits

Author SHA1 Message Date
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
dyoung
82efc281ac Export some PCI autoconf routines for use by elansc(4), for example. 2008-04-09 17:01:53 +00:00
nisimura
e11b7f14dc - fix an indentation error in atawd.c
- use partition 'e' for a disk with no NetBSD slice.
- add Linux ATAG to feature ELF Linux kernel booting. Commented out for now.
- fix errors to retrieve iospace BARs.
2008-04-09 16:26:29 +00:00
tsutsui
14395bf943 Remove leftover stuff moved to dmac3var.h. 2008-04-09 15:43:03 +00:00
tsutsui
8f53f53cd9 Split device_t/softc, with misc cleanup. 2008-04-09 15:40:30 +00:00
nakayama
c43d57923a Remove kernel locks around malloc introduced when I added SMP support. 2008-04-09 15:21:02 +00:00
nakayama
39b07dd47b Reorganize clock assignments on SMP kernel:
- don't use separate statintr on primary CPU.
- invoke clockintr instead of statintr on secondary CPUs.

This change fixes the problem setitimer(2) didn't work on secodary CPUs.
2008-04-09 14:58:23 +00:00
joerg
426688d27e Regen. 2008-04-09 14:15:11 +00:00
joerg
a74db6c2ab Add PCI ID of 3Ware 9650 family. 2008-04-09 14:14:40 +00:00
skrll
26e28c7770 Revert previous in 30seconds. 2008-04-09 13:45:51 +00:00
nakayama
99adca9efa Use %xcc for 64-bit comparisons. 2008-04-09 12:49:05 +00:00
skd
d51db07a71 Fix small error in device/sc splitup. 2008-04-09 11:32:26 +00:00
skrll
9a2b7df6e3 Apply fix from binutils-current so that sparc gdb can be cross built
on a 64bit host.

Problem reported by mrg.
2008-04-09 10:26:20 +00:00
cegger
f98b30fb5e Re-add chunk of code that got lost in rev. 1.10. Makes this file build/work again. vi sometimes plays games with me. Spotted by dogcow. 2008-04-09 06:13:26 +00:00
nisimura
2553846738 - bind wd_softc to f->f_devdata.
- allow to have BSDFFS, EXT2FS and DOSFS on disk drive.
- the bootloader name is becoming unappropriate.
2008-04-09 06:07:57 +00:00
dogcow
9bad45d03e deparenthesize 'return (x);' and add missing close-brace. 2008-04-09 05:57:00 +00:00
cegger
c1886a2781 use aprint_*_dev and device_xname 2008-04-09 05:47:19 +00:00
thorpej
04e54b2ef5 - ipflow is not used outside ip_flow.c; move its definition there.
- Make ipflow_reap() private to ip_flow.c, and introduce ipflow_prune()
  for external callers to use (avoids returning an ipflow * that is never
  actually used anyway).
2008-04-09 05:14:20 +00:00
thorpej
0cfa6e7487 Make the percpu API a little more friendly:
- percpu_getptr() is now called percpu_getref() and implicitly disables
  preemption (via crit_enter()) when it is called.
- Added percpu_putref() which implicitly reenables preemption (via
  crit_exit()).
2008-04-09 05:11:20 +00:00
nisimura
1e77327a1b - abandon to maintain disksubr.c in favour of kern/subr_disk_mbr.c. 2008-04-09 01:56:19 +00:00
nisimura
6d7713a9a1 - use a hardwired value for ISA/PCI iospace until the right solution
to find.
- use const [] construct for register location lookup.
2008-04-09 01:08:39 +00:00
nisimura
8ec93217ac - typo in MBR offset.
- redo the previous change in main.c and wm.c
2008-04-09 00:20:35 +00:00
nisimura
7c716f683a - note a comment about a discovery of viaide BAR read value weirdness.
- have RAID and SATA PCI storage subclass.
- cosmetics around NIC drivers.
2008-04-08 23:59:03 +00:00
thorpej
3f466bce48 Change IPv6 stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old ip6stat structure; old netstat
binaries will continue to work properly.
2008-04-08 23:37:43 +00:00