153351 Commits

Author SHA1 Message Date
taca
4858a2daf1 OpenSSH 4.5/4.5p1 released. 2006-11-08 01:54:57 +00:00
macallan
4f70466a7c split ofb into one part that attaches right on kernel startup and one that
attaches to pci so we can build kernels with - say - machfb but without
ofb at pci.
2006-11-08 01:25:10 +00:00
elad
87d047b739 Replace securelevel checks with kauth(9) calls. 2006-11-08 00:17:09 +00:00
pooka
da17507da9 adapt to new lookup signature 2006-11-07 22:11:17 +00:00
pooka
010234739c * support FAF (Fire-And-Forget) class operations
* adapt to new lookup
2006-11-07 22:10:53 +00:00
pooka
b3bdf665dd attach to genfs & support page cache. most noticeable effect is
mmap and therefore execution of binaries starting to work, some
speed improvements with large file I/O also.  caching semantics
and error case handling most likely need revisiting.
2006-11-07 22:10:18 +00:00
dbj
e2c201cff5 sort | uniq 2006-11-07 17:49:47 +00:00
dbj
42bc842287 add gkermit.debug 2006-11-07 17:48:21 +00:00
jmmv
749d415179 tmpfs_open cannot assume that the node to be open is still linked to a
directory, so remove an invalid assertion.  Otherwise the kernel incorrectly
panics when accessing the current directory after it has been removed.
2006-11-07 14:08:13 +00:00
jmmv
bd6b5f5dfe Catch an assertion failure that happens when accessing the current directory
after it has been deleted.
2006-11-07 14:07:12 +00:00
mrg
72a7dfed29 fix another uninitialised variable picked up by the gcc -O3 optimiser. 2006-11-07 10:31:31 +00:00
martti
c99cfadbd6 Regenerated. 2006-11-07 09:34:37 +00:00
martti
df5b06ab10 Added some MegaRAID SAS controllers. 2006-11-07 09:29:31 +00:00
elad
75451f036c Better VCHR handling. 2006-11-07 08:53:49 +00:00
rpaulo
23c8f132c9 Postfix 2.3.4 2006-11-07 03:11:02 +00:00
rpaulo
6956c21987 resolve conflicts 2006-11-07 03:09:18 +00:00
rpaulo
3bddbdfb40 Postfix 2.3.4 2006-11-07 02:54:05 +00:00
macallan
0bb8ed626b allow IDE DMA on Heathrow again 2006-11-07 02:23:27 +00:00
pooka
c15972c2b3 puffs_park always contains a specific puffs_req, so make it a member
instead of a pointer
2006-11-06 23:18:18 +00:00
xtraeme
f0a9e30534 First appeared in 3.1 not 4.0. 2006-11-06 21:32:57 +00:00
xtraeme
c3ca7d0b90 It was added in 3.1 not 4.0. 2006-11-06 21:31:26 +00:00
xtraeme
28214abdba First appeared in NetBSD 3.1 not 4.0... and bump date. 2006-11-06 21:27:15 +00:00
macallan
1009b21c56 add wsdisplay_preattach() to attach an early console that can be overridden
by wsdisplay_cnattach() for instance when a hardware-specific display driver
attaches.
as discussed on tech-kern
2006-11-06 19:51:12 +00:00
he
9fdd864183 Implement mostly-stub versions of the new syslog functions
({v,}syslog_{r,ss}) and the corresponding openlog_r/setlogmask_r/closelog_r
functions.

This should allow sparc64 to build its ramdiskbin again.

