Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (2h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 14:41:41 UTC Now

2009-04-04 23:47:47 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jld in ticket #668):
dist/nvi/vi/v_at.c: revision 1.3
Make vi's '@' command work again; a precedence warning fix in r1.2 added
parens in the wrong place such that '@' did nothing.  Needs pullup to -5.
Reported by Ed Ravin; fixes PR 41134.

(snj)

2009-04-04 23:45:24 UTC MAIN commitmail json YAML

Register with pmf(9), tell it we don't need anything.

(uwe)

2009-04-04 23:42:49 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #667):
libexec/makewhatis/makewhatis.c: revision 1.47
In addwhatis(), two items should not be treated as duplicates unless
both the "data" and "prefix" elements are identical.  For example, the
two lines
amiga/boot (8) - system bootstrapping procedures
amd64/boot (8) - system bootstrapping procedures
both appear with data = "boot (8) - system bootstrapping procedures" but
with different values for prefix, and we do not want to reject one of
them as a duplicate.

(snj)

2009-04-04 23:40:22 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #666):
usr.sbin/envstat/envstat.c: revision 1.72
fix pasto: don't print the critcap when the warncap was asked. Also off by
one in length. From Anon-Ymous.
XXX: Should pull up to 5.0

(snj)

2009-04-04 23:36:28 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by ad in ticket #661):
sys/arch/xen/xen/xenevt.c: revision 1.32
sys/compat/svr4/svr4_net.c: revision 1.56
sys/compat/svr4_32/svr4_32_net.c: revision 1.19
sys/dev/dmover/dmover_io.c: revision 1.32
sys/dev/putter/putter.c: revision 1.21
sys/kern/kern_descrip.c: revision 1.190
sys/kern/kern_drvctl.c: revision 1.23
sys/kern/kern_event.c: revision 1.64
sys/kern/sys_mqueue.c: revision 1.14
sys/kern/sys_pipe.c: revision 1.109
sys/kern/sys_socket.c: revision 1.59
sys/kern/uipc_syscalls.c: revision 1.136
sys/kern/vfs_vnops.c: revision 1.164
sys/kern/uipc_socket.c: revision 1.188
sys/net/bpf.c: revision 1.144
sys/net/if_tap.c: revision 1.55
sys/opencrypto/cryptodev.c: revision 1.47
sys/sys/file.h: revision 1.67
sys/sys/param.h: patch
sys/sys/socketvar.h: revision 1.119
Add fileops::fo_drain(), to be called from fd_close() when there is more
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.
Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.
thr0 accept(fd, ...)
thr1 close(fd)

(snj)

2009-04-04 23:26:06 UTC MAIN commitmail json YAML

2009-04-04 23:24:07 UTC MAIN commitmail json YAML

Also put bootxx_ffsv2 into installation ramdisk.

XXX: is it worth to put bootxx_lfs nowadays?

(tsutsui)

2009-04-04 23:13:18 UTC MAIN commitmail json YAML

Restore SpeedStep settings on shutdown. Some BIOSes don't like it, if
SpeedStep is enabled and powerdown fails otherwise. Fixes PR kern/40487.

(joerg)

2009-04-04 23:04:57 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by ad in ticket #658):
sys/dev/ccd.c: revision 1.133 via patch
sys/dev/ccdvar.h: revision 1.31
Fix problems with ccd:
- Pending async I/O was tossed on unconfigure (should not happen, but..)
- It could exhaust memory under heavy I/O load.
- If memory allocation failed, disk transfers could stall.
- v_numoutput was updated without v_interlock held.
Additionally:
- Make it MPSAFE.
- Use kmem_alloc().

(snj)

2009-04-04 22:34:03 UTC MAIN commitmail json YAML

Update the big comment block.

(ad)

2009-04-04 22:05:47 UTC MAIN commitmail json YAML

If drvctl -l is used without argument, print the root device nodes.

(joerg)

2009-04-04 21:49:49 UTC MAIN commitmail json YAML

Tags are internally stored with leading and trailing commas, for ease
of using strcmp(3) to check them against inclusion or exclusion lists.
Don't output the leading or trailing commas.

(apb)

2009-04-04 21:49:05 UTC MAIN commitmail json YAML

Allow querying for root devices in the tree by specifying an empty
device name. Ensure that l_devname is NUL-terminated and fail otherwise.
OK cube@

(joerg)

2009-04-04 18:43:01 UTC MAIN commitmail json YAML

fix pasto: don't print the critcap when the warncap was asked. Also off by
one in length. From Anon-Ymous.
XXX: Should pull up to 5.0

(christos)

2009-04-04 18:28:14 UTC netbsd-5 commitmail json YAML

2009-04-04 18:22:54 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by plunky in ticket #665):
sbin/ifconfig/ifconfig.c: revision 1.215
Because the IFF_NOARP flag is a negative option it needs to be negated
when being applied from the "arp" option which itself is positive.
problem demonstrated by
# ifconfig tap3 create
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: f2:0b:a4:7f:44:03
        media: Ethernet autoselect
# ifconfig tap3 arp
# ifconfig tap3
tap3: flags=8882<BROADCAST,NOARP,SIMPLEX,MULTICAST> mtu 1500
        address: f2:0b:a4:7f:44:03
        media: Ethernet autoselect
# ifconfig tap3 -arp
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: f2:0b:a4:7f:44:03
        media: Ethernet autoselect
# ifconfig tap3 destroy
#

(snj)

2009-04-04 18:14:50 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #664):
sys/miscfs/genfs/genfs_io.c: revision 1.16
Check that the filesystem acutally uses WAPBL before initiating a
transaction for the directio case. Fixes PR 39929 and similiar issues
seen with PostgreSQL.

(snj)

2009-04-04 18:12:55 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by ad in ticket #663):
sys/fs/union/union_vfsops.c: revision 1.59
Turn up the volume on the warning message a bit and note that unionfs can
corrupt the underlying file system. This is an old problem but is now
much easier to trigger because VFS has gone fully multithreaded.

(snj)

2009-04-04 18:11:17 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by ad in ticket #662):
sys/ufs/lfs/lfs_vfsops.c: revision 1.272
Turn up the volume on the warning message a bit.

(snj)

2009-04-04 18:03:06 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #660):
sys/net/if_bridge.c: revision 1.68
Fix another typo

(snj)

2009-04-04 18:02:21 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #660):
sys/net/if_bridge.c: revision 1.67
Fix a comment, and make it build.

(snj)

2009-04-04 18:01:25 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #660):
sys/net/if_bridge.c: revision 1.66
Fixes from Masao Uebayashi

(snj)

2009-04-04 18:00:03 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #660):
sys/net/if_bridge.c: revision 1.65
sys/net/if_bridgevar.h: revision 1.14
Fix for if_start() and pfil_hook() being called from hardware interrupt
context (reported on various mailing-lists, and part of PR kern/41114,
causing panic in pf(4) and possibly ipf(4) when BRIDGE_IPF is used).
Defer bridge_forward() to a software interrupt; bridge_input() enqueues
mbufs to ifp->if_snd which is handled in bridge_forward().

(snj)

2009-04-04 17:56:13 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #659):
distrib/sets/sets.subr: revision 1.82
All non-error messages printed to stderr by makeplist must begin with
"DEBUG:", or else regpkg assumes that they are error messages.  Make the
verbose messages printed by the list_set_files function follow that
convention.  Fixes PR 41077 from Lloyd Parkes.

(snj)

2009-04-04 17:49:21 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by ad in ticket #657):
sys/kern/subr_disk.c: revision 1.95
sys/kern/subr_iostat.c: revision 1.17
sys/sys/disk.h: revision 1.52
sys/sys/iostat.h: revision 1.10
Add disk_isbusy(), iostat_isbusy().

(snj)

2009-04-04 17:39:10 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by ad in ticket #656):
sys/arch/amd64/amd64/gdt.c: revision 1.21 via patch
sys/arch/amd64/amd64/machdep.c: revision 1.129 via patch
sys/arch/i386/i386/gdt.c: revision 1.47 via patch
sys/arch/i386/i386/kvm86.c: revision 1.17 via patch
sys/arch/i386/i386/locore.S: revision 1.85 via patch
sys/arch/i386/i386/machdep.c: revision 1.666 via patch
sys/arch/i386/i386/vector.S: revision 1.45 via patch
sys/arch/i386/include/pcb.h: revision 1.47 via patch
sys/arch/x86/include/pmap.h: revision 1.22 via patch
sys/arch/x86/include/sysarch.h: revision 1.8 via patch
sys/arch/x86/x86/pmap.c: revision 1.80 via patch
sys/arch/x86/x86/sys_machdep.c: revision 1.17 via patch
sys/compat/linux/arch/i386/linux_machdep.c: revision 1.143 via patch
sys/kern/init_main.c: revision 1.384 via patch
PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash
Fix numerous problems:
1. LDT updates are not atomic.
2. Number of processes running with private LDTs and/or I/O bitmaps
  is not capped. System with high maxprocs can be paniced.
3. LDTR can be leaked over context switch.
4. GDT slot allocations can race, giving the same LDT slot to two procs.
5. Incomplete interrupt/trap frames can be stacked.
6. In some rare cases segment faults are not handled correctly.

(snj)

2009-04-04 17:38:30 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by add in ticket #655):
        sys/ufs/ffs/ffs_vfsops.c: revision 1.245 via patch
fsync:
- atime updates were not being synced.
ffs_sync:
- In some cases the sync vnode was acting like now dead /usr/sbin/update.
  It was examining vnodes that it should have ignored.
- It would find dirty inodes and try to flush them. Often ffs_fsync()
  cheerfully ignored the flush request due to the fsync bug. Such inodes
  remained dirty and were repeatedly re-examined by the syncer until
  vnode reclaim or system shutdown.
- We were marking our place in the per-mount vnode list even though in
  most cases there was not flush to perform. While not a bug, this wasted
  CPU cycles because a TAILQ_NEXT would have sufficed.

(snj)

2009-04-04 17:30:00 UTC MAIN commitmail json YAML

Convert to mdoc. Bump date for previous.

(wiz)

2009-04-04 17:27:16 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by add in ticket #655):
sys/ufs/ffs/ffs_vfsops.c: revision 1.245 via patch
sys/ufs/ffs/ffs_vnops.c: revision 1.112 via patch
fsync:
- atime updates were not being synced.
ffs_sync:
- In some cases the sync vnode was acting like now dead /usr/sbin/update.
  It was examining vnodes that it should have ignored.
- It would find dirty inodes and try to flush them. Often ffs_fsync()
  cheerfully ignored the flush request due to the fsync bug. Such inodes
  remained dirty and were repeatedly re-examined by the syncer until
  vnode reclaim or system shutdown.
- We were marking our place in the per-mount vnode list even though in
  most cases there was not flush to perform. While not a bug, this wasted
  CPU cycles because a TAILQ_NEXT would have sufficed.

(snj)

2009-04-04 17:22:48 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #654):
distrib/sets/maketars: revision 1.66
Explicitly sort entries on preparing set files from METALOG.
METALOG could have different order due to install(1) race
on parallel builds, and mtree(8) doesn't sort files.
Should fix inconsistent shared sets among builds as seen in
/pub/NetBSD-daily/netbsd-5/200904010000Z/shared/ and
/pub/NetBSD-daily/netbsd-5/200904010002Z/shared/ dirs.
Okay'ed by snj@.

(snj)

2009-04-04 17:20:00 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #653):
sys/dev/vnd.c: revision 1.195
Add FSYNC_CACHE flag to the VOP_FSYNC() call for the DIOCCACHESYNC ioctl.
PR 41015.

(snj)

2009-04-04 17:18:53 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #653):
sys/dev/cgd.c: revision 1.57
Pass DIOCCACHESYNC ioctl down to the underlying disk.
Addresses PR 41016.

(snj)

2009-04-04 17:17:38 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #653):
sys/dev/vnd.c: revision 1.194
PR/41015: Alan Barrett: vnd driver does not implement DIOCCACHESYNC

(snj)

2009-04-04 17:15:14 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by sborrill in ticket #652):
sys/dev/raidframe/rf_disks.c: revision 1.71
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.260
Switch various printfs from %ld and %d to PRIu64, etc. to be more consistent
about types (for instance uint32_t was being printed with %d).

(snj)

2009-04-04 17:10:20 UTC MAIN commitmail json YAML

Because the IFF_NOARP flag is a negative option it needs to be negated
when being applied from the "arp" option which itself is positive.

problem demonstrated by

# ifconfig tap3 create
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 arp
# ifconfig tap3
tap3: flags=8882<BROADCAST,NOARP,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 -arp
# ifconfig tap3
tap3: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: f2:0b:a4:7f:44:03
media: Ethernet autoselect
# ifconfig tap3 destroy
#

(plunky)

2009-04-04 16:58:26 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by ad in ticket #651):
sys/kern/subr_workqueue.c: revision 1.27
workqueue_finiqueue: our stack could be swapped out while enqueued to
a worker thread.

(snj)

2009-04-04 16:05:10 UTC MAIN commitmail json YAML

New feature: "?" for time specifications, means a single time selected at
random from within the range at file read time. Very useful if you
want to avoid having a fleet of machines melt a server by all trying to
contact it at a precise time every morning. See docs for details.

Reviewed by: christos, apb, vixie, others.

XXX apb suggests, quite reasonably, that ?10-16/2 should mean
something like 10,12,14,16 or 11,13,15. I'm too lazy to do it right
now, but it should be done.

XXX vixie suggests, quite reasonably, that if you're using "?" one
should delay randomly by 0-59 seconds. In the modern NTP world, you
could imagine that with a million well synchronized machines the
second just at the minute would be hit quite hard. I'm too lazy to do
it right now, but it should be done.

XXX cron needs to be updated to Vixie's cron 4.1 code.

(perry)

2009-04-04 15:53:49 UTC MAIN commitmail json YAML

Fix another typo

(bouyer)

2009-04-04 15:47:28 UTC MAIN commitmail json YAML

Fix a comment, and make it build.

(bouyer)

2009-04-04 15:31:47 UTC MAIN commitmail json YAML

Fixes from Masao Uebayashi

(bouyer)

2009-04-04 15:31:08 UTC MAIN commitmail json YAML

PR/41138: Henning Petersen: Redundant declarations in rpc_internal.h
While here remove __P, KNF.

(christos)

2009-04-04 15:27:48 UTC MAIN commitmail json YAML

Mention html versions of recently-added bit* man pages

(apb)

2009-04-04 15:25:19 UTC MAIN commitmail json YAML

2009-04-04 12:30:43 UTC MAIN commitmail json YAML

Cannot remember why I thought cron-4.3 was out -- downgrade to 4.1.
Noted by perry.

(wiz)

2009-04-04 11:34:09 UTC MAIN commitmail json YAML

Back out the / change. This is an incorrigible. Any change to that would
make it more user friendly is likely to (a) trigger complaints from elitist
morons (b) overflow RAM disks everywhere.

(ad)

2009-04-04 11:24:24 UTC MAIN commitmail json YAML

- Improve on previous.
- If no /usr and the disk still has free space, give it to /

(ad)

2009-04-04 11:04:28 UTC MAIN commitmail json YAML

2009-04-04 11:03:24 UTC MAIN commitmail json YAML

Assume that extended int13 support is available if we have no diskinfo.

(ad)

2009-04-04 10:38:00 UTC MAIN commitmail json YAML

- Default to UFS2 if the platform can boot from it.
- Default logging on.

(ad)

2009-04-04 10:36:09 UTC MAIN commitmail json YAML

2009-04-04 10:33:59 UTC MAIN commitmail json YAML

Turn up the volume on the warning message a bit.

(ad)

2009-04-04 10:32:49 UTC MAIN commitmail json YAML

Turn up the volume on the warning message a bit and note that unionfs can
corrupt the underlying file system. This is an old problem but is now
much easier to trigger because VFS has gone fully multithreaded.

(ad)

2009-04-04 10:13:30 UTC MAIN commitmail json YAML

5.99.10 struct fileops changed for f_drain. I have added a couple of spares.

(ad)

2009-04-04 10:12:52 UTC MAIN commitmail json YAML

Add fileops::fo_drain(), to be called from fd_close() when there is more
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.

Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.

thr0 accept(fd, ...)
thr1 close(fd)

(ad)

2009-04-04 10:08:08 UTC MAIN commitmail json YAML

All non-error messages printed to stderr by makeplist must begin with
"DEBUG:", or else regpkg assumes that they are error messages.  Make the
verbose messages printed by the list_set_files function follow that
convention.  Fixes PR 41077 from Lloyd Parkes.

(apb)

2009-04-04 10:00:23 UTC MAIN commitmail json YAML

Fix for if_start() and pfil_hook() being called from hardware interrupt
context (reported on various mailing-lists, and part of PR kern/41114,
causing panic in pf(4) and possibly ipf(4) when BRIDGE_IPF is used).
Defer bridge_forward() to a software interrupt; bridge_input() enqueues
mbufs to ifp->if_snd which is handled in bridge_forward().

(bouyer)

2009-04-04 08:29:39 UTC MAIN commitmail json YAML

Fix problems with ccd:

- Pending async I/O was tossed on unconfigure (should not happen, but..)
- It could exhaust memory under heavy I/O load.
- If memory allocation failed, disk transfers could stall.
- v_numoutput was updated without v_interlock held.

Additionally:

- Make it MPSAFE.
- Use kmem_alloc().

(ad)

2009-04-04 07:30:10 UTC MAIN commitmail json YAML

2009-04-04 02:05:08 UTC MAIN commitmail json YAML

Fix type of DRM_IOCTL_SG_ALLOC ioctl -- it should be input/output instead of
just input.  Noticed while debugging some scatter/gather fixes from FreeBSD.

(rafal)

2009-04-04 01:45:19 UTC MAIN commitmail json YAML

2009-04-04 01:36:31 UTC MAIN commitmail json YAML

2009-04-04 01:13:43 UTC MAIN commitmail json YAML

Make vi's '@' command work again; a precedence warning fix in r1.2 added
parens in the wrong place such that '@' did nothing.  Needs pullup to -5.

Reported by Ed Ravin; fixes PR 41134.

(jld)

2009-04-03 22:36:36 UTC MAIN commitmail json YAML

2009-04-03 21:31:08 UTC MAIN commitmail json YAML

Stop dereferencing a dangling device_t pointer and crashing: skip the
drives flagged DRIVE_ATAPI in atabus_activate(,DVACT_DEACTIVATE) just as
we skip them in atabus_detach() and in atabus_childdetched().

Make atabus_detach() parallel attachment more closely by calling
config_detach() on the child chp->ata_drives[i] instead of on
chp->ch_drive[i].drv_softc.  Assert that ata_drives[i] and
ch_drive[i].drv_softc are equal, and set them both to NULL in
atabus_childdetached().

(dyoung)

2009-04-03 21:18:59 UTC MAIN commitmail json YAML

Make "mtree -C" sort its output.

As the input is read from a specfile into a tree of linked lists,
keep each linked list sorted.  The sort order is the same as that
already used by "mtree -c": directories sort after non-directories, but
otherwise names are sorted in the order used by strcmp().

(apb)

2009-04-03 19:34:19 UTC MAIN commitmail json YAML

workqueue_finiqueue: our stack could be swapped out while enqueued to
a worker thread.

(ad)

2009-04-03 18:04:06 UTC netbsd-5 commitmail json YAML

2009-04-03 17:59:03 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #650):
sys/net/route.c: revision 1.117
sys/net/route.h: revision 1.73
sys/net/rtsock.c: revision 1.125
usr.sbin/arp/arp.c: revision 1.48
usr.sbin/pppd/pppd/sys-bsd.c: revision 1.59
Centralize the ROUNDUP and ADVANCE macro in a header file, give them an
RT_ prefix and use them appropriately, instead of making copies. Make
pppd use the RT_ROUNDUP macro; fixes proxyarp setting on 64 bit hosts.

(snj)

2009-04-03 17:52:49 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by dyoung in ticket #649):
usr.sbin/postinstall/postinstall: revision 1.86
Look for MAKEDEV.local in both ${SRC_DIR}/dev/ and ${SRC_DIR}/etc/,
so that 'postinstall check makedev' works whether the sources told
by the -s argument are a NetBSD source tree, etc.tgz, or a DESTDIR.

(snj)

2009-04-03 17:51:54 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by dyoung in ticket #649):
usr.sbin/postinstall/postinstall: revision 1.85
do_makedev: look at a correct directory for MAKEDEV.local

(snj)

2009-04-03 17:50:53 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by dyoung in ticket #649):
usr.sbin/postinstall/postinstall: revision 1.84
Added MAKEDEV.local to postinstall's makedev check. Upgraded systems were
not getting an updated MAKEDEV.local file.

(snj)

2009-04-03 17:47:43 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #648):
lib/libpthread/pthread.c: revision 1.109
Fix the comparision function used by the red-black tree global thread list
implementation:
-don't return a difference, this can overflow
-don't try to substract typed pointers which don't belong to the
same object, this gives undefined results
This fixes instabilities of programs which use more than a handful
of threads, eg spuriously failing pthread_join().

(snj)

2009-04-03 17:45:31 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #647):
sys/dev/sbus/zx.c: revision 1.25
sys/dev/sbus/zxreg.h: revision 1.6
sys/dev/sbus/zxvar.h: revision 1.3
Use bus_space(9) to access registers.  SETREG() macro using bogus casts
against packed structures doesn't work on gcc4. (no character on screen)
See also:
http://mail-index.NetBSD.org/port-sparc/2003/11/11/0002.html
Should be pulled up to netbsd-4 and netbsd-5.

(snj)

2009-04-03 17:42:36 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by enami in ticket #645):
common/lib/libc/arch/i386/atomic/atomic.S: revision 1.17
sys/arch/amd64/amd64/spl.S: revision 1.21
sys/arch/x86/x86/patch.c: revision 1.17
So that profile kernel runs again,
- Adjust the size of functions used to patch.
- Fix the jump offset of mcount call when patching functions.
Approved by Andrew Doran.

(snj)

2009-04-03 16:23:41 UTC MAIN commitmail json YAML

Switch various printfs from %ld and %d to PRIu64, etc. to be more consistent
about types (for instance uint32_t was being printed with %d).

(sborrill)

2009-04-03 16:21:08 UTC MAIN commitmail json YAML

Remove the creation of the following symlinks to nowhere:

/usr/X11R7/lib/libXaw.so.6
/usr/X11R7/lib/libXaw.so.7
/usr/X11R7/lib/libXaw.so.8

Note that there is still some use of the "LIBOLD" variables in the
Makefiles associated with PKG* variables that I don't understand.

Discussed with mrg and martin

(perry)

2009-04-03 15:41:14 UTC MAIN commitmail json YAML

2009-04-03 14:47:48 UTC MAIN commitmail json YAML

Include sys/evcnt.h for struct evcnt, not sys/device.h.

(uebayasi)

2009-04-03 14:47:41 UTC MAIN commitmail json YAML

Fix yet another recent crashy bug in tmpfs rename: since the source
dirent is no longer cached in lookup and we do the lookup ourselves
in rename, we are most definitely not allowed to assert that it
matches the source vnode passed as an argument.  In case the source
node does not exist or has been replaced, punt with ENOENT.

Also, nuke some misleading prehistoric comments which haven't been
valid in over a year.

Fixes PR kern/41128 by Nicolas Joly

(pooka)

2009-04-03 14:07:26 UTC nick-hppapmap commitmail json YAML

Track referrenced and modified attributes of pages correct, i.e. as
described in pmap(9).

Inherit uncacheable attribute if the page already has non-equiv aliases.

Tidy-up a comment while I'm here.

(skrll)

2009-04-03 13:22:05 UTC MAIN commitmail json YAML

Issue a better error message if attempting to create a file system
on a block device.  Inspired by PR kern/41127.

(pooka)

2009-04-03 10:46:36 UTC MAIN commitmail json YAML

- Used sys/queue.h
- Removed useless strdup/free
- Removed #include in fsu_flist.h
- Used only one entry by hardlink source
- BUFSIZE -> sizeof(buf)
- Fixed progname check

(stacktic)

2009-04-03 10:38:14 UTC MAIN commitmail json YAML

2009-04-03 07:26:07 UTC MAIN commitmail json YAML

Fix bug I introduced in rev 1.64: don't use stack space after
return.  pointed out by yamt.

(pooka)

2009-04-03 05:01:10 UTC MAIN commitmail json YAML

Use dev/apm/files.apm for APM options in opt_apm.h.

Now both apm and apmdev files.apm can be included so you can switch
from apmdev0 to apm0 at hpcapm0 in your kernel config easily.

(uwe)

2009-04-03 04:25:40 UTC MAIN commitmail json YAML

Treat OAPM_IOC_GETPOWER as APM_IOC_GETPOWER - from apmdev(4).

(uwe)

2009-04-03 04:21:51 UTC MAIN commitmail json YAML

Config glue for attaching apm at apmdevif.

Unfortunately dev/apm/files.apm and dev/hpc/apm/files.apm cannot be
included both at the same time (they define same options and config(1)
complains), so you need to comment out old code and uncomment new code
to be able to replace "apmdev0 at hpcapm0" with "apm0 at hpcapm0" in
your kernel config.

(uwe)

2009-04-03 04:17:03 UTC MAIN commitmail json YAML

Attachment glue to attach apm0 at hpcapm0.
Tested on Jornada 690.

(uwe)

2009-04-03 04:13:18 UTC MAIN commitmail json YAML

Switch apmdev to use apm(4) structures from dev/apm/apmvar.h.
Add batteryid argument to aa_get_powstat method implementations.

(uwe)

2009-04-03 02:08:38 UTC MAIN commitmail json YAML

Further reduce diffs to dev/apm/apm.c.

Bring over remaining bits of logic not picked up in the first round.
Main semantic difference between the two that ramins is now basically
powerhooks vs. pmf.

Cosmetics to reduce diff noise: split apmattach into apmdevattach and
apm_attach, where the latter matches its counterpart in the real
apm.c.  Change local macros names from APMDEV* to APM*

Now that apmdev.c is demonstrably congruent to apm.c it should be
easier to switch hpc* and zaurus ports to apm.c from apmdev.c.
apmdev.c is one of the only two remaining drivers that call
dopowerhooks(9), the other one being arch/arm/xscale/pxa2x0_apm.c.

Ideally I would prefer for them to be interchangeable to smooth the
transition (in pmf world order *all* devices must have pmf hooks
registered), but they are attached differently - apmdev is separate
from its backend device (like hpcapm), while apm.c backends are
attachment glue, not separate devices.

(uwe)

2009-04-03 00:14:42 UTC MAIN commitmail json YAML

Fix SIOCSIFFLAGS.  Mark as safe to detach at shutdown.

(dyoung)

2009-04-02 23:06:16 UTC MAIN commitmail json YAML

Explicitly sort entries on preparing set files from METALOG.
METALOG could have different order due to install(1) race
on parallel builds, and mtree(8) doesn't sort files.
Should fix inconsistent shared sets among builds as seen in
/pub/NetBSD-daily/netbsd-5/200904010000Z/shared/ and
/pub/NetBSD-daily/netbsd-5/200904010002Z/shared/ dirs.
Okay'ed by snj@.

(tsutsui)

2009-04-02 22:19:49 UTC MAIN commitmail json YAML

Take out a noisy debug statement that slipped in with device-detachment
at shutdown.

(dyoung)

2009-04-02 21:39:33 UTC MAIN commitmail json YAML

In addwhatis(), two items should not be treated as duplicates unless
both the "data" and "prefix" elements are identical.  For example, the
two lines

amiga/boot (8) - system bootstrapping procedures
amd64/boot (8) - system bootstrapping procedures

both appear with data = "boot (8) - system bootstrapping procedures" but
with different values for prefix, and we do not want to reject one of
them as a duplicate.

(apb)

2009-04-02 21:02:07 UTC MAIN commitmail json YAML

Centralize the ROUNDUP and ADVANCE macro in a header file, give them an
RT_ prefix and use them appropriately, instead of making copies. Make
pppd use the RT_ROUNDUP macro; fixes proxyarp setting on 64 bit hosts.

XXX: All this should be pulled up to 5.0

(christos)

2009-04-02 19:43:11 UTC MAIN commitmail json YAML

banner: fix a minor bug.

(ad)

2009-04-02 19:02:43 UTC MAIN commitmail json YAML

Continue my crusade - queueing -> queuing

(mjf)

2009-04-02 18:06:54 UTC MAIN commitmail json YAML

Clean up set files to make them consistent using mtree. Patch from lukem.

(perry)

2009-04-02 17:25:24 UTC MAIN commitmail json YAML

In humanize_number(), avoid an integer overflow if the buffer
provided is "too large" (log10(2^64) = 19).
(It can still overflow if the input value is close to 2^64 but I don't
consider this a problem.)
fixes nonsense displayed as "total memory" on boot

(drochner)

2009-04-02 13:00:40 UTC MAIN commitmail json YAML

Don't use relative path from <machine> in #include.
It won't work for symlinks.

(tsutsui)

2009-04-02 12:58:45 UTC MAIN commitmail json YAML

add a test which exercises libpthread's ability to remember the
threads which were created, doing some random mallocs in between
so that threads are not equidistant in the address space
(bug fixed in libpthread/pthread.c rev. 1.109)

(drochner)

2009-04-02 12:49:59 UTC MAIN commitmail json YAML

2009-04-02 11:33:04 UTC MAIN commitmail json YAML

Release tdvp in an appropriate VOP_RENAME error branch to avoid
panic described in PR kern/40948.

As usual, all the error branches in rename live based on an unholy
amalgamation of prayer and the blood of cute, furry and tasty
quadrupeds, so I won't even attempt to audit the rest.

And this wapbl rename really really needs to be merged with the
standard rename.  That should be a fun PhD thesis topic ....

(pooka)

2009-04-02 09:30:42 UTC MAIN commitmail json YAML

ARGSUSED makes lindt a happy camper

(pooka)

2009-04-02 07:48:35 UTC MAIN commitmail json YAML

Added hardlink support

(stacktic)

2009-04-02 01:06:49 UTC MAIN commitmail json YAML

Cosmetic changes, only, to clarify and to save a couple of lines: return
a constant, 0, instead of returning ret when it is always 0.  Wait to
initialize ret until we really need to.

(dyoung)

2009-04-02 00:57:20 UTC MAIN commitmail json YAML

Add the WEP capability to our net80211 capability flags, since we do
sort of support hardware WEP.  Only change the WEP key index in a Tx
descriptor from 0 if the type of our transmit key is _WEP, not _TKIP:
i.e., only if we're really doing WEP crypto in the hardware.

Ignore a watchdog timeout on any Tx ring if we can collect some packets
from that ring.  Restart both the receiver and the transmitter when a
watchdog timeout occurs instead of restarting only the transmitter.

(dyoung)

2009-04-02 00:39:37 UTC MAIN commitmail json YAML

I find myself making a lot of changes in this code to keep it compiling
and (let us hope) working in the 21st century, so I have put it through
unifdef -D__NetBSD__ -U__FreeBSD__ so that it is less of a chore to read
and to maintain.

(dyoung)

2009-04-02 00:19:03 UTC MAIN commitmail json YAML

So that profile kernel runs again,
- Adjust the size of functions used to patch.
- Fix the jump offset of mcount call when patching functions.

Approved by Andrew Doran.

(enami)

2009-04-02 00:09:34 UTC MAIN commitmail json YAML

During shutdown, detach devices in an orderly fashion.

Call the detach routine for every device in the device tree, starting
with the leaves and moving toward the root, expecting that each
(pseudo-)device driver will use the opportunity to gracefully commit
outstandings transactions to the underlying (pseudo-)device and to
relinquish control of the hardware to the system BIOS.

Detaching devices is not suitable for every shutdown: in an emergency,
or if the system state is inconsistent, we should resort to a fast,
simple shutdown that uses only the pmf(9) shutdown hooks and the
(deprecated) shutdownhooks.  For now, if the flag RB_NOSYNC is set in
boothowto, opt for the fast, simple shutdown.

Add a device flag, DVF_DETACH_SHUTDOWN, that indicates by its presence
that it is safe to detach a device during shutdown.  Introduce macros
CFATTACH_DECL3() and CFATTACH_DECL3_NEW() for creating autoconf
attachments with default device flags.  Add DVF_DETACH_SHUTDOWN
to configuration attachments for atabus(4), atw(4) at cardbus(4),
cardbus(4), cardslot(4), com(4) at isa(4), elanpar(4), elanpex(4),
elansc(4), gpio(4), npx(4) at isa(4), nsphyter(4), pci(4), pcib(4),
pcmcia(4), ppb(4), sip(4), wd(4), and wdc(4) at isa(4).

Add a device-detachment "reason" flag, DETACH_SHUTDOWN, that tells the
autoconf code and a device driver that the reason for detachment is
system shutdown.

Add a sysctl, kern.detachall, that tells the system to try to detach
every device at shutdown, regardless of any device's DVF_DETACH_SHUTDOWN
flag.  The default for kern.detachall is 0.  SET IT TO 1, PLEASE, TO
HELP TEST AND DEBUG DEVICE DETACHMENT AT SHUTDOWN.

This is a work in progress.  In future work, I aim to treat
pseudo-devices more thoroughly, and to gracefully tear down a stack of
(pseudo-)disk drivers and filesystems, including cgd(4), vnd(4), and
raid(4) instances at shutdown.

Also commit some changes that are not easily untangled from the rest:

(1) begin to simplify device_t locking: rename struct pmf_private to
device_lock, and incorporate device_lock into struct device.

(2) #include <sys/device.h> in sys/pmf.h in order to get some
definitions that it needs.  Stop unnecessarily #including <sys/device.h>
in sys/arch/x86/include/pic.h to keep the amd64, xen, and i386 releases
building.

(dyoung)

2009-04-01 22:56:59 UTC MAIN commitmail json YAML

Also inherit the parent's TCP segmentation offload capability.
Note the vlan interface does not see updates to the parents capabilities
so if, for example, TSO is on in both, then turned off in the parent it
will remain on in the vlan interface.

(darran)

2009-04-01 22:33:20 UTC netbsd-5 commitmail json YAML

Update for latest batch of tickets.

(snj)

2009-04-01 22:30:55 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #631):
sys/sys/siginfo.h: revision 1.18
fix typo for POLL_HUP. Noted by yamt.

(snj)

2009-04-01 22:21:51 UTC netbsd-5 commitmail json YAML

Apply patch (requested by martin in ticket #642):
Make ddb.onpanic and kern.no_sa_support acceptable even if commented out.

(snj)

2009-04-01 22:08:37 UTC netbsd-5 commitmail json YAML

Apply patch (requested by martin in ticket #643):
Use ?= to set kern.no_sa_support to avoid warnings.

(snj)

2009-04-01 21:56:51 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by drochner in ticket #640):
sys/kern/kern_sig.c: revision 1.296
In sigput(), save the siginfo no matter whether SA_SIGINFO is set or not.
There are also sigtimedwait(2) et al. to catch signals without invoking
a signal handler. Fixes PR kern/41076 by Matteo Beccati (the first
test case, where the signal is sent before sigwaitinfo(2) gets called).

(snj)

2009-04-01 21:46:18 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #639):
etc/sysctl.conf: revision 1.7
Use the new ?= operator to set the on_panic value for the optional ddb
hierachie.

(snj)

2009-04-01 21:43:53 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #638):
sys/kern/sys_sig.c: revision 1.23
- use itimespecfix to detect invalid timespecs
- use tstohz instead of mstohz to prevent overflow.

(snj)

2009-04-01 21:41:49 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #637):
games/trek/help.c: revision 1.9
games/trek/kill.c: revision 1.8
games/trek/schedule.c: revision 1.7
games/trek/setup.c: revision 1.10
games/trek/trek.h: revision 1.12
Avoid hardcoded "too large" constant that caused FPE on the vax.

(snj)

2009-04-01 21:37:03 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #635):
sbin/sysctl/sysctl.8: revision 1.160
sbin/sysctl/sysctl.c: revision 1.129
Don't print an error with sysctl -w name?=value if name does not exist.
Should be pulled up to 5.0

(snj)

2009-04-01 21:29:14 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by macallan in ticket #634):
external/mit/xf86-video-crime/dist/src/crime_accel.c: revision 1.7
oops, forgot to initialize the clipping register on init

(snj)

2009-04-01 21:25:35 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #632):
sys/kern/sys_sig.c: revision 1.22
PR/41094: Matteo Beccati: sigtimedwait returns EAGAIN instead of EINVAL if
timeout is invalid

(snj)

2009-04-01 21:15:46 UTC MAIN commitmail json YAML

sort out what is needed for crash(8) and what not, should fix
recent build errors

(drochner)

2009-04-01 21:15:23 UTC MAIN commitmail json YAML

cast segsz to int.

(christos)

2009-04-01 21:03:04 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #573):
sys/kern/kern_exec.c: revision 1.286
don't enforce maxproc resource limits for root.

(snj)

2009-04-01 20:59:15 UTC MAIN commitmail json YAML

Make keypad return an int instead of nothing, as the SUS and even
curses_input(3) [!] say it should.

OK'd jdc@.  ABI lawyers say this doesn't need major bump.

(cube)

2009-04-01 20:27:09 UTC netbsd-4 commitmail json YAML

Fix processing or ticket pullup-4 #1297; previous didn't include revisions
1.34 and 1.35 as requested and announced in commit messages and
CHANGES-4.1 entry

(bouyer)

2009-04-01 17:51:12 UTC MAIN commitmail json YAML

More reproducible build fixes:

1) invoke objcopy with --preserve-dates or it will update all the
  dates in the .a file to the present date.
2) add an invocation of ar-as-ranlib or the object file index ends up
  with the date in it. (it might also end up with an incorrect
  index.)

(perry)

2009-04-01 17:47:39 UTC MAIN commitmail json YAML

Add a _ARRANFL for the flags for invoking ar as ranlib.
Will be used only for Makefile.rump for now.

(perry)

2009-04-01 16:38:46 UTC MAIN commitmail json YAML

Make the ddb.onpanic line acceptable even if commented out

(martin)

2009-04-01 16:20:55 UTC MAIN commitmail json YAML

Use the new ?= operator to set the on_panic value for the optional ddb
hierachie.

(martin)

2009-04-01 16:01:40 UTC MAIN commitmail json YAML

* make option WITH_SYSPUFFS -> FSU_WITH_SYSPUFFS
* fix compilation with said option

(pooka)

2009-04-01 15:55:27 UTC MAIN commitmail json YAML

Don't print an error with sysctl -w name?=value if name does not exist.
Should be pulled up to 5.0

(christos)

2009-04-01 14:58:03 UTC MAIN commitmail json YAML

oops, forgot to initialize the clipping register on init

(macallan)

2009-04-01 14:37:00 UTC MAIN commitmail json YAML

Be less verbose.  (something like rump_dmesg with optional QUIET
would be nice, but needs work)

(pooka)

2009-04-01 12:19:04 UTC MAIN commitmail json YAML

Implement MMC_TRACKINFO_DATA and MMC_TRACKINFO_AUDIO detection for cdrom and
dvdrom devices. These two compatibility codes were forgotten when those were
introduced.

(reinoud)

2009-04-01 10:17:04 UTC MAIN commitmail json YAML

fix sign-compare issue

(lukem)

2009-04-01 10:13:24 UTC MAIN commitmail json YAML

Fix the comparision function used by the red-black tree global thread list
implementation:
-don't return a difference, this can overflow
-don't try to substract typed pointers which don't belong to the
same object, this gives undefined results

This fixes instabilities of programs which use more than a handful
of threads, eg spuriously failing pthread_join().

(drochner)

2009-04-01 08:58:48 UTC MAIN commitmail json YAML

Readability improvement. Whitespace nits.

(wiz)

2009-04-01 08:55:45 UTC MAIN commitmail json YAML

Use .An and .Aq for formatting in the AUTHORS section.

(wiz)

2009-04-01 08:15:37 UTC MAIN commitmail json YAML

note that -n also stops the timestamp from being output.
bump date.

(mrg)

2009-04-01 03:56:54 UTC MAIN commitmail json YAML

Fix probe for VIA C3 and successors -- these are CPU family 6, not 5.
The broken probe was causing the VIA padlock driver to never attach!
Now we can see that its AES appears to be broken -- it makes FAST_IPSEC
ESP not work, on systems where it works fine with cryptosoft.

Rework code to detect and (if necessary) enable VIA crypto and RNG.
Add RNG support to VIA padlock driver.  In the process, have a quick
go at debugging the AES support but no luck thus far.

(tls)

2009-04-01 03:23:17 UTC netbsd-5 commitmail json YAML

2009-04-01 03:18:08 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by macallan in ticket #626):
external/mit/xf86-video-crime/dist/src/crime.h: revision 1.4
external/mit/xf86-video-crime/dist/src/crime_accel.c: revision 1.6
implement pattern fills

(snj)

2009-04-01 03:13:54 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by macallan in ticket #628):
external/mit/xf86-video-crime/dist/src/crime.h: revision 1.3
external/mit/xf86-video-crime/dist/src/crime_accel.c: revision 1.5
Implement image downloads, now KDE's window minimize animation doesn't
leave artifacts anymore. While there, allow commands to queue up where
appropriate, this gives a slight speedup in anti-aliased text rendering (about
10% on my 200MHz/1MB O2) and likely in other operations as well.

(snj)

2009-04-01 03:06:06 UTC MAIN commitmail json YAML

fix what looks like a mechanical stuffup in the timeval -> timespec conversion.

(dogcow)

2009-04-01 03:01:12 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by macallan in ticket #629):
external/mit/xf86-video-crime/dist/src/crime_accel.c: revision 1.4
implement clipping, this takes care of line drawing artifacts in pwm

(snj)

2009-04-01 00:42:17 UTC netbsd-5 commitmail json YAML

Tickets 581, 602, 610, 615, 617, 619, 620, 622, and 625.

(snj)

2009-04-01 00:32:09 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by macallan in ticket #625):
sys/arch/sgimips/dev/crmfbreg.h: revision 1.10
add a few more register definitions, needed by the latest crime_drv.

(snj)

2009-04-01 00:27:20 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #622):
sys/compat/darwin/darwin_exec.c: revision 1.58
buildfix: NEW_VMCMD(2 -> NEW_VMCMD2(

(snj)

2009-04-01 00:25:23 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #622):
bin/csh/csh.1: revision 1.46
bin/csh/func.c: revision 1.37
bin/ps/print.c: revision 1.111
bin/ps/ps.c: revision 1.74
bin/sh/miscbltin.c: revision 1.38
bin/sh/sh.1: revision 1.92 via patch
external/bsd/top/dist/machine/m_netbsd.c: revision 1.7
lib/libkvm/kvm_proc.c: revision 1.82
sys/arch/mips/mips/cpu_exec.c: revision 1.55
sys/compat/darwin/darwin_exec.c: revision 1.57
sys/compat/ibcs2/ibcs2_exec.c: revision 1.73
sys/compat/irix/irix_resource.c: revision 1.15
sys/compat/linux/arch/amd64/linux_exec_machdep.c: revision 1.16
sys/compat/linux/arch/i386/linux_exec_machdep.c: revision 1.12
sys/compat/linux/common/linux_limit.h: revision 1.5
sys/compat/osf1/osf1_resource.c: revision 1.14
sys/compat/svr4/svr4_resource.c: revision 1.18
sys/compat/svr4_32/svr4_32_resource.c: revision 1.17
sys/kern/exec_subr.c: revision 1.62
sys/kern/init_sysctl.c: revision 1.160
sys/kern/kern_exec.c: revision 1.288
sys/kern/kern_resource.c: revision 1.151
sys/sys/param.h: patch
sys/sys/resource.h: revision 1.31
sys/sys/sysctl.h: revision 1.184
sys/uvm/uvm_extern.h: revision 1.153
sys/uvm/uvm_glue.c: revision 1.136
sys/uvm/uvm_mmap.c: revision 1.128
usr.bin/systat/ps.c: revision 1.32
- - add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the total
address space available to processes.  this limit exists in most other
modern unix variants, and like most of them, our defaults are unlimited.
remove the old mmap / rlimit.datasize hack.
- - adds the VMCMD_STACK flag to all the stack-creation vmcmd callers.
it is currently unused, but was added a few years ago.
- - add a pair of new process size values to kinfo_proc2{}. one is the
total size of the process memory map, and the other is the total size
adjusted for unused stack space (since most processes have a lot of
this...)
- - patch sh, and csh to notice RLIMIT_AS.  (in some cases, the alias
RLIMIT_VMEM was already present and used if availble.)
- - patch ps, top and systat to notice the new k_vm_vsize member of
kinfo_proc2{}.
- - update irix, svr4, svr4_32, linux and osf1 emulations to support
this information.  (freebsd could be done, but that it's best left
as part of the full-update of compat/freebsd.)
this addresses PR 7897.  it also gives correct memory usage values,
which have never been entirely correct (since mmap), and have been
very incorrect since jemalloc() was enabled.
tested on i386 and sparc64, build tested on several other platforms.
thanks to many folks for feedback and testing but most espcially
chuq and yamt for critical suggestions that lead to this patch not
having a special ugliness i wasn't happy with anyway :-)

(snj)

2009-03-31 23:41:23 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #620):
sys/kern/kern_sig.c: revision 1.297
kpsignal2: do not start process (when it is stopped) for all termination
signals (i.e. SA_KILL), just if SIGKILL (or SIGCONT).  Improve comments.
Make some functions static, remove unused sigrealloc() prototype.
Fixes PR/39814.  Similar patch reviewed by <ad>.

(snj)

2009-03-31 23:38:41 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #619):
sys/kern/kern_descrip.c: revision 1.189
fownsignal: pre-check for zero pgid, avoids locking of proc_lock.

(snj)

2009-03-31 23:35:36 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #617):
share/man/man5/rc.conf.5: revision 1.128
Document ipfilter_flags.

(snj)

2009-03-31 23:32:06 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by enami in ticket #615):
share/man/man4/clockctl.4: revision 1.6
Sync ioctl arguments with reality; they are changed 3 years ago.

(snj)

2009-03-31 23:28:52 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #581):
distrib/notes/common/main: revision 1.436
Under "The following issues need to be resolved manually", say that
unprivileged use of mount(8) now needs the nosuid and nodev flags.

(snj)

2009-03-31 23:27:35 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #581):
distrib/notes/common/main: revision 1.435
Under "Features to be removed in a later release", try to explain what
softdep is, as well as saying that it will be removed.  Say that the
WAPBL in netbsd-5 is a "preview", not an "experimental preview".

(snj)

2009-03-31 23:23:15 UTC netbsd-5 commitmail json YAML

Apply patch (requested by martin in ticket 602):
ksyms_init calls mutex_init too early, which leads to failure on, e.g.,
sparc64 LOCKDEBUG kernels.  Instead, add a new function ksyms_init_finalize
and call it from main.  Fixed in a more intrusive and less ugly way on HEAD.

(snj)

2009-03-31 23:06:13 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by reinoud in ticket #610):
sys/fs/udf/udf_allocation.c: revision 1.20
Fix possible overshoot when allocating from a space bitmap when ffs(3) returns
a too big offset for the bitmap.

(snj)

2009-03-31 21:33:17 UTC MAIN commitmail json YAML

cast to size_t to avoid sign / unsigned comparison warning.

(christos)

2009-03-31 21:21:48 UTC MAIN commitmail json YAML

2009-03-31 21:18:37 UTC MAIN commitmail json YAML

2009-03-31 21:15:08 UTC netbsd-4-0 commitmail json YAML

2009-03-31 21:15:06 UTC netbsd-4 commitmail json YAML

2009-03-31 21:13:23 UTC netbsd-4-0 commitmail json YAML

Apply patch (requested by haad in ticket #1296):
        common/lib/libprop/prop_object.c: patch
Fix crash where user was able to crash proplib with trying to
internalize bad xml file with non-existing data type e.g. <number>.

(bouyer)

2009-03-31 21:13:19 UTC netbsd-4 commitmail json YAML

Apply patch (requested by haad in ticket #1296):
common/lib/libprop/prop_object.c: patch
Fix crash where user was able to crash proplib with trying to
internalize bad xml file with non-existing data type e.g. <number>.

(bouyer)

2009-03-31 21:12:51 UTC MAIN commitmail json YAML

2009-03-31 21:00:35 UTC MAIN commitmail json YAML

add -n to gzip invocation

(perry)

2009-03-31 20:12:19 UTC MAIN commitmail json YAML

Sync with recent i386/amd64 source merges - fix Xen builds.

(rmind)

2009-03-31 19:51:11 UTC MAIN commitmail json YAML

PR/41111: Ed Ravin: ping -R gives misleading error when remote side doesn't
support record route
Deal with source route and record route specially giving a meaningful error
message.
Pullup to 5.0?

(christos)

2009-03-31 18:48:16 UTC MAIN commitmail json YAML

Avoid hardcoded "too large" constant that caused FPE on the vax.
XXX: Should pullup to 5.0

(christos)

2009-03-31 18:41:41 UTC MAIN commitmail json YAML

Also look for sources in sys/arch/x86/x86/ if MACHINE_ARCH is i386 or
x86_64.

(dyoung)

2009-03-31 18:23:58 UTC netbsd-4 commitmail json YAML

Tickets 1292 - 1295, 1298, 1297

(bouyer)

2009-03-31 18:22:02 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1297):
src/sys/dev/ic/rtl8169.c  1.104 (via patch), 1.105 (via patch),
1.106 (via patch), 1.108, 1.109 (via patch),
1.110, 1.111, 1.112, 1.113
sys/dev/ic/rtl81x9reg.h: revision 1.30 - 1.35
sys/dev/ic/rtl81x9var.h: revision 1.42 - 1.45
sys/dev/pci/if_re_pci.c: revision 1.35
Add support for 8168C/8111C/8102E chips.
Fix MAC reset issue (PR kern/41009)
Add/fix HW checksum support (PR kern/40955)

(bouyer)

2009-03-31 18:08:24 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1298):
sys/dev/usb/if_ural.c: revision 1.26 via patch
sys/dev/usb/if_rum.c: revision 1.17 via patch
sys/dev/ic/rt2661.c: revision 1.20 via patch
sys/dev/ic/rt2560.c: revision 1.14 via patch
Fix a number of driver which doesn't check wep flag in *_tx_mgt.
It is incorrect because we need to encrypt some management frame in case of
shared authentification.

(bouyer)

2009-03-31 18:04:49 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1295):
sys/dev/usb/if_ural.c: revision 1.29 via patch
Fix type.
s/amrr_min_success_threshold/amrr_max_success_threshold/ in second line.

(bouyer)

2009-03-31 18:02:32 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1294):
sys/net/if_ether.h: revision 1.52
PR/39203: Paul Ripke: PPPoE issues with broken MTU/MRU implementations
Allow larger frames for systems that don't negotiate MTU/MRU properly.

(bouyer)

2009-03-31 18:00:48 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1293):
share/man/man3/bits.3: revision 1.3
PR/39381 - Taylor R Campbell -- missing line break causing funny formatting

