Commit Graph

180328 Commits

Author SHA1 Message Date
dyoung
458342a90c Delete dead code. 2009-04-29 23:18:09 +00:00
wiz
749e1a3b98 void tabs, for consistency. 2009-04-29 22:34:31 +00:00
elad
69db27dc69 Replace open-coded vaccess() in ntfs_access() with a call to vaccess().
Similarly to msdosfs, always add the exec bit to keep the current
behavior.

Mailing list reference:

    http://mail-index.netbsd.org/tech-kern/2009/04/21/msg004881.html
2009-04-29 22:33:33 +00:00
snj
215e6d35e2 NetBSD 5.0. 2009-04-29 22:25:03 +00:00
jym
01d8525951 Do not forget to detach rnd(4) device when removing a xennet device.
Ok by bouyer@ in private mail.
2009-04-29 22:21:49 +00:00
tsutsui
8579e4ddeb Fix indent. 2009-04-29 18:24:05 +00:00
tsutsui
72c20785c4 Sort some entries. 2009-04-29 18:23:46 +00:00
tsutsui
06add2372c Fix indent and sort some entries. 2009-04-29 18:22:47 +00:00
tsutsui
1bdd710904 Fix indent on common/protocols changes. 2009-04-29 18:20:00 +00:00
tsutsui
1b053c8aa5 Remove unnecessary gnu/usr.bin from SRCDIRS. 2009-04-29 18:07:01 +00:00
tsutsui
102ba59746 Remove unneeded gnu/usr.bin from SRCDIRS. 2009-04-29 18:01:50 +00:00
pooka
a22ec3808b Add proof-of-concept code for enabling system calls to rump virtual
kernels running in other processes on the same machine or on an
entirely different host.  I wrote this a while ago and am now
committing it mainly to avoid losing it.  It works, but could do
with a little tuning here and there.

What this will hopefully eventually buy us is the ability to use
standard userland tools to configure rump kernels, e.g. ifconfig(8)
and route(8) could be used to configure the networking stack provided
by a rump kernel.  Also some distributed OS implications may apply.

fun fact: a system call which just does copyin/copyout takes >1000x
longer when made over the LAN as compared to when made on the same
machine.
2009-04-29 17:51:47 +00:00
pooka
c51cd914ad Add enough support to be able to create directories and perform
lookups through them.  This has two implications:

1) mountpoints can be created directly onto the rump rootfs.
   this is benefitial in test programs where we want the same
   program to be easily switched between testing against rump and
   testing against the host kernel.
2) fakeblk must be used (it used to work implicitly) to register
   block devices that should be used from the host fs namespace.
2009-04-29 16:05:41 +00:00
pooka
e479d47c73 include proc0 in allproc 2009-04-29 15:49:28 +00:00
pooka
ab0d880435 Use cwdinit() for proc0's cwdi. 2009-04-29 15:49:01 +00:00
pooka
296ba25baa * register fakeblk
* fix error message
2009-04-29 15:46:01 +00:00
dyoung
dfec23a174 Extract vfs_unmountall1() from vfs_unmountall() for reuse. 2009-04-29 15:44:55 +00:00
tsutsui
f6e36a0172 Pull some changes for newer chips from FreeBSD:
- pull MACSTAT and CMDSTOP quirks for 8168/8111 chips
- always set CPLUSCMD_PCI_MRW on reset
- set VLANSTRIP and RXCSUM_ENB bits on CPLUS register per if_capenable

Tested on 8111C and 8111D by several users, and
no bad side effect on my old 8169S.
2009-04-29 15:10:57 +00:00
pooka
fd43b78759 catch locking-against-oneself already when taking the lock 2009-04-29 14:58:50 +00:00
njoly
7e5810aafc Attach 82801IEM LPC Interface Bridge too. 2009-04-29 14:55:36 +00:00
pooka
986e36ad6d replace outdated comment. no functional change 2009-04-29 11:01:50 +00:00
tteras
ec20a1edf8 From Ross Meng: Fix a memory leak in X509 certificate validation. 2009-04-29 10:50:01 +00:00
martin
85a5535229 Add missing prototype for vfs_mountalloc(). 2009-04-29 10:46:46 +00:00
nakayama
1d09b9bbae More WARNS=4 fixes, for sparc and sun3. 2009-04-29 09:13:58 +00:00
skrll
c90e89c311 Don't panic in dino_intr_disesablish. Just note that it needs to be
implemented for now.

