Commit Graph

146613 Commits

Author SHA1 Message Date
rpaulo 75f21410a7 Enable RFC3542. 2006-05-06 00:02:48 +00:00
jld efe3d96393 Use TAILQ_FOREACH instead of duplicating the code.
No change to compiled object file.
2006-05-05 23:45:52 +00:00
elad 00556c3786 remove -1, -2, -4, -5, -6, -m. 2006-05-05 22:07:22 +00:00
perseant ebcbbf8093 Tabify. 2006-05-05 19:42:07 +00:00
jld 78e3490d47 Have our dom0 periodically set Xen's time-of-day clock (much as Linux does).
That time is used by ~all domUs when they boot (or resume), and Linux by
default will pin the local clock to it; so, it's useful to correct its
drift as best we can.  A sysctl (machdep.xen_timepush_ticks) has been
added to allow changing the interval or disabling this feature.
2006-05-05 19:38:38 +00:00
perseant 0f4e4cae54 Allow the user to specify a file size in the ckckp regression test, including
the value zero (filling the filesystem with directories and empty file
inodes).
2006-05-05 19:38:30 +00:00
jld 2aa6d50864 Suspend/resume support for xbd -- keep enough info on live I/O to replay.
The rest of suspend/resume isn't there yet, but the parts that touch
regular usage have been tested.  Discussed on port-xen on 2006-04-25;
approved by bouyer@.
2006-05-05 19:25:26 +00:00
thorpej 9c324c373f Welcome to 3.99.19 (proplib replaces propdb). 2006-05-05 18:28:19 +00:00
thorpej 5a0577de75 The propdb API is obsolete. 2006-05-05 18:27:27 +00:00
thorpej 621d724145 Remove the obsolete (and now unused) propdb API. 2006-05-05 18:26:19 +00:00
thorpej fb44a8574b Remove the devprop API and switch everthing over to the new proplib. Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.
2006-05-05 18:04:41 +00:00
thorpej 948898912b Don't include <sys/endian.h> if building as a host tool. 2006-05-05 17:59:41 +00:00
christos e3de9285f0 don't include unneeded declarations if _STANDALONE (from simonb) 2006-05-05 15:08:43 +00:00
christos 5bf5cbaf48 const -> __const__ 2006-05-05 15:08:11 +00:00
tsutsui 0a6d1d8a5c Update for fhstat(2) versioning. 2006-05-05 13:58:48 +00:00
cube 1233d0b5cd Move fhstat as sys___fhstat30 in netbsd32_fs.c because it doesn't belong
to netbsd32_netbsd.c (which incidentally means it had been broken for a
while I guess).  Add compat_30 version.
2006-05-05 13:31:30 +00:00
cube 8332bbc306 Regen (fhstat versioning, posix_fadvise). 2006-05-05 13:29:50 +00:00
cube 8a02261127 Follow on fhstat(2) versioning. While there, add sys_posix_fadvise (no
emulation needed there).
2006-05-05 13:28:52 +00:00
cube a107f9847e Add compat_30 as a compatopts. 2006-05-05 13:27:29 +00:00
rpaulo 848d0be7cc len should be socklen_t, not size_t. Spotted by
Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>.
2006-05-05 12:49:23 +00:00
drochner 50d235e444 make sure "radiotap" capture data are aligned,
thanks to Pierrick Brossin for verifying the effect on "tcpdump" output
2006-05-05 09:04:05 +00:00
rpaulo de8db47547 Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.