(bouyer)

2009-03-31 18:00:29 UTC netbsd-4-0 commitmail json YAML

2009-03-31 18:00:04 UTC netbsd-4-0 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1293):
share/man/man3/bits.3: revision 1.3
PR/39381 - Taylor R Campbell -- missing line break causing funny formatting

(bouyer)

2009-03-31 17:56:41 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1292):
usr.bin/netstat/inet.c: revision 1.89
usr.bin/netstat/inet6.c: revision 1.51
usr.bin/netstat/iso.c: revision 1.31
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)
PR 38093 from Dieter Roelants; I adjusted the patch a little.

(bouyer)

2009-03-31 17:53:03 UTC MAIN commitmail json YAML

2009-03-31 17:38:27 UTC MAIN commitmail json YAML

2009-03-31 17:17:47 UTC MAIN commitmail json YAML

avoid tsleep also during shutdown (and in particular ACPI poweroff),
should fix PR kern/39141 by Takahiro Kambe and PR port-i386/41110
by Reinoud Zandijk

(drochner)

2009-03-31 16:12:00 UTC MAIN commitmail json YAML

Add byteorder(9) man page which describes htole32() etc.  From FreeBSD
via PR misc/40770, with some tweaks by me.

(tsutsui)

2009-03-31 15:57:35 UTC MAIN commitmail json YAML