Stop gap fix for PR/41295.
2009-04-29 07:14:58 +00:00
dyoung
3e0a641f96 Extract common code from vfs_rootmountalloc(9) and mount_domount() into
a new struct mount-allocation routine, vfs_mountalloc(9).  Documentation
updates will follow.

Attention: Synchronization Oversight Committee!  In mount_domount(),
I postpone the call mutex_enter(&mp->mnt_updating) until right before
the VFS_MOUNT(9) call because (1) that looks to me like the earliest
possible opportunity for mp to become visible to any other LWP, because
it was just kmem_zalloc(9)'d and (2) it made extracting the common code
much easier.  Tell me if my reasoning is faulty.
2009-04-29 01:03:43 +00:00
roy
6bdecd9c27 Add an rc.d script for dhcpcd(8) 2009-04-28 23:30:34 +00:00
dyoung
b99ed0004a Let this build even if 'no options INET'. 2009-04-28 23:05:25 +00:00
joerg
70e3d67b70 Create images with 0666 - umask, not 0777 - umask (e.g. without x bits). 2009-04-28 22:49:26 +00:00
roy
f9f431805b Fix compile 2009-04-28 22:47:23 +00:00
dyoung
d446e68bf2 Use device_t, cfdata_t, and device_private(). 2009-04-28 22:43:50 +00:00
roy
a04200f334 Punt old files 2009-04-28 22:43:10 +00:00
roy
010bfc06c7 Update to dhcpcd-5.0.0 2009-04-28 22:31:52 +00:00
roy
2158200f72 Import dhcpcd-5.0.0
Major changes from dhcpcd-4 include
 * Single daemon can now run DHCP on multiple interfaces at the same time
 * Configuration profiles per interface, ssid, arping and fallback
 * Listens to 3rd party programs changing routing information
 * Supports DHCP INFORM over PPP
 * Can configure static options for destination address
 * Control socket so 3rd party program can control or listen directly
   to dhcpcd events
 * Is also a BOOTP client
2009-04-28 22:14:20 +00:00
dyoung
a82ec647f5 Let this build with 'no options INET'.
(I don't know why I bothered, either.)
2009-04-28 21:26:51 +00:00
dyoung
5c35d469c9 Cosmetic: remove unnecessary parentheses. 2009-04-28 20:56:40 +00:00
dyoung
9777865b42 Extract sockaddr_any_by_family() from sockaddr_any() for looking up a
wildcard ("any") address by protocol family instead of by sockaddr.
2009-04-28 20:54:50 +00:00
agc
b0de80b42e Sync the portable autoconfed Makefile with reality 2009-04-28 20:51:16 +00:00
agc
763288c777 Sync the portable autoconf Makefile with reality 2009-04-28 20:50:48 +00:00
agc
aa732d7398 Don't try to be clever here - sizeof(uint32_t) will always be 4... 2009-04-28 20:49:57 +00:00
skrll
15c5c4397e copyin the modctl_load_t for the non-x86 world. Fixes PR/41294. 2009-04-28 17:57:00 +00:00
agc
5abe14eabf Add a definition for libnetpgp 2009-04-28 15:41:52 +00:00
ginsbach
6be6867d6d Regen for Mellanox additions. 2009-04-28 14:32:43 +00:00
ginsbach
ea30fa5024 Add Mellanox Technologies Infiniband devices. 2009-04-28 14:27:16 +00:00
pooka
fa938330cb Free uao lock when destroying object. Fixes tmpfs rename leak
reported by njoly.
2009-04-28 14:00:42 +00:00
tteras
8bcee86f68 Reset nat_oa variables too when reusing phase two handler. Otherwise
phase2 rekeying might fail in some scenarios.
2009-04-28 13:54:07 +00:00
tsutsui
da88f224b7 Remove magic reset sequence except wakeup for rev 2 chips which breaks 8111D.
Problem reported and fix confirmed by Thomas Bieg on current-users.

Also tested on 8111C (no bad side effect) by several users privately.
2009-04-28 13:25:17 +00:00
apb
49e8137612 Do nothing if root file system has fs_passno=0 in /etc/fstab.
(It might be better to change fsck(8) so that "fsck -p" always checks
fs_passno, whether or not file systems are specified on the command
line.)
2009-04-28 13:08:51 +00:00
cegger
a4aa7dace4 on detach, deregister from pmf 2009-04-28 11:49:15 +00:00
cegger
9bb7df81f0 on detach, deregister from pmf and free resource 2009-04-28 11:47:56 +00:00