yamt
6af9c3d49d
update after yamt-idlelwp merge.
...
- remove cpu_exit.9.
- remove ctxsw.9 from makefile because it's too stale.
XXX maybe it will revive as mi_switch.9 later.
- add cpu_switchto.9 to makefile.
2007-05-17 15:12:56 +00:00
yamt
e513490beb
update after yamt-idlelwp merge.
2007-05-17 15:06:25 +00:00
yamt
6ba36ace69
bump to 4.99.20. yamt-idlelwp merge.
2007-05-17 14:53:33 +00:00
yamt
a2f3ca9fc6
terminate yamt-idlelwp branch.
2007-05-17 14:52:50 +00:00
yamt
f03010953f
merge yamt-idlelwp branch. asked by core@. some ports still needs work.
...
from doc/BRANCHES:
idle lwp, and some changes depending on it.
1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
2007-05-17 14:51:11 +00:00
pooka
c8b0a89198
reflect changes in fs mount: use puffs_mount() instead of
...
puffs_domount() & puffs_start()
2007-05-17 14:13:04 +00:00
pooka
9550017a8d
Adapt to changes with mounting file systems.
...
Introduce a parameter -r to control the root node type. For example
"dtfs -r 'lnk /etc' /puffs" mounts dtfs with the root node as a
symbolic link to /etc:
jojonaru# ./dtfs -r 'lnk /etc' /puffs
jojonaru# ls -l /puffs
lrw-rw-rw- 1 root wheel 4 May 17 14:06 /puffs -> /etc
jojonaru# cd /puffs
jojonaru# pwd
/etc
jojonaru#
Extra credit for figuring out how to unmount this file system with
umount(8).
Likewise, "dtfs -r 'chr 2 12' /puffs" makes /puffs (i386) /dev/zero etcetc.
2007-05-17 14:10:13 +00:00
pooka
c7561a8e7c
Reflect kernel changes for supplying root node information in mount
...
instead of puffs_start(). Get completely rid of puffs_start(), as
everything it used to do is now handled by the mount routine.
Introduce an optional pre-mount call puffs_setrootinfo() for setting
non-default root node information. As the old puffs_mount() is
now virtually useless, say byebye to it and rename the old
puffs_domount() to puffs_mount(), but add a root cookie parameter
to compensate for the late puffs_start().
2007-05-17 14:03:13 +00:00
pooka
339652951e
Make it possible for the file server to specify the root vnode type
...
and other information instead of always using VDIR. To make this
possible without races, require all root node information already
in puffs_mount() and nuke puffs_start2() and the associated start
operation completely.
requested/inspired by Tobias Nygren
2007-05-17 13:59:22 +00:00
yamt
cb7e3eae7c
yamt-idlelwp: update base
2007-05-17 13:43:59 +00:00
pooka
5a69314b41
struct puffs_usermoint does sound more lively, but be serious and
...
fix the typos to puffs_usermount
2007-05-17 13:31:30 +00:00
yamt
1edd331e30
mark lwp_exit() and exit1() __noreturn__.
2007-05-17 12:05:03 +00:00
hannken
d34d506c7f
Remove an assertion that causes non-diagnostic kernels to fail.
2007-05-17 12:00:31 +00:00
yamt
ea9397d212
remove net.inet6.ip6.rht0.
2007-05-17 11:50:10 +00:00
yamt
c8a34d8e58
remove net.inet6.ip6.rht0 sysctl.
...
it's too dangerous compared to its benefit.
strongly requested by itojun@. ok'ed by core@.
2007-05-17 11:48:42 +00:00
fvdl
961ad7addf
Fix broken constraint in asm.
2007-05-17 10:42:42 +00:00
lkundrak
5611b751db
Added myself.
2007-05-17 08:56:46 +00:00
wiz
5c06e01588
gcc-4.2.0 out.
2007-05-17 08:49:38 +00:00
tron
8d815e7cf6
Remove entries for changes which have been pulled up into the "netbsd-4"
...
branch before the NetBSD 4.0 release.
2007-05-17 08:18:21 +00:00
tron
bd69af476a
Sync with the "CHANGES" file on the "netbsd-4" branch.
2007-05-17 08:15:47 +00:00
hannken
64b7e5637e
Fstrans_start() always returns zero, so change its type to void.
2007-05-17 07:26:21 +00:00
christos
19468d62cc
More fixes:
...
- make sure that the args array is NULL terminated.
- make sure argc is initialized and argv is set to NULL after freeing.
- make the deep copy function an opt interface function.
2007-05-17 01:55:43 +00:00
hubertf
ae218465f7
Add GENERIC.NOACPI kernel that offers - surprise! - no ACPI
...
(in contrast to GENERIC).
2007-05-17 01:50:48 +00:00
dyoung
1db31a59af
Fix the memory leak reported in kern/36337. Thanks Matthias Scheler
...
for the heads-up. My fix is based on the following patches from
FreeBSD, however, I extracted the code into a subroutine,
nd6_llinfo_release_pkts():
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet6/nd6.c.diff?r1=1.48.2.18;r2=1.48.2.19
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet6/nd6_nbr.c.diff?r1=1.29.2.8;r2=1.29.2.9
2007-05-17 00:53:26 +00:00
christos
50ab9d6934
- since mknod now can create regular files, make sure veriexec allows it.
...
Done in a way to minimize ifdefs. Per discussions with elad.
2007-05-17 00:46:30 +00:00
christos
b0d544666a
whitespace fixes.
2007-05-17 00:36:31 +00:00
christos
7ac2181da6
Deal with delta being negative on machines which signed shifts don't shift 1's.
2007-05-17 00:36:12 +00:00
christos
885f3f0a50
Only eat the - if argv[0] starts with a -
2007-05-17 00:32:01 +00:00
christos
5d1825b2a1
Use RESCUEDIR if set.
2007-05-17 00:17:50 +00:00
wrstuden
3ad4e74ec4
Document the new wrstuden-fixsa branch.
2007-05-16 23:53:13 +00:00
xtraeme
b18c74c93e
Add the $NetBSD$ tag, it's easier to know what revision you have.
2007-05-16 22:17:52 +00:00
agc
cd3ccd9b12
Add a new, trivial file system, pcifs, which shows the devices on a
...
pcibus (via pcictl(8)) under the mount point:
% df /mnt
Filesystem 1K-blocks Used Avail Capacity Mounted on
puffs:refuse:pcifs 0 0 0 100% /mnt
% l /mnt
total 642
drwxr-xr-x 2 root wheel 0 Jan 1 1970 .
drwxr-xr-x 31 root wheel 1024 May 16 20:06 ..
lrw-r--r-- 1 agc agc 65 May 16 22:05 000:00:0: -> Intel 82443BX Host Bridge/Controller (host bridge, revision 0x01)
lrw-r--r-- 1 agc agc 55 May 16 22:05 000:01:0: -> Intel 82443BX AGP Interface (PCI bridge, revision 0x01)
lrw-r--r-- 1 agc agc 64 May 16 22:05 000:07:0: -> Intel 82371AB (PIIX4) PCI-ISA Bridge (ISA bridge, revision 0x08)
lrw-r--r-- 1 agc agc 86 May 16 22:05 000:07:1: -> Intel 82371AB (PIIX4) IDE controller (IDE mass storage, interface 0x8a, revision 0x01)
lrw-r--r-- 1 agc agc 58 May 16 22:05 000:07:2: -> Intel 82371AB (PIIX4) USB Host Controller (USB serial bus)
lrw-r--r-- 1 agc agc 87 May 16 22:05 000:07:3: -> Intel 82371AB (PIIX4) Power Management Controller (miscellaneous bridge, revision 0x08)
lrw-r--r-- 1 agc agc 36 May 16 22:05 000:15:0: -> VMware Virtual SVGA II (VGA display)
lrw-r--r-- 1 agc agc 56 May 16 22:05 000:16:0: -> Symbios Logic 53c1030 (SCSI mass storage, revision 0x01)
lrw-r--r-- 1 agc agc 75 May 16 22:05 000:17:0: -> Advanced Micro Devices PCnet-PCI Ethernet (ethernet network, revision 0x10)
lrw-r--r-- 1 agc agc 53 May 16 22:05 000:18:0: -> Ensoniq AudioPCI 97 (audio multimedia, revision 0x02)
%
pcifs uses the virtdir routines, librefuse and puffs.
2007-05-16 21:44:30 +00:00
christos
c0df99a133
- Always check strdup return. For now we are lazy and bail instead of cleaning
...
up.
- Use malloc and free instead of macros, delete macros.
- Merge the two copies of deep copy and free args that were slightly buggy
into one and use that one.
XXX: Lots of ints should be size_t.
XXX: Bailing on error is not a good thing for a library.
XXX: Defs.h should be eliminated completely. Not all files need all the headers.
2007-05-16 21:39:08 +00:00
agc
9ceda06dfa
The FUSE_USE_VERSION is the definition which the user sets, and which
...
determines the API.
Provide a default for FUSE_USE_VERSION if it's not set, and use this
value to determine the number of arguments given to fuse_main().
2007-05-16 21:37:18 +00:00
agc
e54f9cf6a0
Add an example to the manual page.
2007-05-16 21:16:31 +00:00
christos
538010e358
coverity CID 4168: yyerror() does not return, so we proceed to de-reference
...
NULL. Make it return -1 instead like in other places.
2007-05-16 21:00:40 +00:00
christos
dc073934fe
coverity CID 4170: yyerror() does not return, so we proceed to de-reference
...
NULL. Make it return -1 instead like in other places.
2007-05-16 20:59:04 +00:00
christos
67f0e23f0f
coverity CID 4418: Don't call strlen() with NULL.
2007-05-16 20:53:49 +00:00
christos
a59f86365c
coverity CID 4378: fix bogus comparison that lead into dead code.
2007-05-16 20:49:35 +00:00
christos
0eeca5df9e
coverity CID 1220: Don't use size_t for return of read.
2007-05-16 20:45:45 +00:00
perseant
9234ba6fd8
Change references to SEGM_W_DIROPS to SEGM_CKP, and replace the logic that
...
formerly used SEGM_W_DIROPS in lfs_segwrite() appropriately. This prevents
a problem in which processes could get stuck in "buffers" sleep forever.
2007-05-16 19:11:37 +00:00
mrg
2f67db7ec7
regenerate
2007-05-16 19:08:52 +00:00
mrg
1f3063a78a
add Nvidia MPC04 SMBus
2007-05-16 19:07:42 +00:00
plunky
539d75b79d
use the sizeof the header, not the pointer to the header
...
(this fixes a problem with architectures where a pointer is not 4 octets)
2007-05-16 18:34:49 +00:00
hannken
0453160a52
Use rwlock for fmi_shared_lock and fmi_lazy_lock.
...
Ok: Andrew Doran <ad@netbsd.org>
2007-05-16 16:11:56 +00:00
christos
724513abed
deal with namespace pollution caused by tcpd.
2007-05-16 14:42:07 +00:00
tsutsui
f53e6de8bc
Use src/distrib/common/services.
2007-05-16 13:07:16 +00:00
tsutsui
419a28d6ac
Use src/distrib/common/services so that miniroot fits in 4MB.
2007-05-16 13:06:39 +00:00
martti
94f749229e
Create /dev/bio
2007-05-16 13:06:03 +00:00
tsutsui
241db7b832
Add /rescue/dumpfs and /rescue/dumplfs.
2007-05-16 12:42:00 +00:00