2009-03-31 15:50:45 UTC MAIN commitmail json YAML

KGDB does no longer refers to ddb/db_access. Fixes compilation problems of KGDB
kernels.

(reinoud)

2009-03-31 11:48:15 UTC MAIN commitmail json YAML

2009-03-31 11:42:08 UTC MAIN commitmail json YAML

2009-03-31 06:58:55 UTC MAIN commitmail json YAML

Missed a small but important change to enable hardware VLAN support.

(darran)

2009-03-31 06:03:31 UTC MAIN commitmail json YAML

buildfix: NEW_VMCMD(2 -> NEW_VMCMD2(

(cegger)

2009-03-31 04:16:58 UTC MAIN commitmail json YAML

Enable the vlan code that thorpej@NetBSD.org added, and fix a bug where
the vlan tag was read from the rx descriptor after it was reinitialized
(and hence was always 0).  Hardware vlan support looks good tested
between two vmware clients.
With support from tls@NetBSD.org.

(darran)

2009-03-30 22:28:40 UTC MAIN commitmail json YAML

Merge i386 and amd64 ipifuncs.c into x86.  No functional changes intended.
XXX: fpu #ifdefs are ugly (should be revisited at some point).

(rmind)

2009-03-30 22:22:44 UTC MAIN commitmail json YAML

fix erroneously deleted assignment.

(christos)

2009-03-30 22:20:55 UTC MAIN commitmail json YAML

Merge i386 and amd64 vm_machdep.c into x86.  No functional changes intended.
Note: some #ifdefs will be removed with macros.

(rmind)

2009-03-30 22:13:43 UTC MAIN commitmail json YAML

2009-03-30 21:32:51 UTC MAIN commitmail json YAML

Revert the _lwp_ctl which is causing problem. I did test this locally,
I guess not well enough.

(ad)

2009-03-30 17:48:22 UTC MAIN commitmail json YAML

Cosmetic: reduce differences from amd64/amd64/vm_machdep.c by deleting
an empty line.

(dyoung)

2009-03-30 17:16:11 UTC netbsd-5 commitmail json YAML

2009-03-30 16:52:18 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #618):
usr.bin/fstat/misc.c: revision 1.3
only print warnings if vflg.

(snj)