[owc] Weekly src changes ending 2008-03-23
OWC
auto at squish.net
Mon Mar 24 07:00:01 GMT 2008
OpenBSD src changes summary for 2008-03-16 to 2008-03-23 inclusive
==================================================================
bin/df bin/ksh
bin/ps distrib/alpha
distrib/amd64 distrib/armish
distrib/hp300 distrib/hppa
distrib/i386 distrib/landisk
distrib/luna88k distrib/mac68k
distrib/mvme68k distrib/mvme88k
distrib/sets distrib/sgi
distrib/sparc distrib/sparc64
distrib/vax distrib/zaurus
etc/Makefile games/backgammon
games/boggle games/factor
games/fortune games/gomoku
games/grdc games/hunt
games/number games/quiz
games/sail games/tetris
include/Makefile include/stdlib.h
lib/libc lib/libpthread
sbin/disklabel sbin/ifconfig
sbin/raidctl sbin/scan_ffs
share/man sys/arch/alpha/conf
sys/arch/amd64/amd64 sys/arch/amd64/conf
sys/arch/amd64/pci sys/arch/arm/arm
sys/arch/armish/armish sys/arch/hppa/conf
sys/arch/hppa/gsc sys/arch/i386/conf
sys/arch/i386/i386 sys/arch/i386/pci
sys/arch/landisk/landisk sys/arch/macppc/conf
sys/arch/macppc/macppc sys/arch/mips64/mips64
sys/arch/mvme68k/stand/libsa sys/arch/mvme88k/stand/libsa
sys/arch/mvmeppc/stand/libsa sys/arch/sgi/sgi
sys/arch/solbourne/solbourne sys/arch/sparc/dev
sys/arch/sparc/include sys/arch/sparc/sparc
sys/arch/sparc64/conf sys/arch/sparc64/dev
sys/arch/sparc64/include sys/arch/sparc64/sparc64
sys/arch/zaurus/zaurus sys/compat/common
sys/conf sys/ddb
sys/dev sys/dev/i2c
sys/dev/ic sys/dev/isa
sys/dev/mii sys/dev/pci
sys/dev/pckbc sys/dev/usb
sys/kern sys/net
sys/netinet6 sys/nfs
sys/scsi sys/sys
sys/ufs/ffs usr.bin/audioctl
usr.bin/calendar usr.bin/cvs
usr.bin/mg usr.bin/netstat
usr.bin/rcs usr.bin/sort
usr.bin/ssh usr.bin/sudo
usr.bin/vmstat usr.sbin/authpf
usr.sbin/bgpd usr.sbin/bind
usr.sbin/config usr.sbin/dhcpd
usr.sbin/eeprom usr.sbin/pwd_mkdb
usr.sbin/quot usr.sbin/relayd
usr.sbin/rtadvd usr.sbin/rtsold
usr.sbin/sasyncd usr.sbin/sensorsd
usr.sbin/snmpd usr.sbin/spray
usr.sbin/syslogd usr.sbin/timed
usr.sbin/usbdevs
== bin =============================================================== 01/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/bin
df
~ df.c
> actually print the now available large numbers (otto@)
ksh
~ c_ulimit.c ~ ksh.1
~ misc.c ~ sh.1
> Make ulimit able to get and set multiple limits in a single invocation
> like bash and zsh do. Requested by espie@, OK deraadt@ (millert@)
ps
~ ps.1
> better .Nd; from Pierre Riteau
> ok sobrado (jmc@)
== distrib =========================================================== 02/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
alpha
~ common/install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
amd64
~ common/install.md
> No point in warning users during install that the disklabel has a
> weird number of partitions, doesn't checksum, doesn't exist or was
> found at a particular sector. Brings all archs together in omerta by
> eliminating use of '-r' and examination of disklabel messages.
> ok deraadt@ (krw@)
armish
~ ramdisk/install.md
> No point in warning users during install that the disklabel has a
> weird number of partitions, doesn't checksum, doesn't exist or was
> found at a particular sector. Brings all archs together in omerta by
> eliminating use of '-r' and examination of disklabel messages.
> ok deraadt@ (krw@)
hp300
~ ramdisk/install.md
> No point in warning users during install that the disklabel has a
> weird number of partitions, doesn't checksum, doesn't exist or was
> found at a particular sector. Brings all archs together in omerta by
> eliminating use of '-r' and examination of disklabel messages.
> ok deraadt@ (krw@)
hppa
~ install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
i386
~ common/install.md
> No point in warning users during install that the disklabel has a
> weird number of partitions, doesn't checksum, doesn't exist or was
> found at a particular sector. Brings all archs together in omerta by
> eliminating use of '-r' and examination of disklabel messages.
> ok deraadt@ (krw@)
landisk
~ ramdisk/install.md
> No point in warning users during install that the disklabel has a
> weird number of partitions, doesn't checksum, doesn't exist or was
> found at a particular sector. Brings all archs together in omerta by
> eliminating use of '-r' and examination of disklabel messages.
> ok deraadt@ (krw@)
luna88k
~ ramdisk/install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
mac68k
~ ramdisk/install.md
> Bring mac68k into the md_checkfordisklabel()-free world.
> Quick test by martin@ shows it seems to still work. (krw@)
mvme68k
~ ramdisk/install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
mvme88k
~ ramdisk/install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
sets
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.hp300 ~ lists/base/md.hppa
~ lists/base/md.hppa64 ~ lists/base/md.i386
~ lists/base/md.landisk ~ lists/base/md.luna88k
~ lists/base/md.mac68k ~ lists/base/md.macppc
~ lists/base/md.mvme68k ~ lists/base/md.mvme88k
~ lists/base/md.mvmeppc ~ lists/base/md.sgi
~ lists/base/md.sparc ~ lists/base/md.sparc64
~ lists/base/md.vax ~ lists/base/md.zaurus
~ lists/comp/mi ~ lists/man/mi
> sync (deraadt@)
~ lists/base/md.sparc64 ~ lists/comp/md.sparc64
> sync (deraadt@)
~ lists/man/mi
> sync (deraadt@)
~ lists/comp/mi
> sync (deraadt@)
~ lists/comp/mi
> sync (deraadt@)
~ lists/man/mi
> sync (deraadt@)
sgi
~ ramdisk/install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
sparc
~ install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
sparc64
~ common/install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
vax
~ install.md
> No point in checking disklabel output for 'disk label corrupted' message
> since it isn't emitted anymore.
> ok deraadt@ (krw@)
zaurus
~ ramdisk/install.md
> No point in warning users during install that the disklabel has a
> weird number of partitions, doesn't checksum, doesn't exist or was
> found at a particular sector. Brings all archs together in omerta by
> eliminating use of '-r' and examination of disklabel messages.
> ok deraadt@ (krw@)
== etc =============================================================== 03/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
Makefile
~ Makefile
> remove superfluous backslashes and semicolons
> ok deraadt@ (sobrado@)
== games ============================================================= 04/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/games
backgammon
~ common_source/subs.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
boggle
~ boggle/bog.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
~ boggle/bog.c ~ boggle/bog.h
~ boggle/boggle.6 ~ boggle/mach.c
~ boggle/prtable.c ~ boggle/timer.c
> Make the bog code generic enough to handle arbitrary NxN grids and
> add cubes for 5x5 mode based on Boggle Deluxe (aka Big Boggle) as
> well as support for the "challenge cube" shipped with some versions
> of Boggle. Also Dynamically allocate record keeping structures so
> we can deal with large word lists and add a --More-- prompt for
> when there are too many wwords found by the computer to fit on the
> terminal. OK deraadt@ (millert@)
~ boggle/boggle.6
> Remove a bug that I fixed. (millert@)
~ boggle/helpfile
> Update usage in help file. (millert@)
~ boggle/helpfile
> Add single line descriptions for the -B and -c flags. (millert@)
factor
~ factor.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
fortune
~ fortune/fortune.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
gomoku
~ main.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
grdc
~ grdc.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
hunt
~ hunt/hunt.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
number
~ number.6
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
quiz
~ quiz.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
sail
~ sail.6
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
tetris
~ tetris.c
> synchronization between usage and synopsis; add some missing "usage:"'s
> ok jmc@ (sobrado@)
== include =========================================================== 05/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/include
Makefile
~ Makefile
> Get rid of 3 extra leading spaces. ok deraadt@ (matthieu@)
stdlib.h
~ stdlib.h
> diff from djm@ committed at his request:
> introduce two new APIs for requesting strong random numbers:
> arc4random_buf() - fill an arbitrary memory range with random numbers
> arc4random_uniform() - return a uniformly distributed random number
> below
> a specified upper bound, avoiding the bias that comes from a naive
> "arc4random() % upper_bound" construction.
> these mirror similarly-named functions in the kernel;
> lots of discussion deraadt@ mcbride@ (otto@)
== lib =============================================================== 06/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ sys/Makefile.inc + sys/statvfs.c
> statvfs support (otto@)
~ crypt/arc4random.3 ~ crypt/arc4random.c
> diff from djm@ committed at his request:
> introduce two new APIs for requesting strong random numbers:
> arc4random_buf() - fill an arbitrary memory range with random numbers
> arc4random_uniform() - return a uniformly distributed random number
> below
> a specified upper bound, avoiding the bias that comes from a naive
> "arc4random() % upper_bound" construction.
> these mirror similarly-named functions in the kernel;
> lots of discussion deraadt@ mcbride@ (otto@)
~ sys/statvfs.c
> indent (deraadt@)
~ gen/sysconf.3 ~ gen/sysconf.c
> Add the semi-standard _SC_PHYS_PAGES and _SC_AVPHYS_PAGES, sysconf(3)
> variable.
> ok espie@ (kettenis@)
~ shlib_version
> bump (otto@)
~ sys/statfs.2
> sync with sys/statfs.h; ok jmc@ (otto@)
~ crypt/Makefile.inc
> Add missing MLINKS (deraadt@)
~ crypt/arc4random.3
> - add NAME entries for arc4random_buf and arc4random_uniform
> - simplify a macro call (Do/Dc -> Dq) (jmc@)
~ string/bcmp.c
> bcmp(3) tries to return length, which is a size_t, as an int.
> Instead, just return 1 if there is a difference.
> Found by lint.
> OK millert. (ray@)
+ gen/statvfs.3
> overdue statvfs man page (otto@)
- sys/statvfs.c ~ sys/Makefile.inc
~ gen/Makefile.inc + gen/statvfs.c
> move statvfs.c to gen, since it is not a syscall; ok deraadt@ (otto@)
~ gen/statvfs.3
> flag constant values should be UL, spotted by deraadt@ (otto@)
libpthread
~ shlib_version
> bump (otto@)
~ uthread/uthread_file.c
> Use fileno() instead of peeking into FILE *; Paul Stoeber (deraadt@)
== sbin ============================================================== 07/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
disklabel
~ disklabel.8 ~ disklabel.c
> Nuke disklabel -r. All labels come from the kernel via ioctl.
> "make sense" miod@ ok deraadt@ (krw@)
ifconfig
~ ifconfig.8
> document "netboot" interface group;
> based on a diff originally from bsd openbsd rutgers edu (jmc@)
raidctl
~ raidctl.8
> Remove two stray references to the departed -r argument to disklabel.
> Pointed out by jmc@ (krw@)
scan_ffs
~ scan_ffs.8
> Remove two stray references to the departed -r argument to disklabel.
> Pointed out by jmc@ (krw@)
== share ============================================================= 08/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/agp.4
> agp now attaches at vga. (oga@)
~ man4/agp.4 ~ man4/vga.4
> some more agp/vga bits; (jmc@)
~ man4/man4.sparc64/tda.4
> fix copyright line (robert@)
~ man4/vnd.4
> command descriptions (.Nd macros) are usually lowercase
> ok jmc@ (sobrado@)
~ man4/uslcom.4
> IRZ MC35pu GSM Terminal
> From/tested by Sergey Prysiazhnyi <apelsin at atmnis.com> (jsg@)
~ man5/pf.conf.5
> demonstrate "include" in the bnf; weerd at weirdnet.nl (deraadt@)
~ man4/Makefile ~ man4/isa.4
+ man4/fins.4
> Driver for Fintek F71805F LPC sensor based on lm78 driver code;
> written by Geoff Steckel (deraadt@)
~ man4/fins.4
> tweak previous; (jmc@)
~ man4/uslcom.4
> Add a bunch of uslcom devices found in the Linux driver. (jsg@)
~ man4/audio.4
> add audio(4) driver the ability to use different block sizes for play and
> record modes. This makes possible to have blocks of the same duration if
> the
> play and record formats are different. The API change is backward
> compatible, so it shouldn't be noticed by current audio ports.
> ok jakemsr (ratchov@)
~ man4/fins.4
> update sensor list; from Geoff Steckel (deraadt@)
~ man4/Makefile ~ man4/iic.4
+ man4/andl.4
> andl(4) manual page for Andigilog aSC7611 (cnst@)
~ man4/ddb.4
> show all mounts command for ddb. From mickey a long time ago. (miod@)
~ man4/fins.4
> .Pp is not needed before or after .Sh; (jmc@)
~ man4/andl.4
> tweak previous; (jmc@)
~ man4/man4.sparc64/Makefile ~ man4/man4.sparc64/agten.4
~ man4/man4.sparc64/bwtwo.4 ~ man4/man4.sparc64/cgsix.4
~ man4/man4.sparc64/cgthree.4 ~ man4/man4.sparc64/cgtwelve.4
~ man4/man4.sparc64/creator.4 ~ man4/man4.sparc64/mgx.4
~ man4/man4.sparc64/rfx.4 ~ man4/man4.sparc64/tvtwo.4
~ man4/man4.sparc64/vigra.4 ~ man4/man4.sparc64/zx.4
+ man4/man4.sparc64/ifb.4
> Not-functional-enough driver for the Sun Expert3D cards, put in tree as an
> incentive for further tinkering only; not for the faint of heart. (miod@)
~ man4/ddb.4
> Missing .El; spotted by jmc@ (miod@)
~ man4/fins.4
> 4.3 is fin; ok deraadt (cnst@)
== sys =============================================================== 09/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/alpha/conf
~ RAMDISK ~ RAMDISKB
> Add option WSKBD_NO_INTL_LAYOUTS to prevent inclusion of international
> keyboard layouts, instead of having SMALL_KERNEL imply this on alpha.
> No functional change.
> ok deraadt@ (miod@)
~ GENERIC ~ files.alpha
> crank maxusers on some architectures (deraadt@)
~ RAMDISKBIG
> SMALL_KERNEL, NO_PROPOLICE; from brad (deraadt@)
arch/amd64/amd64
~ machdep.c
> Clear PSL_D when entering signal handlers; pointed out by dfly people;
> ok kettenis (deraadt@)
~ autoconf.c
> label all interfaces we netboot from in group "netboot", in a MI fashion
> ok miod (deraadt@)
arch/amd64/conf
~ GENERIC ~ files.amd64
> Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes
> agp and drm need to use the same memory mapping, the best way to deal
> with that is to allow them to share (that's coming later), for this to
> work cleanly we move the attach point of agp.
> Ideally most agp drivers would attach at pchb, with only agp_i810
> (and any that work similarly) attaching at vga, but this will do for
> now.
> ok kettenis@, miod at . (oga@)
~ GENERIC
> crank maxusers on some architectures (deraadt@)
~ RAMDISK_CD
> add wireless drivers which need firmware; if someone upgrades the firmware
> may in fact be there already, so it is OK, same as i386
> from espie (deraadt@)
~ GENERIC
> enable andl; ok deraadt (cnst@)
arch/amd64/pci
~ pchb.c
> Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes
> agp and drm need to use the same memory mapping, the best way to deal
> with that is to allow them to share (that's coming later), for this to
> work cleanly we move the attach point of agp.
> Ideally most agp drivers would attach at pchb, with only agp_i810
> (and any that work similarly) attaching at vga, but this will do for
> now.
> ok kettenis@, miod at . (oga@)
~ pchb.c
> Add AGP support for the Intel G33 chipset.
> Tested on i386 with a Gigabyte G33M-DS2R motherboard (Intel GMA 3100).
> Based on NetBSD code.
> ok oga@ (damien@)
arch/arm/arm
~ arm32_machdep.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/armish/armish
~ armish_machdep.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/hppa/conf
~ GENERIC ~ files.hppa
> crank maxusers on some architectures (deraadt@)
arch/hppa/gsc
~ gsckbdmap.c
> Add option WSKBD_NO_INTL_LAYOUTS to prevent inclusion of international
> keyboard layouts, instead of having SMALL_KERNEL imply this on alpha.
> No functional change.
> ok deraadt@ (miod@)
~ gsckbdmap.c
> regen (miod@)
arch/i386/conf
~ GENERIC ~ files.i386
> Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes
> agp and drm need to use the same memory mapping, the best way to deal
> with that is to allow them to share (that's coming later), for this to
> work cleanly we move the attach point of agp.
> Ideally most agp drivers would attach at pchb, with only agp_i810
> (and any that work similarly) attaching at vga, but this will do for
> now.
> ok kettenis@, miod at . (oga@)
~ files.i386
> for some reason the pchb dependency on agp got left in. kill it. (oga@)
~ GENERIC
> enable fins(4) (deraadt@)
~ files.i386
> let maxusers go much higher (deraadt@)
~ RAMDISK_CD
> add wireless drivers which need firmware; if someone upgrades the firmware
> may in fact be there already, so it is OK
> from espie (deraadt@)
~ files.i386
> Nuke some unused magic.
> ok deraadt@ (weingart@)
~ GENERIC
> enable andl; ok deraadt (cnst@)
arch/i386/i386
~ machdep.c
> Clear PSL_D when entering signal handlers; pointed out by dfly people;
> ok kettenis (deraadt@)
~ freebsd_machdep.c ~ linux_machdep.c
~ svr4_machdep.c
> Clear PSL_D when entering signal handlers; pointed out by dfly people;
> ok miod@ (kettenis@)
~ autoconf.c
> label all interfaces we netboot from in group "netboot", in a MI fashion
> ok miod (deraadt@)
~ locore.s
> Quick comment fixups.
> ok deraadt@, kettenis@, brad@, marco@ (weingart@)
- db_magic.s
> Nuke some unused magic.
> ok deraadt@ (weingart@)
arch/i386/pci
~ pchb.c
> Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes
> agp and drm need to use the same memory mapping, the best way to deal
> with that is to allow them to share (that's coming later), for this to
> work cleanly we move the attach point of agp.
> Ideally most agp drivers would attach at pchb, with only agp_i810
> (and any that work similarly) attaching at vga, but this will do for
> now.
> ok kettenis@, miod at . (oga@)
~ pchb.c
> Add AGP support for the Intel G33 chipset.
> Tested on i386 with a Gigabyte G33M-DS2R motherboard (Intel GMA 3100).
> Based on NetBSD code.
> ok oga@ (damien@)
arch/landisk/landisk
~ machdep.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/macppc/conf
~ GENERIC ~ files.macppc
> crank maxusers on some architectures (deraadt@)
arch/macppc/macppc
~ machdep.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/mips64/mips64
~ exception.S
> An overoptimization in r1.15 introduced an evil race, back it out. For some
> reason this would have been blatant on sparc on motorola, one more proof
> mips is the ante${DEITY} yet fun to live with. (miod@)
arch/mvme68k/stand/libsa
~ parse_args.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/mvme88k/stand/libsa
~ parse_args.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/mvmeppc/stand/libsa
~ parse_args.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/sgi/sgi
~ machdep.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/solbourne/solbourne
~ autoconf.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/sparc/dev
~ fd.c
> Bring isa/fd.c into line with sparc/sparc64 fd code and prepare all
> for the addition of missing disklabel related ioctl's.
> ok deraadt@ (krw@)
~ fd.c
> Add support for DIOCRLDINFO, DIOCGPDINFO, DIOCGPART to the fd
> driver(s). Adapted from sd driver.
> ok marco@ (krw@)
arch/sparc/include
~ pmap.h
> - remove pre-uvm prototype of pmap_page_index()
> ok miod@ (jasper@)
arch/sparc/sparc
~ locore.s
> Make ovbcopy() the default bcopy() flavour; requested by deraadt@ some time
> ago. (miod@)
~ autoconf.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
arch/sparc64/conf
~ files.sparc64
> Add some e10k support code. (kettenis@)
~ files.sparc64
> Not-functional-enough driver for the Sun Expert3D cards, put in tree as an
> incentive for further tinkering only; not for the faint of heart. (miod@)
arch/sparc64/dev
+ starfire.c + starfire.h
> Add some e10k support code. (kettenis@)
~ sbus.c ~ psycho.c
> Set up interrupt translation for e10k. (kettenis@)
~ fd.c
> Bring isa/fd.c into line with sparc/sparc64 fd code and prepare all
> for the addition of missing disklabel related ioctl's.
> ok deraadt@ (krw@)
~ rtc.c
> Fix whitespace. (kettenis@)
~ vgafb.c
> Do not attach vgafb if not the console device, since the PROM will not have
> initialized the device in this case. (miod@)
~ fd.c
> Add support for DIOCRLDINFO, DIOCGPDINFO, DIOCGPART to the fd
> driver(s). Adapted from sd driver.
> ok marco@ (krw@)
~ vgafb.c
> Use new defines from pcidevs to match Expert3D. (miod@)
+ ifb.c
> Not-functional-enough driver for the Sun Expert3D cards, put in tree as an
> incentive for further tinkering only; not for the faint of heart. (miod@)
~ ifb.c
> typo; deraadt (miod@)
arch/sparc64/include
~ cpu.h ~ db_machdep.h
> Remove KGDB code. It was never converted to 64-bit, and just makes
> locore.s
> even more unreadable. (kettenis@)
~ sparc64.h
> Add prom_itlb_load() and prom_dtlb_load(). (kettenis@)
~ param.h
> Reintroduce the cputyp variable, and use it to distinguish between sun4u
> and
> sun4v. (kettenis@)
~ pte.h
> Sigh! The sun4v TTEs have a different layout than sun4u TTEs. Rename the
> existing sun4u defines and add sun4v. For now, decide which set to use
> at compile time. Change the sun4u-specific code in locore.s to use the
> sun4u
> defines. (kettenis@)
~ cpu.h
> Add code to initialize CPUs on sun4v. (kettenis@)
arch/sparc64/sparc64
~ cpu.c
> Include <sparc64/dev/starfire.h> instead of having our own definitions.
> (kettenis@)
~ autoconf.c ~ locore.s
> Remove KGDB code. It was never converted to 64-bit, and just makes
> locore.s
> even more unreadable. (kettenis@)
~ locore.s
> Get rid of some dead wood. (kettenis@)
~ ofw_machdep.c
> Add prom_itlb_load() and prom_dtlb_load(). (kettenis@)
~ locore.s ~ pmap.c
> Use PROM calls to enter locked kernel text and data mappings into the TLB.
> Gets rid of a big chunk of nasty asm code and makes us boot on the e10k
> with
> multi-systemboard domains. (kettenis@)
~ locore.s ~ pmap.c
> Establish per-cpu locked mappings for `struct cpuinfo' through the PROM as
> well. (kettenis@)
~ locore.s
> Introduce GET_CPUINFO_VA(), GET_CPCB() and GET_CURPROC() macros to get
> some important members of 'struct cpuinfo'. Preparation for sun4v.
> (kettenis@)
~ locore.s
> Switch to our initial stack after switching over to our own trap table.
> This
> removes the need to lock the stack (and cpuinfo) into the TLB on sun4v.
> (kettenis@)
~ locore.s
> Use ASI_BLK_P instead of ASI_BLK_COMMIT_P when saving floating point
> registers. UltraSPARC T1 doesn't support ASI_BLK_COMMIT_P, and I can't see
> why this code needs commit force. (kettenis@)
~ locore.s ~ pmap.c
> Split out the code that sets the TSB registers and call it from
> pmap_bootstrap_cpu(). (kettenis@)
~ locore.s
> Remove TRAPS_USE_IG code. (kettenis@)
~ locore.s
> Simplify cpu_switchto() such that it doesn't need to know the number of
> register windows provided by the hardware; this number is not readily
> available on sun4v.
> This removes the optimization that skips flushing register windows if
> a process exits. We can add that back later if it turns out to make a
> significant impact. (kettenis@)
~ autoconf.c ~ genassym.cf
~ locore.s ~ machdep.c
> Reintroduce the cputyp variable, and use it to distinguish between sun4u
> and
> sun4v. (kettenis@)
~ locore.s
> Fix ovbcopy() operation when copying shorts backwards, similar to sparc
> locore.s r1.76 (miod@)
~ genassym.cf ~ locore.s
> Sigh! The sun4v TTEs have a different layout than sun4u TTEs. Rename the
> existing sun4u defines and add sun4v. For now, decide which set to use
> at compile time. Change the sun4u-specific code in locore.s to use the
> sun4u
> defines. (kettenis@)
~ cpu.c ~ pmap.c
> Add code to initialize CPUs on sun4v. (kettenis@)
arch/zaurus/zaurus
~ zaurus_machdep.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
compat/common
+ vfs_syscalls_o43.c
> Widen some struct statfs fields to support large filesystem stata
> and add some to be able to support statvfs(2). Do the compat dance
> to provide backward compatibility. ok thib@ miod@ (otto@)
conf
~ files
> Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes
> agp and drm need to use the same memory mapping, the best way to deal
> with that is to allow them to share (that's coming later), for this to
> work cleanly we move the attach point of agp.
> Ideally most agp drivers would attach at pchb, with only agp_i810
> (and any that work similarly) attaching at vga, but this will do for
> now.
> ok kettenis@, miod at . (oga@)
~ GENERIC ~ files
> Widen some struct statfs fields to support large filesystem stata
> and add some to be able to support statvfs(2). Do the compat dance
> to provide backward compatibility. ok thib@ miod@ (otto@)
~ param.c
> we now have a higher count of kernel threads on many machines, so crank
> the base amount in NPROC to 30; ok miod (deraadt@)
ddb
~ db_command.c ~ db_command.h
> show all mounts command for ddb. From mickey a long time ago. (miod@)
dev
~ audio.c
> when setting the block size, use the scale factor only once in
> audiosetinfo(), so the block size don't get scaled twice. Also fix the
> formula used in audiosetinfo().
> ok jakemsr (ratchov@)
~ audio.c ~ audiovar.h
> add audio(4) driver the ability to use different block sizes for play and
> record modes. This makes possible to have blocks of the same duration if
> the
> play and record formats are different. The API change is backward
> compatible, so it shouldn't be noticed by current audio ports.
> ok jakemsr (ratchov@)
dev/i2c
~ i2c_scan.c
> add probe for Andigilog aSC7611; discussed with deraadt (cnst@)
~ files.i2c + asc7611.c
> New andl(4) driver for Andigilog aSC7611 Hardware Monitor.
> Tested in my i2c sandbox against an i2c dump from D946GZIS,
> a dmesg for which was kindly donated to our dmesg at .
> 'commit it' deraadt@ (cnst@)
dev/ic
~ vga.c
> Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes
> agp and drm need to use the same memory mapping, the best way to deal
> with that is to allow them to share (that's coming later), for this to
> work cleanly we move the attach point of agp.
> Ideally most agp drivers would attach at pchb, with only agp_i810
> (and any that work similarly) attaching at vga, but this will do for
> now.
> ok kettenis@, miod at . (oga@)
~ isp_openbsd.c
> Make sure we pass the right argument to isp_wdog() when setting timeouts.
> ok deraadt@ (kettenis@)
~ re.c
> VLAN tag info must be inserted into all descriptors of a multi-descriptor
> packet transmission.
> From NetBSD
> Fixes PR 5655.
> Tested by Panagiotis Efstratiou <slasher at ee dot auth dot gr>, brad@ and
> sthen@ (brad@)
~ re.c
TAGGED OPENBSD_4_2
> Set the RX FIFO threshold to no RX threshold for re(4) adapters.
> This resolves a number of various bad symptoms experienced by
> numerous users especially with the adapters at Gig speed.
> From FreeBSD/NetBSD
> ok deraadt@ (brad@)
~ re.c
TAGGED OPENBSD_4_1
> Set the RX FIFO threshold to no RX threshold for re(4) adapters.
> This resolves a number of various bad symptoms experienced by
> numerous users especially with the adapters at Gig speed.
> From FreeBSD/NetBSD
> ok deraadt@ (brad@)
dev/isa
~ files.isa + fins.c
> Driver for Fintek F71805F LPC sensor based on lm78 driver code;
> written by Geoff Steckel (deraadt@)
~ fd.c
> Bring isa/fd.c into line with sparc/sparc64 fd code and prepare all
> for the addition of missing disklabel related ioctl's.
> ok deraadt@ (krw@)
~ fd.c
> Fix typo/pasto in commented out debug printf(). sc_dv -> sc_dev. (krw@)
~ fd.c
> Add support for DIOCRLDINFO, DIOCGPDINFO, DIOCGPART to the fd
> driver(s). Adapted from sd driver.
> ok marco@ (krw@)
dev/mii
~ brgphyreg.h
> Add defines for 1Gbps/2.5Gbps fiber interfaces.
> From FreeBSD (brad@)
dev/pci
~ agp.c ~ agpvar.h
~ files.agp ~ vga_pci.c
> Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimes
> agp and drm need to use the same memory mapping, the best way to deal
> with that is to allow them to share (that's coming later), for this to
> work cleanly we move the attach point of agp.
> Ideally most agp drivers would attach at pchb, with only agp_i810
> (and any that work similarly) attaching at vga, but this will do for
> now.
> ok kettenis@, miod at . (oga@)
~ pcidevs
> Add the PLX 8524 24 lane PCIe switch.
> ok sthen@ (brad@)
~ pcidevs
> Rearrange some VIA entries so they're in numerical order by PCI id.
> ok sthen@ (brad@)
~ pcidevs
> add the Silan vendor ID and some product IDs.
> From DragonFly
> ok sthen@ (brad@)
~ pcidevs.h ~ pcidevs_data.h
> regen (brad@)
~ pcidevs
> Add some NVIDIA MCP7B PCI IDs.
> From Peer Chen @ NVIDIA via LKML.
> ok sthen@ (brad@)
~ if_em_hw.c ~ if_em_hw.h
> Some additional changes to deal with the ICH8 and ICH9 chipsets.
> Some bits from FreeBSD
> Tested by Mike Belopuhov <mkb at crypt dot org dot ru>,
> Henry Precheur <henry at precheur dot org>,
> Alexander Hall <alexander at beard dot se>,
> Matthew L. Shobe <mshobe at gmail dot com> (brad@)
~ eap.c
> outputs.master.mute, inputs.dac.mute, record.volume.mute and record.source
> are already initialized in ac97.c, we dont need to set them here too.
> ok jakemsr (ratchov@)
~ envyvar.h
> remove unused fields from envy_softc structure, no functional change
> (ratchov@)
~ if_bge.c
> Pass the MIIF_HAVEFIBER flag along to mii_attach() for MII based fiber
> adapters.
> Tested by brad@ and johan@ to ensure flow control is still working for
> copper adapters. (brad@)
~ agp.c ~ agp_i810.c
~ agpreg.h
> Add AGP support for the Intel G33 chipset.
> Tested on i386 with a Gigabyte G33M-DS2R motherboard (Intel GMA 3100).
> Based on NetBSD code.
> ok oga@ (damien@)
~ pcidevs
> More 3DLabs devices. (miod@)
~ pcidevs.h ~ pcidevs_data.h
> regen (miod@)
~ agp.c ~ agp_i810.c
~ agpvar.h
> Sometimes the registers claiming the aperture size on 9XX chipsets lie.
> So instead, use the size of the aperture BAR to determine the aperture
> size for agp_i810, and don't let the 855 and above have the aperture
> set. Next to nothing uses it anyway so no harm.
> introduce generic_{get,set} aperture which has this behaviour so other
> drivers may use it if useful.
> Change inspired by what freebsd did after i noticed my aperture size was
> wrong.
> Tested by many, ok kettenis at . (oga@)
dev/pckbc
~ wskbdmap_mfii.c
> Add option WSKBD_NO_INTL_LAYOUTS to prevent inclusion of international
> keyboard layouts, instead of having SMALL_KERNEL imply this on alpha.
> No functional change.
> ok deraadt@ (miod@)
dev/usb
~ usbdevs ~ uftdi.c
~ if_aue.c
> Bring in some changes from DragonFly:
> - New matching logic so we don't need to check against vid/pid
> to figure out which kind of chip we have
> - Match list in a struct instead of messy if statement (hurrah!)
> - More generic dual port handling
> - Insane amount of device additions, mostly found in Linux driver
> (aue included as a usb vendor got renamed)
> Tested by ckuethe@, 'looks super sensible' deraadt@ (jsg@)
~ usbdevs.h ~ usbdevs_data.h
> regen (jsg@)
~ usbdevs
> IRZ MC35pu GSM Terminal
> From Sergey Prysiazhnyi <apelsin at atmnis.com> (jsg@)
~ usbdevs.h ~ usbdevs_data.h
> regen (jsg@)
~ uslcom.c
> IRZ MC35pu GSM Terminal
> From/tested by Sergey Prysiazhnyi <apelsin at atmnis.com> (jsg@)
~ ukbdmap.c
> Add option WSKBD_NO_INTL_LAYOUTS to prevent inclusion of international
> keyboard layouts, instead of having SMALL_KERNEL imply this on alpha.
> No functional change.
> ok deraadt@ (miod@)
~ ukbdmap.c
> regen (miod@)
~ uslcom.c
> Add a bunch of uslcom devices found in the Linux driver. (jsg@)
~ usbdevs.h ~ usbdevs_data.h
> regen (jsg@)
~ usbdevs
> Add a bunch of uslcom devices found in the Linux driver. (jsg@)
kern
~ syscalls.master ~ vfs_bio.c
~ vfs_subr.c
> Widen some struct statfs fields to support large filesystem stata
> and add some to be able to support statvfs(2). Do the compat dance
> to provide backward compatibility. ok thib@ miod@ (otto@)
~ init_sysent.c ~ syscalls.c
~ syscalls.conf
> regen (otto@)
~ vfs_subr.c
> Wrong printf construct. (miod@)
~ subr_disk.c
> setroot() is supposed to be safe in all cases, so kill the special cases
> for RB_DFLTROOT; ok miod (deraadt@)
net
~ if_pppoe.c
> Don't use MBUFLOCK() for ifqueue protection use the correct splnet() dance
> instead. OK canacar@ (claudio@)
~ if_pppoe.c
> Don't use ph after the m_pulldown() calls because the mbuf chain could be
> modified. Better save than sorry. OK canacar@ (claudio@)
~ if_pppoe.c
> Adapt maximum MTU permitted on pppoe(4) interfaces to the MTU of the
> connected Ethernet/VLAN interface.
> From NetBSD
> Tested by brad@ sthen@
> ok canacar@ (brad@)
netinet6
~ nd6_nbr.c
TAGGED OPENBSD_4_1
> fix use-after-free: pfxlist_onlink_check() might free rt_llinfo for
> the current route, so make sure RTF_LLINFO is still set; fixes pr 5711;
> ok deraadt@ (brad@)
~ nd6_nbr.c
TAGGED OPENBSD_4_2
> fix use-after-free: pfxlist_onlink_check() might free rt_llinfo for
> the current route, so make sure RTF_LLINFO is still set; fixes pr 5711;
> ok deraadt@ (brad@)
nfs
~ nfs_serv.c ~ nfs_vfsops.c
> Widen some struct statfs fields to support large filesystem stata
> and add some to be able to support statvfs(2). Do the compat dance
> to provide backward compatibility. ok thib@ miod@ (otto@)
~ nfs_boot.c
> label all interfaces we netboot from in group "netboot", in a MI fashion
> ok miod (deraadt@)
scsi
~ sd.c
> USB Floppies are umass devices so we always use the default 63/255
> geometry. But 63 * 255 > 2880 and the cylinder count becomes 0. So
> if we end up with a valid disksize but 0 cylinders, set heads =
> cylinders = 1 and sectors-per-track = disksize. (krw@)
sys
~ _types.h ~ mount.h
~ types.h ~ vnode.h
+ statvfs.h
> Widen some struct statfs fields to support large filesystem stata
> and add some to be able to support statvfs(2). Do the compat dance
> to provide backward compatibility. ok thib@ miod@ (otto@)
~ syscall.h ~ syscallargs.h
> regen (otto@)
~ unistd.h
> Add the semi-standard _SC_PHYS_PAGES and _SC_AVPHYS_PAGES, sysconf(3)
> variable.
> ok espie@ (kettenis@)
~ audioio.h
> add audio(4) driver the ability to use different block sizes for play and
> record modes. This makes possible to have blocks of the same duration if
> the
> play and record formats are different. The API change is backward
> compatible, so it shouldn't be noticed by current audio ports.
> ok jakemsr (ratchov@)
~ statvfs.h
> flag constant values should be UL, spotted by deraadt@ (otto@)
ufs/ffs
~ ffs_vfsops.c
> Widen some struct statfs fields to support large filesystem stata
> and add some to be able to support statvfs(2). Do the compat dance
> to provide backward compatibility. ok thib@ miod@ (otto@)
== usr.bin =========================================================== 10/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
audioctl
~ audioctl.c
> add audio(4) driver the ability to use different block sizes for play and
> record modes. This makes possible to have blocks of the same duration if
> the
> play and record formats are different. The API change is backward
> compatible, so it shouldn't be noticed by current audio ports.
> ok jakemsr (ratchov@)
calendar
~ calendars/calendar.birthday
> R.I.P. Arthur C. Clarke
> ok oga. (sthen@)
cvs
~ tag.c
> sync the usage with the manpage, use "symbolic_tag" instead of "tag"
> for the argument to distinguish it from the command keyword which is
> less confusing.
> ok joris@ (reyk@)
mg
~ file.c
> Reset startrow when opening multiple files. Spotted by matthieu@
> ok, kjell@, matthieu@ (pyr@)
netstat
~ if.c
> Make -I work correctly. RTM_NEWADDR needs to filter the ifname as well.
> Found by and tested jmc@ (claudio@)
rcs
~ ci.c
> Fix the freeing of two uninitialized strings. OK niallo@ (millert@)
sort
~ tmp.c
> Get rid of a useless variable.
> ok millert@ ray@ (kili@)
ssh
~ sftp-client.c
> prefer POSIX-style file renaming over filexfer rename behaviour if the
> server
> supports the posix-rename at openssh.com extension.
> Note that the old (filexfer) behaviour would refuse to clobber an existing
> file. Users who depended on this should adjust their sftp(1) usage.
> ok deraadt@ markus@ (djm@)
sudo
~ sudoers
> add SHARED_ONLY to help "make plist" in ports
> ok millert (sthen@)
vmstat
~ vmstat.c
> use ellipsis to show that more than one disk is allowed
> ok jmc@ (sobrado@)
== usr.sbin ========================================================== 11/11 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
authpf
~ authpf.8
> Fix mention of authpf_users table (s/authpf users/authpf_users/).
> ok jmc@, mcbride@ (merdely@)
bgpd
~ util.c
> two small bugs in printing funcs:
> log_as < vs <= confusion, AS 65535 printed like 4 byte AS 0.65535
> aspath_strlen: omitted stripping high 16 bits of 32bit AS after dealing
> with the upper half
> From: Matthew Dempsky <matthew at dempsky.org> (henning@)
~ bgpd.conf.5
> Mention that softreconfig is on by default. From Matthew Dempsky (claudio@)
bind
~ lib/isc/unix/socket.c
> CMSG_LEN and CMSG_SPACE are not neccessarily the same size. So if you
> are going to allocate/free a block of memory for the message contents,
> you have to calculate and track the sizes seperately. This change is
> just like all the other CMSG changes... (deraadt@)
config
~ mkmakefile.c
> put in explicit suffix rules, they're needed anyways since $< is only used
> for suffix rules.
> Use them to avoid writing loads of explicit lines.
> Shaves 2/3 of each Makefile off.
> okay miod@, deraadt@, henning@ (espie@)
~ files.c ~ gram.y
~ mkmakefile.c
> spaces found reading that diff (deraadt@)
~ ukcutil.c
> Done mark a disable of a disabled device as an change (and same with
> enable).
> Reported by jj@ a long time ago. -moj (maja@)
dhcpd
~ tables.c
> option 252 is generally used to specify an autoproxy-script on a subnet.
> ok krw@ henning@ (dlg@)
eeprom
~ optree.c
> Do not abort walking the tree if a node's contents is too large; allows
> eeprom -p to be used on more macppc models.
> ok fgsch@ (miod@)
pwd_mkdb
~ pwd_mkdb.c
> sync the synopsis and usage; "usage:" is lowercase
> ok jmc@ (sobrado@)
quot
~ quot.c
> sync the synopsis and usage; "usage:" is lowercase
> ok jmc@ (sobrado@)
relayd
~ relay.c
> handle the case that the Content-Length HTTP header may be 0 (reyk@)
~ relay.c
> better handling of chunked encoding, further fixes after extensive testing
> (reyk@)
rtadvd
~ rtadvd.c
> correct CMSG_SPACE and CMSG_LEN handling as done in other places. These
> are the complicated cases where multiple messages are sent. discussed
> with kettenis, hshoexer, and rtsol tested by jmc - thanks (deraadt@)
rtsold
~ probe.c ~ rtsol.c
> correct CMSG_SPACE and CMSG_LEN handling as done in other places. These
> are the complicated cases where multiple messages are sent. discussed
> with kettenis, hshoexer, and rtsol tested by jmc - thanks (deraadt@)
sasyncd
~ sasyncd.c
> sync the synopsis and usage; "usage:" is lowercase
> ok jmc@ (sobrado@)
sensorsd
~ sensorsd.8 ~ sensorsd.c
> Reduce the number of unnecessary time(3)/gettimeofday(2) calls, and make
> sure
> that the time always goes forward, so reports are neither duplicated nor
> lost.
> Report state changes stabilised through dampening immediately, instead of
> delay-
> ing them until the next reporting window; previously, it was common for
> check()
> to lag one second behind report(), hence the initial report was delayed one
> extra minute (this then reduces the number of sleep(3)/nanosleep(2) calls,
> too).
> ok ckuethe; some man-page suggestions jmc (cnst@)
~ sensorsd.8
> text simplification; (jmc@)
~ sensorsd.c
> s/273.16/273.15/g, then refactor the formulae to ensure that the
> double to int64_t conversions happen sooner rather than later
> discussed with / ok by kettenis (cnst@)
snmpd
~ snmpd.c
> usage statements are preceeded with usage:
> ok reyk@ (dlg@)
~ mib.c ~ mib.h
> implement the hrSWRun portion of the HOST-RESOURCES mib. you can see whats
> running now, which is another thing my nms at work likes.
> ok reyk@ (dlg@)
~ mib.c
> fix incorrect use of sizeof() where there sizeofa() macro should be used
> ok dlg@ (reyk@)
~ mib.c
> another sizeofa instead of sizeof fix (reyk@)
~ mib.c
> convert more strings to use the new ber_add_astring() function which
> simplifies the code. (reyk@)
~ ber.c
> fix bug that ber_oid2ber skips the first byte when encoding powers of
> 128. E.g., it will encode 128 as 0x00 instead of 0x81 0x00.
> From Matthew at Dempsky dot org (reyk@)
~ ber.3 ~ ber.c
~ ber.h ~ mib.c
~ trap.c
> remove ber_add_astring and make it the default behaviour in
> ber_add_string, ber_add_nstring, and ber_add_bitstring to allocate and
> copy the provided buffer instead of just attaching it to the ber
> element. this may add some overhead but fixes and avoids some bugs
> with static buffers and simplifies the ber api again.
> From Matthew at Dempsky dot org
> With input from claudio@ (reyk@)
~ snmpd.8
> Fix HISTORY. OK reyk@ (millert@)
spray
~ spray.c
> sort options
> ok jmc@ (sobrado@)
syslogd
~ privsep.c
> syslogd leaves zombies around if multiple |/pathto/mylogprog
> children died in a row.
> Do waitpid(2) in a loop until there's nothing left.
> OK henning@, millert@ (mpf@)
~ privsep.c
> avoid errno trashing, ok mpf henning (deraadt@)
timed
~ timed/timed.c ~ timedc/cmds.c
> use the right format for "usage:"; "usage:" is lowercase
> ok jmc@ (sobrado@)
usbdevs
~ usbdevs.c
> "usage:" is lowercase; while here, KNF
> ok jmc@ (sobrado@)
===============================================================================
More information about the owc
mailing list