[odc] Daily src changes for 2006-03-19
ODC
auto at squish.net
Mon Mar 20 07:13:32 GMT 2006
OpenBSD src changes summary for 2006-03-19
==========================================
distrib/notes lib/libc
lib/libm sbin/init
share/man sys/arch/alpha/alpha
sys/arch/alpha/include sys/arch/amd64/include
sys/arch/arm/include sys/arch/hppa/include
sys/arch/hppa64/include sys/arch/i386/include
sys/arch/m68k/include sys/arch/m88k/include
sys/arch/mac68k/mac68k sys/arch/mips64/include
sys/arch/powerpc/include sys/arch/solbourne/include
sys/arch/sparc/include sys/arch/sparc64/dev
sys/arch/sparc64/include sys/arch/vax/include
sys/dev/i2c sys/dev/ic
sys/dev/pci usr.bin/asa
usr.bin/awk usr.bin/ssh
usr.sbin/pkg_add
== distrib =========================================================== 01/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
notes
~ alpha/hardware
> sync some (martin@)
== lib =============================================================== 02/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ stdio/fgetln.3
> Remove extraneous cast to malloc call in fgetln example.
> OK otto@ (ray@)
~ db/hash/hash.c
> Fix a mem leak and a potential NULL deref; from NetBSD's coverity analysis.
> ok millert@ (otto@)
libm
~ Makefile + arch/amd64/e_exp.S
> New amd64 exp(3).
> tested by steven@, ok otto@ (kettenis@)
== sbin ============================================================== 03/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
init
~ init.c
> Fix mem leaks in error path. From NetBSD's coverity analysis. ok pat@
> deraadt@ (otto@)
== share ============================================================= 04/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man9/style.9
> Remove case '?': from getopt example.
> OK otto@ (ray@)
== sys =============================================================== 05/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/alpha/alpha
~ trap.c
> Do not compile misaligned access recovery code if option SMALL_KERNEL;
> ok deraadt@ (miod@)
arch/alpha/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/amd64/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/arm/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/hppa/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/hppa64/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/i386/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/m68k/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/m88k/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/mac68k/mac68k
~ autoconf.c
> mountroot for disk devices shall be dk_mountroot(), not ffs_mountroot().
> (miod@)
arch/mips64/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/powerpc/include
~ param.h
> Change BLKDEV_IOSIZE down to 2KB like on all other platforms; ok kettenis@
> (miod@)
arch/solbourne/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/sparc/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
arch/sparc64/dev
~ pci_machdep.c ~ psycho.c
~ schizo.c
> rev 1.86
> make the "generic" PCI bus enumeration code the standard case which
> gets used if nothing else is defined in MD headers,
> introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can
> be used by MD headers (just 1 port atm) to plug in special code
> rev 1.62
> * Implement a machine-dependent pci_enumerate_bus() for sparc64 which
> uses OFW device nodes to enumerate the bus. When a PCI bus that is
> behind a bridge is attached, pci_attach_hook() allocates a new PCI
> chipset tag for the new bus and sets it's "curnode" to the OFW node
> of the bridge. This is used as a starting point when enumerating
> that bus. Root busses get the OFW node of the host bridge (psycho).
> rev 1.59
> Split the code that enumerates the PCI bus and that actually probes
> for a device into two functions:
> * pci_probe_device() actually probes/attaches the device specified
> by the provide pcitag_t.
> * pci_enumerate_bus() enumerates the bus, and calls pci_probe_device()
> for each device on the bus. A pci_enumerate_bus_generic() is provided
> which implements the old method of doing this: If something found at
> dev0/func0, determine number of functions and probe each one.
> From NetBSD
> ok kettenis@
> Tested on a good number of amd64/i386/macppc/sparc64 systems (brad@)
arch/sparc64/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
~ pci_machdep.h
> rev 1.86
> make the "generic" PCI bus enumeration code the standard case which
> gets used if nothing else is defined in MD headers,
> introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can
> be used by MD headers (just 1 port atm) to plug in special code
> rev 1.62
> * Implement a machine-dependent pci_enumerate_bus() for sparc64 which
> uses OFW device nodes to enumerate the bus. When a PCI bus that is
> behind a bridge is attached, pci_attach_hook() allocates a new PCI
> chipset tag for the new bus and sets it's "curnode" to the OFW node
> of the bridge. This is used as a starting point when enumerating
> that bus. Root busses get the OFW node of the host bridge (psycho).
> rev 1.59
> Split the code that enumerates the PCI bus and that actually probes
> for a device into two functions:
> * pci_probe_device() actually probes/attaches the device specified
> by the provide pcitag_t.
> * pci_enumerate_bus() enumerates the bus, and calls pci_probe_device()
> for each device on the bus. A pci_enumerate_bus_generic() is provided
> which implements the old method of doing this: If something found at
> dev0/func0, determine number of functions and probe each one.
> From NetBSD
> ok kettenis@
> Tested on a good number of amd64/i386/macppc/sparc64 systems (brad@)
arch/vax/include
~ param.h
> remove unused bdbtofsb(bn) macro
> found by drahn@ (martin@)
dev/i2c
~ i2c_scan.c
> ok, what i thought was sis950 is actually likely the it8712f-a (deraadt@)
~ i2c_scan.c
> sis950 has 0x5b missing, so it looks more like an it8712f-a (deraadt@)
dev/ic
~ ami.c ~ amivar.h
> this is a really large reworking of how ami works in terms of submitting
> commands to the hardware and completing them.
> previously the driver was very engineered toward moving io from the
> logical disks scsi commands onto the hardware and off. as we built extra
> functionality into the driver, this path grew more and more hairy as bits
> were tacked on to cope.
> this strips it back to dealing with getting the command onto the hardware
> and off again. each path that submits commands now has to do all its work
> before submitting the ccb, and supply a function for completing the ccb.
> both the async and polled paths call the completion routines for commands
> now. async commands that fail to get onto the hardware first go are stuck
> on a queue and retried out of a timeout. previously this was only done for
> scsi commands, now all paths take advantage of it. (dlg@)
dev/pci
~ pci.c ~ pcivar.h
> rev 1.86
> make the "generic" PCI bus enumeration code the standard case which
> gets used if nothing else is defined in MD headers,
> introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can
> be used by MD headers (just 1 port atm) to plug in special code
> rev 1.62
> * Implement a machine-dependent pci_enumerate_bus() for sparc64 which
> uses OFW device nodes to enumerate the bus. When a PCI bus that is
> behind a bridge is attached, pci_attach_hook() allocates a new PCI
> chipset tag for the new bus and sets it's "curnode" to the OFW node
> of the bridge. This is used as a starting point when enumerating
> that bus. Root busses get the OFW node of the host bridge (psycho).
> rev 1.59
> Split the code that enumerates the PCI bus and that actually probes
> for a device into two functions:
> * pci_probe_device() actually probes/attaches the device specified
> by the provide pcitag_t.
> * pci_enumerate_bus() enumerates the bus, and calls pci_probe_device()
> for each device on the bus. A pci_enumerate_bus_generic() is provided
> which implements the old method of doing this: If something found at
> dev0/func0, determine number of functions and probe each one.
> From NetBSD
> ok kettenis@
> Tested on a good number of amd64/i386/macppc/sparc64 systems (brad@)
~ if_pcn.c
> recognize the 976 and 978 (brad@)
~ pcidevs
> add a few more Intel devices as found on a Acer Travelmate 3012WTMi laptop.
> dmesgs from damien@ (brad@)
~ pcidevs.h ~ pcidevs_data.h
> regen (brad@)
~ pci.c ~ pcivar.h
> - check HDRTYPE early, and ignore if it is not supported (n > 2).
> - defer access to interrupt configuration register, as its existence
> depends on
> HDRTYPE.
> From itojun NetBSD (brad@)
~ ppb.c
> ANSI and fix comments (brad@)
~ pci.c
> ANSI and KNF. (brad@)
~ pci_map.c
> ANSIfy (brad@)
~ pci_quirks.c
> ANSIfy (brad@)
== usr.bin =========================================================== 06/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
asa
~ asa.c
> use getopt(3)
> from Jasper Lievisse Adriaanse <jasper at nedbsd.nlok otto@ (robert@)
awk
~ b.c
> more sane calloc(3) usage; from adobriyan at gmail.comk millert (pvalchev@)
ssh
~ serverloop.c
> memory leaks detected by Coverity via elad AT netbsd.org;
> ok deraadt@ dtucker@ (djm@)
~ hostfile.c
> FILE* leak detected by Coverity via elad AT netbsd.org;
> ok deraadt@ (djm@)
~ sftp.c
> more memory leaks detected by Coverity via elad AT netbsd.org;
> deraadt@ ok (djm@)
~ dh.c ~ readconf.c
~ servconf.c
> potential NULL pointer dereferences detected by Coverity
> via elad AT netbsd.org; ok deraadt@ (djm@)
~ sshconnect2.c
> memory leaks detected by Coverity via elad AT netbsd.org;
> deraadt@ ok (djm@)
~ servconf.c
> Correct strdelim null test; ok djm@ (dtucker@)
~ auth1.c ~ authfd.c
~ channels.c
> spacing (deraadt@)
~ clientloop.c ~ sshd.c
~ progressmeter.c ~ serverloop.c
> ARGSUSED for signal handlers (deraadt@)
~ atomicio.c ~ auth-bsdauth.c
~ auth-chall.c ~ auth-krb5.c
~ auth-options.c ~ auth-passwd.c
~ auth-rh-rsa.c ~ auth-rhosts.c
~ auth-rsa.c ~ auth-skey.c
~ auth.c ~ auth1.c
~ auth2-chall.c ~ auth2-hostbased.c
~ auth2-kbdint.c ~ auth2-none.c
~ auth2-passwd.c ~ auth2-pubkey.c
~ auth2.c ~ authfd.c
~ authfile.c ~ bufaux.c
~ buffer.c ~ canohost.c
~ channels.c ~ cipher-3des1.c
~ cipher-bf1.c ~ cipher-ctr.c
~ cipher.c ~ cleanup.c
~ clientloop.c ~ compat.c
~ compress.c ~ deattack.c
~ dh.c ~ dispatch.c
~ dns.c ~ fatal.c
~ groupaccess.c ~ hostfile.c
~ includes.h ~ kex.c
~ kexdh.c ~ kexdhc.c
~ kexdhs.c ~ kexgex.c
~ kexgexc.c ~ kexgexs.c
~ key.c ~ log.c
~ mac.c ~ match.c
~ md-sha256.c ~ misc.c
~ monitor.c ~ monitor_fdpass.c
~ monitor_mm.c ~ monitor_wrap.c
~ msg.c ~ nchan.c
~ packet.c ~ progressmeter.c
~ readconf.c ~ readpass.c
~ rsa.c ~ scard.c
~ scp.c ~ servconf.c
~ serverloop.c ~ session.c
~ sftp-client.c ~ sftp-common.c
~ sftp-glob.c ~ sftp-server.c
~ sftp.c ~ ssh-add.c
~ ssh-agent.c ~ ssh-dss.c
~ ssh-keygen.c ~ ssh-keyscan.c
~ ssh-keysign.c ~ ssh-rsa.c
~ ssh.c ~ sshconnect.c
~ sshconnect1.c ~ sshconnect2.c
~ sshd.c ~ sshlogin.c
~ sshpty.c ~ sshtty.c
~ ttymodes.c ~ uidswap.c
~ uuencode.c ~ xmalloc.c
> RCSID() can die (deraadt@)
~ ssh.c
> spacing (deraadt@)
~ kex.c ~ kex.h
~ monitor.c ~ myproposal.h
~ session.c
> spacing (deraadt@)
~ ssh-keyscan.c
> please lint (deraadt@)
~ authfile.c
> whoever thought that break after return was a good idea needs to get their
> head examimed (deraadt@)
== usr.sbin ========================================================== 07/07 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
pkg_add
~ OpenBSD/PackingElement.pm
> (espie@)
===============================================================================
More information about the odc
mailing list