Commit Graph

186170 Commits

Author SHA1 Message Date
agc
1e9d36d82d Update the manual page for the addition of ssh host keys. 2009-12-05 07:33:18 +00:00
agc
d6c0ee4fff One more thing in the "Done" section - add ssh host keys 2009-12-05 07:21:07 +00:00
agc
561d2d6ad0 Add new files into netpgp lib 2009-12-05 07:17:29 +00:00
agc
91c29c7450 Add the ability to use ssh host keys (on the fly) to provide RSA keys.
These keys can be used in the same way as normal PGP keys - to sign, verify,
encrypt and decrypt files and data.

	% cp configure a
	% sudo netpgp --ssh-keys --sign --userid 1e00404a a
	Password:
	pub 1024/RSA (Encrypt or Sign) 040180871e00404a 2008-08-11
	Key fingerprint: c4aa b385 4796 e6ce 606c f0c2 0401 8087 1e00 404a
	% sudo chmod 644 a.gpg
	% netpgp --ssh-keys --verify a.gpg
	netpgp: default key set to "C0596823"
	can't open '/etc/ssh/ssh_host_rsa_key'
	Good signature for a.gpg made Fri Dec  4 23:04:36 2009
	using RSA (Encrypt or Sign) key 040180871e00404a
	pub 1024/RSA (Encrypt or Sign) 040180871e00404a 2008-08-11
	Key fingerprint: c4aa b385 4796 e6ce 606c f0c2 0401 8087 1e00 404a
	uid              osx-vm1.crowthorne.alistaircrooks.co.uk (/etc/ssh/ssh_host_rsa_key.pub) <root@osx-vm1.crowthorne.alistaircrooks.co.uk>
	% uname -a
	NetBSD osx-vm1.crowthorne.alistaircrooks.co.uk 5.99.20 NetBSD 5.99.20 (ISCSI) #0: Wed Oct  7 17:16:33 PDT 2009  agc@osx-vm1.crowthorne.alistaircrooks.co.uk:/usr/obj/i386/usr/src/sys/arch/i386/compile/ISCSI i386
	%

The ssh host keys do not need to be manipulated in any way - the information
is read from existing files.
2009-12-05 07:08:18 +00:00
snj
aae5f537a8 Update for the addition of xf86-video-ws (hi mbalmer!). 2009-12-05 06:45:06 +00:00
snj
60936e4323 Update for librumpdev_dm (hi haad!). 2009-12-05 04:48:20 +00:00
mrg
4256cdf1fe - define CPP with a full path
- define CPP_ARGS to -traditional

part1 of xrdb fixes.  thanks to Patrick Welche <prlw1@cam.ac.uk> for
figuring out what was going wrong.
2009-12-05 03:28:08 +00:00
mrg
59c18d14fe apply a change from Xin LI <delphij@delphij.net> to avoid problems when
reading from pipes.  introduced with the multi-part bz2 fixes.
2009-12-05 03:23:37 +00:00
haad
3d3166c313 Try to fix amd64 build. 2009-12-05 01:52:44 +00:00
haad
ca10901dd8 Remove wrong TODO item, it violates abstraction between kernel-libdevmapper
and lvm tools.
2009-12-05 01:25:12 +00:00
haad
8f50b1a274 Fix bug in dm_table_resume_ioctl where dmv->flags was sent back to libdevmapper
except flags variable. This fixes weird behaviour, when worng links to
devices in /dev/mapper were created after lvrename/lvresize.
2009-12-05 01:21:41 +00:00
martin
9197e8f7e0 Refactor device_register code slightly in preparation for further changes.
No functional changes.
2009-12-05 01:11:18 +00:00
dyoung
a03e1f359b Oops, there was one mii_activate() call left. Delete it. 2009-12-04 22:45:28 +00:00
dyoung
2c7081ae8a Delete unused function mii_activate(). 2009-12-04 22:37:35 +00:00
haad
1a5d77acb9 Add small testing program which uses RUMP libdm to test device-mapper
functionality in userspace.
2009-12-04 22:18:30 +00:00
haad
1d798011f9 Add initial version of RUMP based device-mapper port. libdm compile whole
device-mapper driver in userspace and allows us to test a develop new dm targets
in userspace.
2009-12-04 22:13:59 +00:00
martin
63d5a98148 Properly detach phys 2009-12-04 22:13:26 +00:00
pooka
843ee69fbe Push all information cached in the vnode to the file server before
issuing INACTIVE.  PR kern/42194.
Also, send setattr in fsync asynchronously if FSYNC_WAIT is not set.
2009-12-04 20:26:35 +00:00
tsutsui
a45ee63e6e Allocate lwp0upa (PA of lwp0 uarea) right after kernel rather than
between other page tables to use different mappings for ste/pte pages
as well as amiga and atari.  Should resolve XXX comments in next68k and x68k.