Reviewed by christos@
2006-11-06 17:33:56 +00:00
taca
549faa3243 - dhcp 3.0.5
- postfix 2.3.4
2006-11-06 14:13:31 +00:00
jmmv
c3429f8083 Pass a simple ELF header to ksyms_init_explicit with the minimum contents
required to initialize ksyms_hdr.  Otherwise LKMs do not work when using
ksyms_init_explicit instead of ksyms_init, as is the case of booting an
i386 kernel using Multiboot.
2006-11-06 13:35:35 +00:00
kardel
9a3db19511 track NTP bug 734: setsockopt(..., IP_MULTICAST_IF, ...) fails on 64 bit platforms 2006-11-06 12:19:30 +00:00
pooka
f212146148 make it possible to build & load puffs as an LKM
by Lubomir Kundrak, PR kern/35000
2006-11-06 11:44:54 +00:00
elad
993da55808 simplify & fix logic in device/rawio/spec. 2006-11-06 02:02:18 +00:00
elad
66e42f0f77 XXX: use KAUTH_DEVICE_RAWIO_PASSTHRU for direct disk access here. 2006-11-05 23:00:54 +00:00
jmmv
7d49db6eac Note a couple of tmpfs related changes. 2006-11-05 22:46:20 +00:00
jmmv
6b0060c0d6 Register the tmpfs lkm. 2006-11-05 22:43:26 +00:00
jmmv
8d45655462 Add a lkm for tmpfs. All the regression tests pass fine when using the
module rather than an in-core build.
2006-11-05 22:42:14 +00:00
cube
c3fe38a0cd config_found() is for direct configuration, not indirect.
Change the code to use config_search/config_attach, and print a warning
when the user has device* at pcppi? in the kernel configuration file.
2006-11-05 21:06:26 +00:00
jmmv
042827a010 Randomly initialize the node's generation to make file handles less
predictable.  This solves a problem that may appear when serving a tmpfs
over NFS: if the server reboots, newly allocated files should have
different file handles; otherwise the remote clients could access files
they were not supposed to touch.
2006-11-05 19:40:31 +00:00
jmmv
1a3e8c3caa Protect the dircookie stuff with _KERNEL. Fixes build problems of
mount_tmpfs as reported by Hisashi T Fujinaka in private mail.
2006-11-05 19:36:07 +00:00
he
2e013abffa Ensure that ${METALOG} does not grow without bounds as an effect of
repeated unprivileged UPDATE builds.

Discussed with lukem@
2006-11-05 18:04:44 +00:00
jmmv
2a3293d093 Exporting tmpfs file systems through NFS now works. Sure, file handles are
not persistent across reboots but neither are those of MFS, which we are
trying to replace.  We should probably warn the user somehow, but not
prevent him doing this if he really wants to.

While here add a "reply" to the code-style change item.
2006-11-05 18:03:21 +00:00
jmmv
b2603104c2 Truncate directory cookies to 31 bits to avoid problems exposed in Linux
binaries which cast the returned values to 64-bits and fail due to sign
expansion.  More details are provided in the big comment in tmpfs.h that
describes how the new tmpfs_dircookie works.

This is a rather ugly hack that shall be fixed with a cleaner solution,
but this resolves the problem in an effective way.

Fixes kern PR/32034.
2006-11-05 16:59:18 +00:00
tsutsui
a6058d8988 Rename prefixes of re(4) specific macro and structure members
from RTK_ or rtk_ to RE_ or re_ for maintainability of these sources.
Eventually we should split these files (and struct rtk_softc) into
three elements, rtk(4) specific one, re(4) specific one, and a common
(register definitions, eeprom and multicast functions etc) part.

While here, add a couple of comments around weird definitions.
2006-11-05 16:52:10 +00:00
tsutsui
7274f167d2 - make TX threshold macro more generic
- no need to bother to initialize sc_txthresh in rtk_attach()
  since it's done in rtk_init()
2006-11-05 15:49:41 +00:00
christos
9573aa20e8 - call the initialization routine for arc4randbytes.
- knf (add continues)
2006-11-05 14:13:56 +00:00
tsutsui
527c7a697a Use uintNN_t. 2006-11-05 13:05:18 +00:00
jld
e973fa550e If the timestamp is/becomes stale when computing the current system_time,
obviously shadow_system_time will need to be reread as well.
2006-11-05 10:11:55 +00:00
jdolecek
d5f5129729 add one code style and one knote-related item 2006-11-05 09:40:26 +00:00
martin
956703a5a2 Patch from Christos Zoulas:
rework syslog handling to fix PR 33926.
2006-11-05 09:16:20 +00:00
yamt
7bb70c7257 yamt-splraiseipl: prep 2006-11-05 08:37:20 +00:00
yamt
09a4e92a14 yamt-splraiseipl: pc532 2006-11-05 08:06:48 +00:00
yamt
0f0ac5fba9 vmapbuf: don't try to modify non-lvalue. 2006-11-05 08:04:55 +00:00
itohy
bb94735ed0 Restart transmitter, not reset the entire chip, on transmission errors
like Tx underrun.
This should improve performance on such errors.

Handle fifo threshold properly --- actually it did not handled at all.
Note that the Tx Complete interrupts occur only on errors, and ex_txstat()
is not good place to increment sc->tx_succ_ok.  Increase the sc->tx_succ_ok
count from 100 to 256, since the ex(4) does busmastering and underruns
should rarely happen in normal operations.

Possibly improve some situation for the hang-on-heavy-load problems,
such as kern/11450 and kern/27096.
2006-11-05 07:59:21 +00:00