Commit Graph

195611 Commits

Author SHA1 Message Date
christos
83c933dca1 Use the source dir atomic.h 2010-12-15 02:08:16 +00:00
matt
bed392331d Remove unneeded <uvm/uvm.h> include 2010-12-15 01:33:37 +00:00
matt
6bf3d83398 remove unneeded <uvm/uvm_extern.h> includes 2010-12-15 01:32:31 +00:00
matt
0ae602f767 rework <uvm/uvm_extern.h> includes. 2010-12-15 01:29:37 +00:00
matt
9f06797af0 include <uvm/uvm_extern.h> here instead 2010-12-15 01:28:24 +00:00
matt
c32d8651a6 Remove unneeded includes of <uvm/uvm_extern.h> 2010-12-15 01:27:18 +00:00
haad
591e382e8c Revert last commit it's not needed anymore. 2010-12-15 00:58:58 +00:00
pooka
43f4e42ae4 usr.sbin/traceroute 2010-12-15 00:19:05 +00:00
pooka
15e64e6489 don't create h_img2cgd dirs anymore since they'll just be harvested by obsolete 2010-12-15 00:18:37 +00:00
pooka
7df18b4fe2 +traceroute tp 2010-12-15 00:17:34 +00:00
pooka
26aa758c5c Add simple tests for traceroute. The test bootstraps a three-node
network with one router in the middle and checks traceroute from
one endpoint to another with both UDP and ICMP.

(i guess these test networking at least as much as traceroute
itself, but then again that's not a bad thing)
2010-12-15 00:13:52 +00:00
pooka
7b290e7e38 rump.traceroute 2010-12-15 00:11:59 +00:00
pooka
3b00d9689f Use RUMPPRG. I think it's safe to say there's not going to be a
new upstream version of traceroute to import.

AS# lookup is still done using host networking.  Rationale: the
relevance to where that data comes from with respect to network
tracing is zero (be it socket, local file, db, whatever).
2010-12-15 00:09:41 +00:00
matt
237950ed97 Need to include <sys/device.h> since vax's <sys/cpu.h> doesn't. 2010-12-15 00:08:43 +00:00
matt
5d17e613c5 make this compile again. 2010-12-15 00:06:47 +00:00
matt
047e93c4e4 Make these compile again. 2010-12-15 00:05:46 +00:00
matt
1b74887e69 Make this compile again. 2010-12-15 00:04:51 +00:00
matt
b24020f6e4 Make this compilee again. 2010-12-15 00:04:28 +00:00
matt
0817367336 Cleanups includes. Change <machine/XXX.h> to <sys/XXX.h>
Remove unneeded includes.
2010-12-14 23:44:49 +00:00
christos
a9c38a6a96 Wrong rfc mentioned 2010-12-14 23:43:32 +00:00
haad
3bd4964ac1 Do not built 64b atomic ops to libzpool they are in libc again. 2010-12-14 23:39:11 +00:00
matt
06386a01bd Cleanup includes. Change <machine/XXX.h> to <sys/XXX.h> for bus, cpu, intr.
Remove unneeded includes.
2010-12-14 23:38:30 +00:00
matt
e7308846ab Cleanup includes. Switch from <machine/XXX.h> to <sys/XXX.h> from
bus, cpu, and intr.  Remove unneeded includes.
2010-12-14 23:31:16 +00:00
matt
1d55765e60 Include <sys/evcnt.h> since <sys/cpu.h> no includes <sys/device.h> 2010-12-14 23:29:33 +00:00
matt
f62094ba63 Since CLKF_BASEPRI isn't used any more, merge its test into CLKF_INTR which
results in a simplier comparision.
2010-12-14 23:29:02 +00:00
haad
e5d36b6393 Disable errors reported by unknown pragmas in dtrace module. 2010-12-14 23:27:47 +00:00
matt
57d4ba2384 Switch to use <sys/device_if.h> 2010-12-14 23:27:37 +00:00
christos
c2a9dfd59e handle lack of <sys/atomic.h> 2010-12-14 23:19:23 +00:00
christos
f4f6c00c90 silence gcc-3 uninitialized variable warning. 2010-12-14 23:18:31 +00:00
christos
30037bfd3f Handle NetBSD-5 and 4 lack of atomics by disabling threads. 2010-12-14 23:17:20 +00:00
christos
97caf9021f handle openssl versions less < 1. 2010-12-14 23:16:39 +00:00
wiz
c93380eba7 filesystem -> file system. 2010-12-14 21:49:21 +00:00
christos
e64c554fe8 fix uninitialized variable by elimination. 2010-12-14 21:32:43 +00:00
riz
a3a3268f75 Be explicit about byteswapped and ffsv2 file systems being currently
unsupported, while catching up to some changes in my local tree which
will hopefully support them at some time in the future.

Also, change "device" variable to "special", to reflect the fact
that resize_ffs will work on a plain file.
2010-12-14 20:45:22 +00:00
pooka
1d9fa0a3f8 Use a larger array to avoid overflow.
from Piotr Meyer
2010-12-14 20:09:43 +00:00
pooka
b6c04e07af Add an example for a server listening on a tcp port.
also, bump date to avoid problems with wizd
2010-12-14 19:52:14 +00:00
pooka
91ed45ab3f use ping -n, since technically we don't have dns 2010-12-14 19:08:22 +00:00
pooka
e5d7b7bef0 remove some leftover development garbage 2010-12-14 19:04:05 +00:00
pooka
49242e416d Make compile on non-NetBSD. 2010-12-14 19:03:21 +00:00
pgoyette
7ebf14078a Per private email (to myself and core@), cgd has agreed
I'm happy to assign all copyright to this file, ...

So replace original 4-clause cgd with a 2-clause NetBSD.
2010-12-14 18:51:56 +00:00
tteras
566286569e From Roman Hoog Antink <rha@open.ch>: Fix possible null derefence. 2010-12-14 17:57:31 +00:00
pooka
4273ad0aa6 add new, remove obsolete 2010-12-14 17:52:06 +00:00
pooka
4427b5725d Retire the old C helper in h_img2cgd since we can now write everything
with a shellscript in terms of rump.cgdconfig and dd.
2010-12-14 17:48:31 +00:00
pooka
5f732a29cb Convert from the oldstyle cgd_kops.op_open to the newstyle prog_open
and define RUMPPRG.  Get rid of the Makefile.inc stuff, since it was
useful only for the oldstyle regime.
2010-12-14 17:46:21 +00:00
jruoho
6a1d1f627b Remove functions/macros that are not in <tgmath.h> in NetBSD.
Use .Xr instead of .Fn for those functions/macros that have a manual page.
2010-12-14 17:27:32 +00:00
hannken
355e0e74e8 msdosfs_sync: check for dead vnode (denode == NULL) before testing denode flags. 2010-12-14 17:17:02 +00:00
jruoho
9c53985f97 Add a manual page for the makedev(), major(), and minor() macros.
Taken from FreeBSD. Written by Ed Schouten.
2010-12-14 17:09:27 +00:00
hannken
4d6cf788fb Make the definition of CRUNCHOPS independent of SMALLPROG_INET6 / USE_INET6.
Distrib/sparc64/instfs now builds again.
2010-12-14 17:07:08 +00:00
cegger
dce33a3d49 Initialize mutex and cv after sanity checks 2010-12-14 16:58:58 +00:00
pooka
dbc10b5a41 Add -d which can be used to register host-backed block devices in
the rump kernel.

It would be cool if this, and the other options, could be specified
in a config file (plist or other).
2010-12-14 16:40:05 +00:00