Tested on hp300 and mac68k.
2009-12-04 18:55:13 +00:00
tsutsui
353cefd7f1 No need to initialize lwp0 u-area in pmap_bootstrap()
since it will be done in pmap_bootstrap_finalize().
2009-12-04 18:32:31 +00:00
tsutsui
b59d02fc5e Update one more comment. 2009-12-04 18:11:14 +00:00
tsutsui
97c41e17f2 Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Also update some comment.
Compile test only.
2009-12-04 18:06:28 +00:00
pooka
56d171a5c4 g/c unused functions (previously used by the vnode pager). 2009-12-04 17:57:16 +00:00
pooka
23a5898cdd Attach uhub@uhub (in addition to uhub@roothub, which was already there). 2009-12-04 17:37:05 +00:00
nakayama
26e988e972 Bring together similar definitions of inline functions manipulating
privileged registers using macro.  no functional change.
2009-12-04 17:31:06 +00:00
tsutsui
8f75ef4349 Fix a leftover comment. 2009-12-04 17:28:54 +00:00
pooka
c2e2c94461 Implement enough of uvm_mmap() to make the creative proplib ioctl
copyout code work.  No comments ... okok, if that'll make you leave
me alone: it's ioctl, so it's supposed to be funky (with a score
or two of psychedelic rock).
2009-12-04 17:15:47 +00:00
tsutsui
b57ad1c2ce Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Compile test only.
2009-12-04 17:11:10 +00:00
tsutsui
45c5695430 Use common pmap_bootstrap_finalize() to initialize lwp0 uarea etc.
Tested on LC630.
2009-12-04 16:57:18 +00:00
pooka
04ec7e76db Provide the default_mapaddr method in default rump emul (since some
kernel callers want to use it).
2009-12-04 16:47:33 +00:00
roy
5f333ecef0 Install our shell subscribers as normal files 2009-12-04 14:44:57 +00:00
roy
69def40f35 Import openresolv-3.3.4 2009-12-04 14:30:01 +00:00
roy
5bcbb70c4f Import openresolv-3.3.4
Changes from openresolv-3.3.3 include:
 * private_interfaces is now shell expandable (ie, fxp*)
 * dnsmasq resolver restarting with DBus is now fixed
 * unbound resolver is sent SIGHUP for reload instead of forced restart
 * subscribers with the execute bit are executed, otherwise sourced into
   a subshell for speed
2009-12-04 14:11:49 +00:00
njoly
25d47bcec5 Remove unneeded ichsmb(4)/nfsmb(4) cross-references. 2009-12-04 13:53:38 +00:00
pooka
60c8f07a95 Remove no longer supported suspend code. 2009-12-04 13:43:28 +00:00
jdc
2e4745d49b Only set 0x4FF in the transmit register for gigabit variants. Set 0x100
otherwise.
2009-12-04 13:35:56 +00:00
apb
fdf694944f Remove definition of GREP variable, which was unused. The only use
of this variable was removed in revision 1.67.
2009-12-04 12:43:56 +00:00
nakayama
f156bb147c s/u_intN_t/uintN_t/ and whitespace nit. no functional change. 2009-12-04 12:24:23 +00:00
nakayama
9491015d8b bus_space_handle_t:
- make _asi and _sasi unsigned to reduce superfluous codes by sign extension.
- remove unused member _virtual.
2009-12-04 12:22:16 +00:00
martin
4052083605 Fix a few nits in gem_detach:
Shuffle some bus_dmamem_ operations around, so they actually clean up
in the correct order.
Do not destroy a callout that might be stopped by if_detach later.
When detaching child devices fails, we have passed the point of no return
already, so complete our own cleanup and return the error in the end.
This happens for example when we have been unable to accomodate all phy
devices at attach time (and this is a separate bug).
2009-12-04 11:55:01 +00:00
haad
e8e1233552 Switch MKLVM to default value to yes. There are only few bits missing and it
would be great if it can receive more testing.

Oked: core@, yamt@
2009-12-04 11:21:07 +00:00
njoly
743418620c Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
2009-12-04 11:13:04 +00:00
njoly
5d456b9df1 Fix NetBSD keyword expansion. 2009-12-04 10:42:39 +00:00
christos
4ab80ffe22 Disable SSL V3 session renegotiation since the protocol parameters of the
old session are not cryptographically tied to the new session ones.
NB: Applications that require session re-negotiation will fail after this
update.
2009-12-03 23:44:33 +00:00
skrll
7268431c30 Apply errata workarounds.
From OpenBSD.
2009-12-03 22:18:04 +00:00
cegger
82b81a0cd1 Enumerate ACPI PCI devices. Allows to link PCI with ACPI devices.
Patch presented on tech-kern@
http://mail-index.netbsd.org/tech-kern/2009/11/28/msg006552.html

'nice work' Jukka Ruohonen
2009-12-03 21:04:29 +00:00
uebayasi
57fef1c87f Add MKZFS to MKEXTRAVARS just to make sure. 2009-12-03 18:26:34 +00:00
tron
6a125b5c44 Add "MKZFS" to either "_MKVARS.yes" or "_MKVARS.no" depending on the
default of this platform. This fixed the build for NetBSD/amd64
and NetBSD/i386.

Yes, this horrible. There should be a better way to handle these
settings in general.
2009-12-03 15:57:18 +00:00
tron
cccb4464c8 Make sure "error" gets initialised. 2009-12-03 15:28:49 +00:00
pooka
1c32fa54df one more path adjustment for rump_vfs_makedevnodes() change 2009-12-03 15:07:09 +00:00