From the KAME project (www.kame.net).
Reviewed by core.
2006-05-05 00:03:21 +00:00
lukem e48c097471 getservbyport(3) wants the port in network order.
Noted by Hajimu UMEMOTO <ume@freebsd.org>
via Maxim Konovalov <maxim@macomnet.ru>.
2006-05-04 23:22:21 +00:00
tsutsui 0229d65930 Generate initial aoutm68k_syscalls.c. 2006-05-04 22:30:00 +00:00
tsutsui 3c4442d43e aoutm68k_syscalls.c is now required by kdump(1). 2006-05-04 22:27:51 +00:00
christos 32c4e3d517 Since MNT_GETARGS is not allowed when any other flags are set, don't set
ASYNC in the getargs case.
2006-05-04 19:46:10 +00:00
christos c543e3e4ab since yamt prohibits any flag with MNT_GETARGS, don't set MNT_UPDATE for
/ when we do getargs.
2006-05-04 19:38:50 +00:00
rpaulo 2888212ca7 PR 33421: add ral at cardbus. From Pierrick Brossin. 2006-05-04 19:09:41 +00:00
christos 99f76ec337 Adjust for the fhstat() compat kernel change. 2006-05-04 19:00:18 +00:00
christos fc716ffaeb It is really bad style to define ULong unsigned long in one file and
uint32_t in another. No wonder lint was bitching (hello kjk)
2006-05-04 18:59:23 +00:00
christos 109ac28f93 Only do the mutex dance if _REENTRANT 2006-05-04 18:38:56 +00:00
christos 394f070a3e Handle aout m68k; from Izumi Tsutsui. 2006-05-04 18:06:29 +00:00
christos bc364eb43f update for fhstat. 2006-05-04 17:56:22 +00:00
christos 89a5572015 Regen 2006-05-04 17:50:28 +00:00
christos 9ec9aed92e fhstat needs to be versioned too (for ino_t). Pointed out by Izumi Tsutsui 2006-05-04 17:48:56 +00:00
christos cffd112ba3 regen 2006-05-04 17:23:00 +00:00
christos 6507871e48 Add compat30 getdents. Pointed out by Izumi Tsutsui. 2006-05-04 17:22:43 +00:00
perseant 86f30eea43 Regen after making VOP_FCNTL take an unlocked vnode. 2006-05-04 16:49:54 +00:00
perseant 935530188d Change VOP_FCNTL to take an unlocked vnode. Approved by wrstuden@. 2006-05-04 16:48:16 +00:00
christos cd037c90cb Coverity fixes upstream from Mark D. Baushke 2006-05-04 15:39:34 +00:00
yamt 1468e19297 implement splraiseipl() for sparc.
reviewed by Martin Husemann.

while i'm here, use macros for some MD constants (eg. IPL_ZS)
as suggested by Havard Eidnes.
2006-05-04 12:21:18 +00:00
yamt 4aed9e155a pull splraiseipl() for sparc64 from newlock branch.
reviewed by Martin Husemann.
2006-05-04 12:18:54 +00:00
simonb 15dc85722d Make the change for bin/31548 to set $PWD on shell startup non-fatal if
the current directory doesn't exist.
2006-05-04 11:16:53 +00:00
simonb 0b342c0b59 Use config_stdsubmatch() instead of a local submatch function. 2006-05-04 10:53:06 +00:00
kardel e01a907378 NetBSD 22 CID 3049,3075: safeguard against (unlikely to impossible) NULL deref 2006-05-04 08:24:05 +00:00
perseant efc48a3bfa newfs_lfs(8) compoment of the recent superblock parameter addition. Change
the wording of the explanation of the -M option, detail a new -R option
that controls initial setting of the new parameter.
2006-05-04 04:39:15 +00:00
perseant ce053245eb Introduce another per-filesystem parameter, lfs_resvseg, to separate the
notion of "how many segments are reserved for the cleaner" from that of
"how many segments are not counted in lfs_bfree".  The default value
used for existing filesystems is the same as the previous implicit value
of (lfs_minfreeseg / 2 + 1), modulo some sanity checking.

Count pending dirops on a per-filesystem basis, since once we start
writing them we can't stop until we're done.  This seems to help stave off
the "no clean segments" panic in the case of filling the filesystem with
directories and small files (e.g. simultaneously unpacking more copies of
pkgsrc than will fit).
2006-05-04 04:22:55 +00:00
simonb 5754da5b7f Add missing "return 0;" from WSDISPLAYIO_SMODE case in voodoofb_ioctl(). 2006-05-04 02:18:11 +00:00
ghen 3c29b80784 I joined releng recently. 2006-05-03 22:01:19 +00:00
wiz 09ca6f5fba Ah well, fix 3.0.1 entry too. 2006-05-03 21:43:31 +00:00