[owc] Weekly src changes ending 2006-09-24
OWC
auto at squish.net
Mon Sep 25 08:04:59 BST 2006
OpenBSD src changes summary for 2006-09-17 to 2006-09-24 inclusive
==================================================================
bin/df bin/rm
bin/systrace distrib/sets
etc/changelist etc/mtree/special
include/stdlib.h kerberosV
lib/libc lib/libpcap
lib/libpthread libexec/ld.so
libexec/lfs_cleanerd libexec/login_radius
regress/lib regress/usr.bin
sbin/badsect sbin/dhclient
sbin/disklabel sbin/dumplfs
sbin/ipsecctl sbin/isakmpd
sbin/mount_lfs sbin/newlfs
sbin/nmeaattach share/man
sys/arch/alpha/conf sys/arch/amd64/conf
sys/arch/amd64/stand/boot sys/arch/amd64/stand/libsa
sys/arch/hp300/hp300 sys/arch/i386/eisa
sys/arch/i386/i386 sys/arch/i386/isa
sys/arch/i386/pci sys/arch/i386/stand/boot
sys/arch/i386/stand/libkern sys/arch/i386/stand/libsa
sys/arch/mac68k/include sys/arch/mac68k/mac68k
sys/arch/macppc/include sys/arch/mvme68k/mvme68k
sys/arch/sgi/conf sys/arch/solbourne/include
sys/arch/sparc/dev sys/arch/sparc/include
sys/arch/sparc64/sparc64 sys/compat/bsdos
sys/compat/freebsd sys/compat/netbsd
sys/conf sys/dev
sys/dev/acpi sys/dev/cardbus
sys/dev/ic sys/dev/microcode
sys/dev/mii sys/dev/pci
sys/dev/pcmcia sys/dev/usb
sys/isofs/cd9660 sys/kern
sys/lib/libsa sys/net
sys/netinet sys/nfs
sys/scsi sys/sys
sys/ufs/ffs sys/ufs/lfs
usr.bin/calendar usr.bin/find
usr.bin/grep usr.bin/make
usr.bin/mg usr.bin/pkill
usr.bin/rcs usr.bin/sdiff
usr.bin/ssh usr.bin/tip
usr.bin/top usr.bin/whois
usr.sbin usr.sbin/bad144
usr.sbin/bgpd usr.sbin/pstat
usr.sbin/rdate usr.sbin/syslogd
usr.sbin/tcpdump usr.sbin/vnconfig
== bin =============================================================== 01/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/bin
df
- lfs_df.c ~ df.c
> Remove LFS-related code, no binary change (pedro@)
rm
~ rm.1
> reword a sentence so we are not discussing lfs; help from pedro (jmc@)
systrace
~ intercept.c ~ policy.c
> Use S_IS* macros insted of masking with S_IF* flags. The latter may
> have multiple bits set, which leads to surprising results. Spotted
> by/partly
> from Paul Stoeber, more to come. ok ho@ miod@ hshoexer@ (otto@)
== distrib =========================================================== 02/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
sets
~ lists/base/md.i386 ~ lists/man/mi
> sync (deraadt@)
~ lists/comp/mi ~ lists/man/mi
> sync (deraadt@)
~ lists/man/mi
> sync (deraadt@)
~ lists/base/md.alpha ~ lists/base/md.amd64
~ lists/base/md.armish ~ lists/base/md.aviion
~ lists/base/md.cats ~ lists/base/md.hp300
~ lists/base/md.hppa ~ lists/base/md.hppa64
~ lists/base/md.i386 ~ 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
> sync (deraadt@)
~ lists/base/md.sparc ~ lists/comp/md.sparc
> sync (deraadt@)
== etc =============================================================== 03/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
changelist
~ changelist
> add chio.conf bits.
> ok beck@ (aanriot@)
mtree/special
~ mtree/special
> add chio.conf bits.
> ok beck@ (aanriot@)
== include =========================================================== 04/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/include
stdlib.h
~ stdlib.h
> add lldiv prototype; ok deraadt@ (djm@)
== kerberosV ========================================================= 05/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/kerberosV
kerberosV
~ src/lib/krb5/krb5_timeofday.3 ~ src/lib/krb5/krb5_get_init_creds.3
> spelling & grammar
> help & ok jmc@ (biorn@)
== lib =============================================================== 06/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ rpc/clnt_perror.c
> dont put two '\n' at the end of the string returnd by clnt_sperror()
> ok deraadt@ (thib@)
~ sys/makelintstub.sh
> Remove reference to LFS, okay deraadt@ (pedro@)
~ stdlib/getopt_long.c
> Back out change in rev 1.15 of to allow whitespace to separate a
> flag from its optional argument if permutation is disabled. The
> idea was that since "r:" would match "-r foo" then "r::" should
> match "-r foo" too as long as we know that things have not been
> reshuffled. Unfortunately, this causes incompatibilities with GNU
> getopt_long when the POSIXLY_CORRECT environment variable is set.
> OK deraadt@ (millert@)
~ rpc/pmap_rmt.c
> Check return value of authunix_create_default(); from bret lambert
> with some guidance by me; ok jaredy@ (otto@)
~ net/res_init.c
> If fgetln() != NULL, len == 0 is impossible, so remove check.
> OK otto@ and jaredy at .ay@)
~ gen/disklabel.c
> Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They were
> not being used in the tree for anything obviously useful. Get it done
> early so we can find if there are non-obvious uses out there.
> ok deraadt@ beck@ (krw@)
libpcap
~ Makefile
> +MLINK pcap.3 pcap_get_selectable_fd.3
> from okan demirmen (jmc@)
libpthread
~ uthread/pthread_private.h ~ uthread/uthread_accept.c
~ uthread/uthread_close.c ~ uthread/uthread_closefrom.c
~ uthread/uthread_connect.c ~ uthread/uthread_dup.c
~ uthread/uthread_dup2.c ~ uthread/uthread_execve.c
~ uthread/uthread_exit.c ~ uthread/uthread_fcntl.c
~ uthread/uthread_fd.c ~ uthread/uthread_fork.c
~ uthread/uthread_ioctl.c ~ uthread/uthread_kqueue.c
~ uthread/uthread_open.c ~ uthread/uthread_pipe.c
~ uthread/uthread_read.c ~ uthread/uthread_readv.c
~ uthread/uthread_recvfrom.c ~ uthread/uthread_recvmsg.c
~ uthread/uthread_sendmsg.c ~ uthread/uthread_sendto.c
~ uthread/uthread_sig.c ~ uthread/uthread_socket.c
~ uthread/uthread_socketpair.c ~ uthread/uthread_write.c
~ uthread/uthread_writev.c
> Part 1 of file descriptor race and deadlock corrections.
> File status flags should be shared for dup'ed file descriptors.
> However fd_table_entry's should not be shared for dup'ed file
> descriptors so they can be independently be closed without
> interfering with dup'ed fd's.
> - split out file status flags into its own structure
> fs_flags to manage sharing of status flags between
> dup'ed file descriptors.
> - when duplicating a fd, initialize a new fd_table_entry
> for the new fd, but share the status flags via status_flags.
> - consolidate the code that sets the underlying system fd
> to be non-blocking to a new function _thread_fs_flags_init()
> - consolidate the code that sets the underlying system
> fd back to blocking into a new function _thread_fs_flags_replace()
> This change is needed as a prerequisite to the coming race
> and deadlock corrections. okay marc@ (kurt@)
~ uthread/uthread_fd.c
> fix a bug where the logic was reversed (kurt@)
== libexec =========================================================== 07/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
ld.so
~ loader.c
> Fill in the list of loaded segments for the main executable such that we
> can
> unprotect them if necessary for binaries that have TEXTREL set.
> ok drahn@, martin@ (kettenis@)
lfs_cleanerd
- Makefile - clean.h
- cleanerd.c - lfs_cleanerd.8
- library.c - misc.c
- print.c
> Remove lfs_cleanerd and mount_lfs (pedro@)
login_radius
~ raddauth.c
> Make array static, since an error message is sometimes stored there and
> returned.
> Fixes PR 5236.
> OK otto@, deraadt@, and millert at .ay@)
~ raddauth.c
> Recommit non-static array fix. (ray@)
== regress =========================================================== 08/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
lib
+ libpthread/blocked_close/Makefile
+ libpthread/blocked_close/blocked_close.c
> Test close() racing with other threads using the same file
> descriptor, with some of them blocking on data that will never
> arrive. (kurt@)
+ libpthread/close_race/Makefile + libpthread/close_race/close_race.c
> Test close() racing with other threads using the same file
> descriptor. (kurt@)
+ libpthread/dup2_race/Makefile + libpthread/dup2_race/dup2_race.c
> Test dup2() racing with other threads using the same file
> descriptor. (kurt@)
+ libpthread/blocked_dup2/Makefile
+ libpthread/blocked_dup2/blocked_dup2.c
> Test dup2() racing with other threads using the same file
> descriptor, with some of them blocking on data that will never
> arrive. (kurt@)
~ libpthread/Makefile
> add blocked_close, blocked_dup2, close_race and dup2_race (kurt@)
usr.bin
~ make/Makefile + make/mk24
> fix badly named regress, and add suffixes rules. (espie@)
~ rcs/Makefile
> - bump ulimit -d value for EOF test case so that it works on amd64 and
> sparc64 (thanks to pedro@ for
> testing on his sparc64).
> - use ${.CURDIR} to make this work properly with an obj/ dir. (niallo@)
== sbin ============================================================== 09/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
badsect
~ badsect.8
> remove references to bad144(8) man page; (jmc@)
dhclient
~ dhclient.c
> No point in checking for a NULL ifi after we've used it. Plus ifi is
> set once in main() and used everywhere without further checks.
> From Matthew R. Dempsky via tech@ (krw@)
disklabel
~ disklabel.c
> Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They were
> not being used in the tree for anything obviously useful. Get it done
> early so we can find if there are non-obvious uses out there.
> ok deraadt@ beck@ (krw@)
dumplfs
- Makefile - dumplfs.8
- dumplfs.c - extern.h
- misc.c
> Remove dumplfs, okay millert@ miod@ (pedro@)
ipsecctl
~ ike.c
> KNF and clean some trailing white spaces, no binary change. (hshoexer@)
~ ipsecctl.c ~ pfkdump.c
~ pfkey.h
> sort SAs by spi; ok hshoexer (markus@)
~ parse.y
> typo in err(); from bret.lambert at gmail.comhanks! (hshoexer@)
~ ipsec.conf.5
> - document which parts need to be packet filtered, and why
> - move example ruleset into a more logical order
> - correct the if-bound example (spotted by hshoexer)
> help/ok markus hshoexer (jmc@)
isakmpd
~ log.c ~ ui.c
~ x509.c
> Use S_IS* macros insted of masking with S_IF* flags. The latter may
> have multiple bits set, which leads to surprising results. Spotted
> by/partly
> from Paul Stoeber, more to come. ok ho@ miod@ hshoexer@ (otto@)
mount_lfs
- Makefile - mount_lfs.8
- mount_lfs.c - pathnames.h
> Remove lfs_cleanerd and mount_lfs (pedro@)
newlfs
~ newlfs.8
> -.Xr dumplfs 8 , (jmc@)
~ Makefile ~ config.h
~ extern.h ~ lfs.c
~ misc.c ~ newfs.c
~ newlfs.8
> Remove newlfs, okay weingart@ deraadt@ (pedro@)
- Makefile - config.h
- extern.h - lfs.c
- misc.c - newfs.c
- newlfs.8
> Those were supposed to go away... (pedro@)
nmeaattach
~ nmeaattach.c
> correct mode for open(). (mbalmer@)
== share ============================================================= 10/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/man4.sparc64/power.4
> this does not always power down, refer to rc.shutdown(8)
> ok jason (steven@)
~ man4/man4.sparc64/Makefile ~ man4/man4.sparc64/ebus.4
> put power.4 back into build (steven@)
~ man7/ports.7
> fix documentation (espie@)
~ man4/uath.4
> english (deraadt@)
~ man4/uath.4
> More uath devices, also properly mark some of the UB52/AR5005UX devices
> with the dual band flag. (jsg@)
~ man4/pppoe.4
> change the example hostname.pppoe0 to match the format
> documented in hostname.if(5). although it is more complex,
> we at least document how and why it works;
> complaints on a postcard...
> ok reyk canacar (jmc@)
+ man4/acpibat.4
> Add man page for acpibat(4) based on submission from Dmitri Alenitchev.
> Input from jmc, marco, and myself.
> yay jmc, ``get it in'' marco (mk@)
~ man4/Makefile
> Add acpibat.4. (mk@)
~ man4/acpi.4
> Add acpibat(4) to list of supported devices and .Xr in SEE ALSO. Also
> .Xr acpihpet 4 in SEE ALSO.
> ok jmc (mk@)
~ man4/acpi.4
> - no need to add Xrs to SEE ALSO when the body already lists them
> - remove non-standard .Sh (jmc@)
~ man4/acpibat.4
> tweak; (jmc@)
~ man4/ciss.4
> mention SAS in the .Nd line and add the E500 model. (brad@)
~ man4/man4.vax/hp.4 ~ man8/man8.vax/drtest.8
~ man8/man8.vax/format.8
> remove references to bad144(8) man page; (jmc@)
~ man4/bio.4 ~ man4/pci.4
> update ciss.4 .Nd; (jmc@)
~ man4/man4.sparc64/power.4
> - sort SEE ALSO
> - better macro (jmc@)
~ man4/cardbus.4
> do not use full stops at the end of the device lists:
> there's no need for it, and pasting will be easier without them (jmc@)
~ man4/eisa.4
> drop full stops from device list; (jmc@)
~ man4/ahb.4 ~ man4/ahc.4
~ man4/bha.4 ~ man4/eisa.4
~ man4/man4.i386/uha.4
> sync the eisa scsi devices; (jmc@)
~ man4/isa.4
> drop full stops from the device list; (jmc@)
~ man4/aha.4 ~ man4/aic.4
~ man4/isa.4 ~ man4/man4.i386/sea.4
~ man4/man4.i386/wds.4
> sync isa scsi devices; (jmc@)
~ man4/isapnp.4
> drop full stops from device list; (jmc@)
~ man4/isapnp.4 ~ man4/mpu.4
~ man4/man4.i386/sb.4 ~ man4/man4.i386/joy.4
> isapnp devices sync; (jmc@)
~ man4/isa.4
> - put mpu(4) in the right place
> - sync mpu(4) and sb(4) entries (jmc@)
~ man4/man4.i386/Makefile + man4/man4.i386/pas.4
> add a small page for proaudio spectrum; help/ok mickey (jmc@)
~ man4/isa.4
> sync the pas.4 entry; (jmc@)
~ man4/pci.4 ~ man4/adv.4
~ man4/ahd.4 ~ man4/iha.4
~ man4/isp.4 ~ man4/pcscp.4
~ man4/siop.4 ~ man4/trm.4
> sync the pci scsi entries; (jmc@)
~ man4/adv.4
> the drivers are called adv and adw, not advansys; (jmc@)
~ man4/pci.4
> remove trailing full stops from the device list; (jmc@)
~ man4/pcmcia.4
> remove trailing full stops from the device list; (jmc@)
~ man4/pcmcia.4
> sync com, aic, and wdc lines; (jmc@)
~ man4/sbus.4
> drop trailing full stops from the device list; (jmc@)
~ man4/usb.4
> remove trailing full stops from the device list; (jmc@)
~ man4/man4.hppa/gsc.4
> remove trailing full stops from device list; (jmc@)
~ man4/sbus.4 ~ man4/man4.sparc/esp.4
~ man4/man4.sparc64/esp.4
> sync sbus scsi device list; (jmc@)
~ man4/man4.mac68k/obio.4 ~ man4/man4.mac68k/esp.4
~ man4/man4.mac68k/ncrscsi.4
> mac scsi sync; (jmc@)
~ man4/pci.4
> trim the de.4 entry; (jmc@)
~ man4/sk.4
> add the Marvell Yukon 88E8056 PCI id (brad@)
~ man4/pgt.4
> correct author chunk (deraadt@)
~ man4/pgt.4
> use .Fx and .Ox; (jmc@)
~ man4/com.4
> sgi synopsis (martin@)
== sys =============================================================== 11/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/alpha/conf
~ GENERIC
> add pgt(4). (brad@)
arch/amd64/conf
~ GENERIC
> Enable pgt(4) on amd64. Missing entry spotted by brad at . > ok deraadt@ (mglocker@)
arch/amd64/stand/boot
~ conf.c ~ Makefile
> boot(8) ``machine memory'' support for > 4G.
> Convert parser to strtoll(3) and use 64bit printf.
> With help from mickey@
> i386 and amd64 tests by me, alpha test by mickey@
> OK mickey@, miod@, deraadt@ (mpf@)
arch/amd64/stand/libsa
~ cmd_i386.c ~ libsa.h
~ memprobe.c
> boot(8) ``machine memory'' support for > 4G.
> Convert parser to strtoll(3) and use 64bit printf.
> With help from mickey@
> i386 and amd64 tests by me, alpha test by mickey@
> OK mickey@, miod@, deraadt@ (mpf@)
arch/hp300/hp300
~ disksubr.c
> Bring hp300, mac68k and mvme68k disklabel initialization code into
> line with all other archs by initializing partitions up to RAWPART the
> same way. Should be no functional change.
> ok martin@ miod@ (krw@)
arch/i386/eisa
~ eisa_machdep.c
> ansi/deregister (jsg@)
arch/i386/i386
~ apic.c ~ autoconf.c
~ conf.c ~ db_disasm.c
~ db_interface.c ~ db_trace.c
~ disksubr.c ~ freebsd_machdep.c
~ i686_mem.c ~ ipx_cksum.c
~ kgdb_machdep.c ~ linux_machdep.c
~ lock_machdep.c ~ machdep.c
~ mem.c ~ mpbios.c
~ mtrr.c ~ pctr.c
~ pmap.c ~ process_machdep.c
~ rbus_machdep.c ~ svr4_machdep.c
~ sys_machdep.c ~ trap.c
~ vm86.c ~ vm_machdep.c
> ansi/deregister (jsg@)
~ est.c
> Correct EST table for Pentium M 770, from NetBSD.
> Verified by shanejp netspace net au. (dim@)
arch/i386/isa
~ ahc_isa.c ~ clock.c
~ isa_machdep.c ~ isapnp_machdep.c
~ joy.c ~ joy_isa.c
~ joy_isapnp.c ~ lms.c
~ mms.c ~ npx.c
~ pccom.c
> ansi/deregister (jsg@)
arch/i386/pci
~ ichpcib.c
> add 82801GHM and 82801H (brad@)
~ amd756.c ~ opti82c558.c
~ opti82c700.c ~ pchb.c
~ pci_addr_fixup.c ~ pci_intr_fixup.c
~ pci_machdep.c ~ pcib.c
~ pcibios.c ~ pcic_pci_machdep.c
~ pciide_machdep.c ~ piix.c
~ sis85c503.c ~ via8231.c
~ via82c586.c
> ansi/deregister (jsg@)
arch/i386/stand/boot
~ conf.c
> boot(8) ``machine memory'' support for > 4G.
> Convert parser to strtoll(3) and use 64bit printf.
> With help from mickey@
> i386 and amd64 tests by me, alpha test by mickey@
> OK mickey@, miod@, deraadt@ (mpf@)
arch/i386/stand/libkern
~ Makefile
> boot(8) ``machine memory'' support for > 4G.
> Convert parser to strtoll(3) and use 64bit printf.
> With help from mickey@
> i386 and amd64 tests by me, alpha test by mickey@
> OK mickey@, miod@, deraadt@ (mpf@)
arch/i386/stand/libsa
~ Makefile ~ cmd_i386.c
~ libsa.h ~ memprobe.c
> boot(8) ``machine memory'' support for > 4G.
> Convert parser to strtoll(3) and use 64bit printf.
> With help from mickey@
> i386 and amd64 tests by me, alpha test by mickey@
> OK mickey@, miod@, deraadt@ (mpf@)
arch/mac68k/include
~ vmparam.h
> Crank VM_PHYSSEG_MAX to 8; while we do not expect more than 2 ranges in the
> worst case, the Booter will happily feed us up to 8 ranges, so we have to
> get prepared. (miod@)
~ cpu.h
> Get rid of (unused) MACH_CLASSP580 and flatten MACH_CLASSxxx values.
> (miod@)
arch/mac68k/mac68k
~ clock.c
> Shorten the area where interrupts are enabled to calibrate delay(), and run
> this at splclock() instead of spl0(), so that potential spurious network or
> scsi interrupts on machines running in A/UX interrupt mode do not hang
> there. (miod@)
~ machdep.c
> Get rid of (unused) MACH_CLASSP580 and flatten MACH_CLASSxxx values.
> (miod@)
~ disksubr.c
> Bring hp300, mac68k and mvme68k disklabel initialization code into
> line with all other archs by initializing partitions up to RAWPART the
> same way. Should be no functional change.
> ok martin@ miod@ (krw@)
arch/macppc/include
~ vmparam.h
> Extend the .text and .data segments to 64MB. This allows programs with
> large .text segments, like xmame, to run.
> ok drahn (marco@)
arch/mvme68k/mvme68k
~ disksubr.c
> Bring hp300, mac68k and mvme68k disklabel initialization code into
> line with all other archs by initializing partitions up to RAWPART the
> same way. Should be no functional change.
> ok martin@ miod@ (krw@)
arch/sgi/conf
~ Makefile.sgi
> delete blank line; Paul Stoeber (deraadt@)
arch/solbourne/include
- remote-sl.h
> Time to leave the bus. (miod@)
arch/sparc/dev
~ tctrl.c
> No need to check for both cd_devs != NULL && cd_ndevs != 0, since the
> latter
> implies the former; no functional change. (miod@)
~ presto.c
> Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They were
> not being used in the tree for anything obviously useful. Get it done
> early so we can find if there are non-obvious uses out there.
> ok deraadt@ beck@ (krw@)
arch/sparc/include
- remote-sl.h
> Time to leave the bus. (miod@)
arch/sparc64/sparc64
~ machdep.c
> Dump memory above 4GB correctly. (miod@)
compat/bsdos
~ syscalls.master
> Remove LFS system calls from here too (pedro@)
~ bsdos_syscall.h ~ bsdos_syscallargs.h
~ bsdos_syscalls.c ~ bsdos_sysent.c
> regen (pedro@)
compat/freebsd
~ syscalls.master
> Remove LFS system calls from here too (pedro@)
~ freebsd_syscall.h ~ freebsd_syscallargs.h
~ freebsd_syscalls.c ~ freebsd_sysent.c
> regen (pedro@)
compat/netbsd
~ syscalls.master
> Remove LFS system calls from here too (pedro@)
~ netbsd_syscall.h ~ netbsd_syscallargs.h
~ netbsd_syscalls.c ~ netbsd_sysent.c
> regen (pedro@)
conf
~ newvers.sh
> moving to 4.1-current (deraadt@)
~ newvers.sh
> 4.0-current. yes deraadt (steven@)
dev
~ ipmi.c
> Move get ipmi id into the match function. This prevents attach from being
> called whenever there is no BMC and hence suppresses a ugly message when a
> bios lied that it had ipmi.
> tested beck@ (marco@)
~ ipmi.c
> fix all malloc()s to nowait|canfail and do not ignore errors reading sensor
> status; marco@ ok (mickey@)
~ vnd.c
> Make vnd(4) work on read-only file systems, from Paul Stoeber, okay tedu@
> (pedro@)
~ ramdisk.c
> Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They were
> not being used in the tree for anything obviously useful. Get it done
> early so we can find if there are non-obvious uses out there.
> ok deraadt@ beck@ (krw@)
dev/acpi
~ acpibat.c
> Typo fixes.
> ok marco (mk@)
dev/cardbus
~ if_re_cardbus.c
> Fix for re_stop() being called from re_cardbus_shutdown() with the
> wrong arguments, causing uvm_fault on halt/reboot, with a cardbus re
> inserted. While here, cleanup prototypes and use revar.h everywhere.
> ok brad@ (dim@)
~ if_re_cardbus.c
> no externs on protots ad no casts from void * (mickey@)
dev/ic
~ dp8390.c
> set the IFCAP_VLAN_MTU flag.
> From bouyer at NetBSDrad@)
~ re.c
> Re-add the link state check to re_start(), which was added in rev 1.31 and
> removed in rev 1.43 just before release, as a workaround for a link state
> issue found with the 8139C+ chips. Due to the different bit layout used by
> the 8139C+ chips rlphy(4) was not reporting the correct link status.
> Fix from yongary at FreeBSD > Tested by maja@ (brad@)
~ mpi.c
> There's no need to walk the list of devices to find the SCSI bus we
> should attach to, since config_found() already returns a pointer to it.
> Pointed out by Quentin Garnier, okay dlg at .edro@)
~ mpi.c ~ mpireg.h
> macros and types for event notifications from the hardware. (dlg@)
~ mpireg.h
> tiny whitespace nit (dlg@)
~ rt2560.c ~ rt2661.c
> don't use IF_PREPEND() on altq's.
> use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
> (damien@)
~ re.c ~ revar.h
> Fix for re_stop() being called from re_cardbus_shutdown() with the
> wrong arguments, causing uvm_fault on halt/reboot, with a cardbus re
> inserted. While here, cleanup prototypes and use revar.h everywhere.
> ok brad@ (dim@)
~ revar.h
> no externs on protots ad no casts from void * (mickey@)
~ ar5211.c ~ ar5212.c
~ ar5xxx.c
> disable 11g mode for now (reyk@)
~ ath.c ~ ar5212.c
> use the correct antenna mode settings and fix a bug in the tx
> descriptor setup. this will fix various issues including 11a mode with
> ar5212. (reyk@)
~ ar5211.c
> fix 11a/b antenna mode setup (reyk@)
~ ar5211.c ~ ar5212.c
~ ar5xxx.h
> better mode setup in the ar5211 and ar5212 reset functions (reyk@)
~ ath.c
> "pure g" is a special, non-standard ofdm-only mode. use the standard
> dynamic cck/ofdm "11g" mode instead. (reyk@)
~ ar5xxx.c ~ ar5xxx.h
~ ath.c
> detect the newer single chip generations AR2413, AR5413 and AR5224 but
> don't attach them, yet. (reyk@)
~ pgt.c
> add missing sys/device.h.
> ok mglocker@ (brad@)
~ ath.c ~ ar5212.c
~ ar5xxx.h
> attach and enable the newer chipset generations AR2413, AR5413, and
> AR5424. unlike the previous chipset generations, these chipsets are
> single chip solutions. the AR5424 is a PCI Express chipset as found in
> various intel Macs.
> support is still incomplete- 11a mode works and 11b mode is rx-only. i
> need some more test reports, hardware donations (there are several
> different subrevisions) and time to finish it.
> thanks for help from kettenis@
> "of course!" deraadt@ (reyk@)
~ mpireg.h
> event data for the sas phy and sas status change messages (dlg@)
~ mpi.c
> factor the common code out of mpi_intr and mpi_complete. they were
> basically identical apart from the conditions they looped on. (dlg@)
~ mpi.c ~ mpivar.h
> wrap the hardware replies up in a structure called mpi_rcb which is
> similair to the one used for requests. take the reply bits out of the ccb,
> but point it at the rcb instead.
> this lets us defer processing of the reply some time after we reuse or
> free the ccb. (dlg@)
~ mpi.c ~ mpivar.h
> add a debug flag type thing for event handling (dlg@)
~ mpi.c
> start cleaning up the completion path for event notifications. (dlg@)
~ mpi.c
> deref the right rcb by using i as the index, not 1 all the time. (dlg@)
~ mpi.c
> code for acking event notifications that require acks. (dlg@)
~ mpi.c
> add support for hotplugging devices on sas controllers. this is disabled
> for now until we deal more appropriately with events generated by other
> variants of mpi controllers. (dlg@)
~ pgt.c
> Update media state correctly.
> ok claudio@ (mglocker@)
~ pgt.c
> In pgt_media_status() also DPRINTF if the rate == 0. (mglocker@)
dev/microcode
+ bnx/Makefile + bnx/bnx-license
+ bnx/build.c
> build a bnx firmware file, for firmload (deraadt@)
dev/mii
~ rgephy.c
> do not fill in the anar for the manual 1000baseT media setting case.
> (brad@)
dev/pci
~ if_bge.c
> defer establishing the interrupt until later during attach, to let the
> driver finish initializing. fixes a panic in bge_intr() upon bootup on
> some systems running non-MP kernels.
> Issue reported/fix tested by jolan@, also mentioned in PR 5114 though the
> issue is intermisttent on the IBM e326m. (brad@)
~ if_bge.c ~ if_bgereg.h
> - correct the firmware synchronization in bge_reset(), this
> eliminates firmware timeouts for the BCM5752 as the hw
> firmware was coming up too fast for the driver.
> - remove the redundant firmware check in bge_chipinit().
> Tested by pedro la peu <pedro at am-gen dot org> on an IBM ThinksPpad Z61m
> with a BCM5752, as well as the 5700/5703/5704 and 5750.
> The initial diff for bge_reset() and other information from
> David Christensen <davidch at broadcom dot com>. (brad@)
~ if_em.c ~ if_em.h
> revert revision 1.131, the code in question was later found to not ensure
> the proper alignment requirement for the VLAN layer on strict alignment
> architectures. This would result in Jumbo's working fine as long as VLANs
> were not in use. If VLANs were in use and a packet comes in with a size
> of 2046 bytes or larger, it would be corrupted as it came up through the
> VLAN layer. Also check the hw max frame size, instead of the MTU, so the
> alignment fixup is done as appropriate.
> Fixes PR 5185.
> Tested by Rui DeSousa with macppc and myself with alpha/sparc64. (brad@)
~ if_em.c
TAGGED OPENBSD_3_9
> MFC:
> Fix by brad@
> revert revision 1.131, the code in question was later found to not ensure
> the proper alignment requirement for the VLAN layer on strict alignment
> architectures. This would result in Jumbo's working fine as long as VLANs
> were not in use. If VLANs were in use and a packet comes in with a size
> of 2046 bytes or larger, it would be corrupted as it came up through the
> VLAN layer. Also check the hw max frame size, instead of the MTU, so the
> alignment fixup is done as appropriate.
> Fixes PR 5185.
> Tested by Rui DeSousa with macppc and myself with alpha/sparc64. (brad@)
~ if_em.c ~ if_em.h
TAGGED OPENBSD_3_9
> Overhaul RX path to recover from mbuf cluster allocation failure.
> - Create a spare DMA map for RX handler to recover from
> bus_dmamap_load() failure.
> - Make sure to update status bit in RX descriptors even if we failed
> to allocate a new buffer.
> - Don't blindly unload DMA map. Reuse loaded DMA map if received
> packet has errors.
> From yongari at FreeBSD > Tested by myself and a number of end-users on i386/amd64/sparc64 (brad@)
~ if_em.c
TAGGED OPENBSD_3_9
> Try to reclaim the TX descriptors in the watchdog handler before actually
> issuing a watchdog reset of the interface.
> From yongari at FreeBSDrad@)
~ if_bge.c ~ if_bgereg.h
TAGGED OPENBSD_3_9
> Readd the Dell PHY LED setup workaround and the Jumbo capability flag.
> (brad@)
~ if_bge.c ~ if_bgereg.h
TAGGED OPENBSD_3_9
> add a flag to indicate which boards are only capable of 10/100 modes of
> operation. (brad@)
~ pcidevs
TAGGED OPENBSD_3_9
> - fix typo in Corollary vendor name
> - add the Silicom vendor id
> - add the Compaq Hotplug PCI host bridge id
> - add the Hint HB6 PCI bridge ids (brad@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (brad@)
~ pcidevs
TAGGED OPENBSD_3_9
> add entries for unknown Marvell SATA and ServerWorks IDE PCI ids. (brad@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (brad@)
~ pcidevs
TAGGED OPENBSD_3_9
> Add some pci device types for Integrated Micro Solutions. (gwk@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (gwk@)
~ if_sk.c
TAGGED OPENBSD_3_9
> g/c unused SK_{SET,CLR}BIT macros
> From riz at NetBSDrad@)
~ if_ipw.c ~ if_iwi.c
~ if_wpi.c
TAGGED OPENBSD_3_9
> don't use IF_PREPEND() on altq's.
> use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
> (damien@)
~ pciide.c
TAGGED OPENBSD_3_9
> add a missing space to a DMA load error printf. (brad@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> sync (reyk@)
~ pcidevs
TAGGED OPENBSD_3_9
> add atheros AR2413 and AR5413 device ids (reyk@)
~ pcidevs
TAGGED OPENBSD_3_9
> HPSA_6 -> HPSAE500 (Smart ARRAY E500)
> board model name from the Linux driver. (brad@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (brad@)
~ ciss_pci.c
TAGGED OPENBSD_3_9
> sync (brad@)
~ if_bnxreg.h
TAGGED OPENBSD_3_9
> export a structure for the firmware file header. Unfortunately this is
> one of the more gross firmwares around (as in, the broadcom supplied
> header file has 30+ ugly global variables.. which we must copy into a
> header. Kernel and userland must agree about this header, then the kernel
> can rip the header apart back into it's driver specific "globals"..)
> (deraadt@)
~ azalia.c
TAGGED OPENBSD_3_9
> missing args for printf; some from Aurelien <aurelien26 at free dot fr>.
> (fgsch@)
~ pcidevs
TAGGED OPENBSD_3_9
> add the Corollary CCF and the PLX 8532 PCIE switch. (brad@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (brad@)
~ if_vr.c
TAGGED OPENBSD_3_9
> put a few printf's in the interrupt handler under VR_DEBUG. (brad@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (steven@)
~ pcidevs
TAGGED OPENBSD_3_9
> add new nvidia graphics card
> ok mickey marco (steven@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (brad@)
~ pcidevs
TAGGED OPENBSD_3_9
> - add the Marvell Yukon 88E8056 PCI id
> - YUKON_3 -> YUKON_8055 (Marvell Yukon 88E8055) (brad@)
~ if_msk.c
TAGGED OPENBSD_3_9
> add the Marvell Yukon 88E8056 PCI id (brad@)
~ pcidevs
TAGGED OPENBSD_3_9
> add a few more Intel 5000 series and 6321ESB chipset PCI ids. (brad@)
~ pcidevs.h ~ pcidevs_data.h
TAGGED OPENBSD_3_9
> regen (brad@)
~ if_em.c
TAGGED OPENBSD_3_8
> MFC:
> Fix by brad@
> revert revision 1.131, the code in question was later found to not ensure
> the proper alignment requirement for the VLAN layer on strict alignment
> architectures. This would result in Jumbo's working fine as long as VLANs
> were not in use. If VLANs were in use and a packet comes in with a size
> of 2046 bytes or larger, it would be corrupted as it came up through the
> VLAN layer. Also check the hw max frame size, instead of the MTU, so the
> alignment fixup is done as appropriate.
> Fixes PR 5185.
> Tested by Rui DeSousa with macppc and myself with alpha/sparc64. (brad@)
dev/pcmcia
~ if_ne_pcmcia.c
> variant of Socket 10/100 CF+ ethernet card.
> from Andrew Smith (asmith at tranquility dot fsbusiness dot co dot uk)
> (fgsch@)
dev/usb
~ usbdevs
> More uath devices. (jsg@)
~ usbdevs.h ~ usbdevs_data.h
> regen (jsg@)
~ if_uath.c
> More uath devices, also properly mark some of the UB52/AR5005UX devices
> with the dual band flag. (jsg@)
~ usb.c ~ usb_port.h
> get rid of the usb_port.h macros that wrap our kthread create functions.
> looks ok pascoe@ (dlg@)
~ if_ral.c ~ if_rum.c
~ if_uath.c ~ if_zyd.c
> don't use IF_PREPEND() on altq's.
> use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
> (damien@)
~ if_uath.c
> cleanup the list of supported devices. (damien@)
~ if_uath.c ~ if_uathreg.h
> better uath_set_rates(). (damien@)
~ if_uath.c
> fix my 1.7 commit.
> in uath_reset(), return on error if tsleep() fails. (damien@)
~ if_uath.c ~ if_uathvar.h
> implement a zero-copy RX data path.
> instead of copying the xfer buffer's content into a mbuf cluster, attach
> the xfer buffer as a mbuf external storage and pass it to the net80211
> layer as is.
> maintain a reference count on the softc structure and wait in detach()
> until all references have been released by the network layer. (damien@)
~ if_zyd.c ~ usbdevs
> Add TRENDnet TEW-429UB A. (mglocker@)
~ usbdevs.h ~ usbdevs_data.h
> sync (mglocker@)
isofs/cd9660
~ TODO.hibler
> typo, remove reference to lfs (pedro@)
kern
~ kern_watchdog.c
> A bit of microoptimisation that doesn't hurt readability: Don't do
> timeout_del() if we're going to timeout_add() in the next block.
> ok dlg (a while ago), markus (mk@)
~ vfs_conf.c
> Unplug LFS from VFS (pedro@)
~ syscalls.master
> Remove LFS system calls (pedro@)
~ init_sysent.c ~ syscalls.c
> regen (pedro@)
~ init_sysent.c ~ syscalls.c
> regen (pedro@)
~ syscalls.master
> Put the LFS syscall stubs back in, turns out libc is unable to build
> without those, even though they're currently not implemented (pedro@)
lib/libsa
~ printf.c
> Add a hand rolled 64bit hex printf that can be used outside of
> LIBSA_LONGLONG_PRINTF which requires 64bit math support.
> With help from mickey@
> Tested on i386, amd64 and on alpha by mickey@
> OK mickey@, miod@, deraadt@ (mpf@)
~ stand.h + strtoll.c
> Import a slightly stripped down strtoll(3) from stdlib
> into libsa as it is needed for boot(8) > 4G support.
> With help from mickey@
> i386 and amd64 tests by me, alpha test by mickey@
> OK mickey@, miod@, deraadt@ (mpf@)
net
~ pf.c
> fix tos (type-of-service) comparisons. for rules which use 'tos x', compare
> for equality (ip_tos == x). for priority queue assignment, compare AND-wise
> (ip_tos & IPTOS_LOWDELAY). this matters mostly for cases where the reserved
> bits in ip_tos are used (RFC791, 1349) and more than a single bit is set.
> from Steve Welham, closes PR5226 and PR5227. (dhartmei@)
~ pf.c
> allow RST from TCP client, even if client does not send data after SYN;
> ok frantzen, dhartmei, henning (markus@)
netinet
~ ip_esp.c
> ugly trailing ws; from bret dot lambert at gmail (otto@)
nfs
~ nfs.h ~ nfs_socket.c
> Fix the way delays between request retransmissions are calculated
> in the case where NFSERR_TRYLATER is received from the server.
> Adapted from NetBSD.
> ok pedro@, tedu@ (thib@)
scsi
~ scsiconf.c
> when we probe and find devices on the scsibus, we allocate a scsi_link
> struct for it and keep it in the midlayer. however, this struct was never
> free'd on detach.
> since we only do hotplugging of controllers (and the scsibus and devices
> get hotplugged as a matter of course), we now walk the list of scsi_link
> structs and free them on detach of scsibus.
> ok marco@ (dlg@)
~ scsi_base.c ~ scsiconf.c
~ scsiconf.h
> implement a kernel thread that can be used by the midlayer or scsi drivers
> when they need a process context to do something. the most obvious task
> that springs to mind is attaches and detaches of devices on scsibus.
> ok krw@ marco@ deraadt@ (dlg@)
sys
~ mount.h
> Unplug LFS from VFS (pedro@)
~ syscall.h ~ syscallargs.h
> regen (pedro@)
~ syscall.h ~ syscallargs.h
> regen (pedro@)
~ buf.h
> Remove B_GATHERED, okay thib@ (pedro@)
~ buf.h
> missed B_GATHERED bits removal (mickey@)
~ disklabel.h
> Eliminate D_CHAIN, D_ECC and D_RAMDISK flags from disklabel. They were
> not being used in the tree for anything obviously useful. Get it done
> early so we can find if there are non-obvious uses out there.
> ok deraadt@ beck@ (krw@)
ufs/ffs
~ ffs_inode.c
> Replace a bzero() by a loop in ffs_indirtrunc(), making the code FFS2
> compatible, adapted from FreeBSD, okay krw@ (pedro@)
~ ffs_inode.c
> Use void * where void * is meant, spotted by tedu@
> No binary change (pedro@)
ufs/lfs
- README - TODO
- lfs.h - lfs_alloc.c
- lfs_balloc.c - lfs_bio.c
- lfs_cksum.c - lfs_debug.c
- lfs_extern.h - lfs_inode.c
- lfs_segment.c - lfs_subr.c
- lfs_syscalls.c - lfs_vfsops.c
- lfs_vnops.c
> Zap LFS, okay deraadt@ (pedro@)
== usr.bin =========================================================== 12/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
calendar
~ calendars/calendar.history
> more stuff for June
> "commitski now" mickey (jasper@)
~ calendars/calendar.history
> fill July
> ok mickey (jasper@)
~ calendars/calendar.history
> Fill August
> ok mickey (jasper@)
~ calendars/calendar.computer
> add md5 collision
> ok mickey (jasper@)
~ calendars/calendar.computer
> Add the Unix Billenium (jasper@)
~ calendars/calendar.history
> add missing year,
> spotted by steven (jasper@)
~ calendars/calendar.history
> Fill September
> ok mickey (jasper@)
find
~ find.1
> do not suggest that !expression and (expression) (without spaces) is valid;
> "from sander bos, with credit to peter bex"
> ok otto (jmc@)
grep
~ mmfile.c
> Use S_IS* macros insted of masking with S_IF* flags. The latter may
> have multiple bits set, which lead to surprising results. Spotted by
> Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ (otto@)
~ mmfile.c
> That should be S_ISREG, dunno why I committed this wrong version;
> spotted by hshoexer@ (otto@)
make
~ suff.c
> on .SUFFIXES: <empty>
> also reset one-suffix rules. (espie@)
~ suff.c
> revert for now, this breaks stuff elsewhere... (espie@)
mg
~ fileio.c
> Use S_IS* macros insted of masking with S_IF* flags. The latter may
> have multiple bits set, which lead to surprising results. Spotted by
> Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ (otto@)
pkill
~ pkill.c
> Use S_IS* macros insted of masking with S_IF* flags. The latter may
> have multiple bits set, which lead to surprising results. Spotted by
> Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ (otto@)
rcs
~ rcsutil.c
> Use S_IS* macros insted of masking with S_IF* flags. The latter may
> have multiple bits set, which lead to surprising results. Spotted by
> Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ (otto@)
~ ci.c ~ diff.c
~ diff.h ~ diff3.c
~ rcs.c ~ rcsdiff.1
~ rcsdiff.c
> Add support to rcsdiff for all the other diff flags that
> are pertinent to files (not directories) and that do not
> conflict with rcsdiff-specific flags. OK xsa@ (millert@)
~ rcsdiff.1
> nick a double space; (jmc@)
~ rcsutil.c
> - handle deltatexts which don't end in a newline character. fixes PR #5241.
> ok ray@ (niallo@)
~ rcsdiff.1 ~ rcsdiff.c
> - explain diff_options (which i renamed from "diff options")
> - sync usage()
> ok xsa (jmc@)
sdiff
~ sdiff.c
> Use S_IS* macros insted of masking with S_IF* flags. The latter may
> have multiple bits set, which lead to surprising results. Spotted by
> Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ (otto@)
ssh
~ sftp.c
> Use S_IS* macros insted of masking with S_IF* flags. The latter may
> have multiple bits set, which lead to surprising results. Spotted by
> Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ (otto@)
~ packet.c
> client NULL deref on protocol error; Tavis Ormandy, Google Security Team
> (markus@)
tip
~ tip.c
> remove the :dc: is always set behavior (use cua devices or /etc/remote
> entries to override); ok deraadt awhile ago. (jason@)
top
~ machine.c
> Plug memory leak.
> From Henrik Gustafsson <openbsd at fnord dot se>.
> OK miod@ and deraadt@ (ray@)
~ machine.c
> Recommit memory leak fix. (ray@)
whois
~ whois.c
> when looking up ASNs (ASxxxx), select radb (henning@)
== usr.sbin ========================================================== 13/13 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
usr.sbin
~ Makefile
> Remove bad144, okay deraadt@ miod@ (pedro@)
bad144
- Makefile - bad144.8
- bad144.c
> Remove bad144, okay deraadt@ miod@ (pedro@)
bgpd
~ parse.y
> kill useless debug code that somehow snuck in, some 2 years ago...
> (henning@)
~ parse.y
> save the parser state in one big struct, and make it interchangable, aka
> make the parser restartable. with that implement "include" file support.
> makes life a _lot_ easier with filter generation tools. claudio ok
> (henning@)
~ rde.c
> when the neighbor announced the restart capability, send the end-of-rib
> marker after a bulk transfer, claudio ok (henning@)
~ buffer.c ~ session.c
> make buffer_grow always return a valid struct buf; the contained buffer
> might be NULL on realloc failure tho. all users check buffer size before
> using the buffer, so this is not a problem.
> makes error handling much easier. ease the capabilities code big time.
> claudio ok (henning@)
pstat
~ pstat.8
> more lfs removal; ok pedro (jmc@)
rdate
~ ntp.c
> Make rdate ignore ntp responses with ALARM status.
> "yeah..." henning@ (ckuethe@)
syslogd
~ syslogd.c
> check that stdio file descriptors are actually closed before clobbering
> them, following an identical change in openssh (djm@)
tcpdump
~ print-ip6.c ~ print-ipsec.c
> enable ESP and AH dissectors over IPv6; ok mpf@ (at k2k6) (naddy@)
vnconfig
~ vnconfig.c
> Make vnd(4) work on read-only file systems, from Paul Stoeber, okay tedu@
> (pedro@)
===============================================================================
More information about the owc
mailing list