[odc] Daily src changes for 2007-10-08
ODC
auto at squish.net
Tue Oct 9 07:00:01 BST 2007
OpenBSD src changes summary for 2007-10-08
==========================================
distrib/notes distrib/sets
etc/Makefile etc/changelist
etc/ftpusers etc/group
etc/mail/aliases etc/master.passwd
etc/mtree/special etc/ospf6d.conf
etc/rc etc/rc.conf
lib/libc lib/libossaudio
regress/usr.bin sbin/iopctl
share/man sys/arch/alpha/conf
sys/arch/alpha/pci sys/arch/amd64/conf
sys/arch/arm/xscale sys/arch/armish/conf
sys/arch/i386/conf sys/arch/macppc/conf
sys/arch/sparc/dev sys/arch/sparc64/conf
sys/arch/sparc64/dev sys/arch/sparc64/sparc64
sys/arch/vax/mscp sys/dev
sys/dev/acpi sys/dev/i2c
sys/dev/pci sys/dev/pcmcia
sys/dev/usb sys/kern
sys/net80211 sys/nfs
sys/ufs/ufs sys/xfs
usr.bin/cvs usr.bin/ftp
usr.bin/pcc usr.sbin/acpidump
usr.sbin/ospf6d
== distrib =========================================================== 01/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
notes
~ i386/hardware ~ macppc/hardware
~ sparc64/hardware
> Correct name GPS170PCI instead of GPS170. (mbalmer@)
sets
~ lists/comp/md.amd64 ~ lists/etc/mi
> sync (deraadt@)
== etc =============================================================== 02/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/etc
Makefile
~ Makefile
> Add a sample configuration file for the newly imported ospf6d(8) daemon.
> ok dlg@ (norby@)
changelist
~ changelist
> Add a sample configuration file for the newly imported ospf6d(8) daemon.
> ok dlg@ (norby@)
ftpusers
~ ftpusers
> Add the user _ospf6d otherwise the newly imported ospf6d daemon will not
> start.
> ok dlg@ (norby@)
group
~ group
> Add the user _ospf6d otherwise the newly imported ospf6d daemon will not
> start.
> ok dlg@ (norby@)
mail/aliases
~ mail/aliases
> Add the user _ospf6d otherwise the newly imported ospf6d daemon will not
> start.
> ok dlg@ (norby@)
master.passwd
~ master.passwd
> Add the user _ospf6d otherwise the newly imported ospf6d daemon will not
> start.
> ok dlg@ (norby@)
mtree/special
~ mtree/special
> Add a sample configuration file for the newly imported ospf6d(8) daemon.
> ok dlg@ (norby@)
ospf6d.conf
+ ospf6d.conf
> Add a sample configuration file for the newly imported ospf6d(8) daemon.
> ok dlg@ (norby@)
rc
~ rc
> Add the user _ospf6d otherwise the newly imported ospf6d daemon will not
> start.
> ok dlg@ (norby@)
rc.conf
~ rc.conf
> Add the user _ospf6d otherwise the newly imported ospf6d daemon will not
> start.
> ok dlg@ (norby@)
== lib =============================================================== 03/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ locale/runetype.h
> attribute packed -> __packed
> OK millert (gilles@)
~ crypt/crypt.3
> add a RETURN VALUES section.
> ok jmc@ (pyr@)
libossaudio
~ ossaudio.c
> - make SNDCTL_DSP_GETOSPACE much more efficient by using AUDIO_GETPRINO
> instead of AUDIO_GETINFO
> - make SNDCTL_DSP_GETISPACE return correct values by using AUDIO_GETRRINFO
> instead of AUDIO_GETINFO
> - remove calls to setblocksize() from SNDCTL_DSP_GET[IO]SPACE. changing
> the blocksize inside play or record loops, where these ioctls are most
> often used, can have serious negative consequences. the blocksize
> should be "fixed" to a power of 2 before these ioctls are called by
> using SNDCTL_DSP_SETFRAGMENT or SNDCTL_DSP_GETBLKSIZE.
> heavily tested by myself. no negative feedback from anyone else.
> ok ratchov (jakemsr@)
== regress =========================================================== 04/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
usr.bin
~ xlint/test-11.c
> attribute packed -> __packed
> OK millert (gilles@)
== sbin ============================================================== 05/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
iopctl
~ iopctl.c
> attribute packed -> __packed
> OK millert (gilles@)
== share ============================================================= 06/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/audio.4
> explain that AUDIO_GET[PR]RINFO were added for porting 3rd party
> software and should be avoided in new code
> suggested by ratchov@, help from jmc@ (jakemsr@)
~ man4/uslcom.4
> attach uslcom to the track systems traqmate
> ok jsg (jcs@)
~ man4/mbg.4
> The PCI based GPS card is GPS170PCI, not GPS170, which is a different
> receiver in "Europa"-card size. (mbalmer@)
~ man4/man4.amd64/amdpcib.4 ~ man4/man4.i386/amdpcib.4
~ man4/man4.i386/glxpcib.4 ~ man4/man4.i386/gscpcib.4
~ man4/man4.i386/ichpcib.4 ~ man4/man4.i386/piixpcib.4
> - do not talk about "pcib functionality": these pages already document what
> the devices are
> - no need to Xr pcib either
> ok mbalmer deraadt (jmc@)
== sys =============================================================== 07/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/alpha/conf
~ GENERIC
> enable spdmem where it matters (deraadt@)
arch/alpha/pci
~ mcpcia.c
> More simple memset(,0,) -> M_ZERO changes. In this batch move to
> size(*p) as the first malloc() parameter where p is declared locally
> and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c
> even though there is no obvious bzero or memset nearby. (krw@)
arch/amd64/conf
~ GENERIC
> enable spdmem where it matters (deraadt@)
arch/arm/xscale
~ pxa2x0_apm_asm.S
> Align the suspend saved data to a cache line boundary, apparently prevents
> issues upon resume. (miod@)
arch/armish/conf
~ GENERIC
> enable spdmem where it matters (deraadt@)
arch/i386/conf
~ GENERIC
> enable spdmem where it matters (deraadt@)
~ GENERIC
> isa0 at amdpcib? got skipped, sigh (deraadt@)
arch/macppc/conf
~ GENERIC
> enable spdmem where it matters (deraadt@)
arch/sparc/dev
~ obio.c
> A few trailing bzero/memset -> M_ZERO occurrences, cast removal and
> size(*p) usage. (krw@)
arch/sparc64/conf
~ GENERIC
> enable spdmem where it matters (deraadt@)
arch/sparc64/dev
~ ofwi2c.c
> Don't skip EEPROMs in ofw i2c scan,
> match on sparc64 SPD name in spdmem.
> Tested on a V120.
> ok deraadt@ (jsg@)
~ sbus.c
> A few trailing bzero/memset -> M_ZERO occurrences, cast removal and
> size(*p) usage. (krw@)
~ psycho.c ~ pyro.c
~ schizo.c
> A few trailing bzero/memset -> M_ZERO occurrences, cast removal and
> size(*p) usage. This should be the last of the simple malloc()
> changes. (krw@)
arch/sparc64/sparc64
~ machdep.c
> A few trailing bzero/memset -> M_ZERO occurrences, cast removal and
> size(*p) usage. (krw@)
arch/vax/mscp
~ mscp.c
> A few trailing bzero/memset -> M_ZERO occurrences, cast removal and
> size(*p) usage. (krw@)
dev
~ ipmi.c
> More simple memset(,0,) -> M_ZERO changes. In this batch move to
> size(*p) as the first malloc() parameter where p is declared locally
> and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c
> even though there is no obvious bzero or memset nearby. (krw@)
dev/acpi
~ acpi.c ~ acpicpu.c
~ acpimadt.c ~ acpiprt.c
~ dsdt.c
> More simple memset(,0,) -> M_ZERO changes. In this batch move to
> size(*p) as the first malloc() parameter where p is declared locally
> and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c
> even though there is no obvious bzero or memset nearby. (krw@)
dev/i2c
~ spdmem.c
> Indicate if the module is registered, DDR/DDR2 only at the moment.
> Tested by ian@ wilfried@ and deraadt@ (jsg@)
~ spdmem.c
> Don't skip EEPROMs in ofw i2c scan,
> match on sparc64 SPD name in spdmem.
> Tested on a V120.
> ok deraadt@ (jsg@)
~ spdmem.c
> Correct frequency for SDRAM. (jsg@)
~ spdmem.c
> To identity PC133 we need to check cycle time as modules
> often identify as PC100. (jsg@)
~ spdmem.c
> Print registered/CAS latency information for SDRAM. (jsg@)
dev/pci
~ if_san_xilinx.c ~ qli_pci.c
> More simple memset(,0,) -> M_ZERO changes. In this batch move to
> size(*p) as the first malloc() parameter where p is declared locally
> and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c
> even though there is no obvious bzero or memset nearby. (krw@)
~ pcidevs
> GPS170 -> GPS170PCI
> ok claudio (mbalmer@)
~ pcidevs.h ~ pcidevs_data.h
> regen (mbalmer@)
~ mbg.c
> GPS170 -> GPS170PCI
> ok claudio (mbalmer@)
dev/pcmcia
~ if_malo.c ~ if_maloreg.h
~ if_malovar.h
> Make pcmcia malo(4) work with trunk(4) by:
> Setting interface ethernet address from link level address.
> Adding firmware command to set ethernet address. (mglocker@)
~ if_malo.c
> Give the device a bit time to finish the reset when stopped. Avoids
> helper firmware load timeouts when device is brought up very fast again,
> like seen with trunk(4). (mglocker@)
dev/usb
~ uslcom.c
> support 230400 speed
> ok jsg (jcs@)
~ uslcom.c
> attach uslcom to the track systems traqmate
> ok jsg (jcs@)
kern
~ subr_prf.c
> Introduce %z for printf(9), like %z for printf(3). Used to print
> size_t and ssize_t variables.
> OK miod and cthulhu. (ray@)
net80211
~ ieee80211_proto.c
> Get trunk(4) working again with 802.11 devices. Spotted by ajacoutot at .
> Diff has been done in co-work with damien@, jsg@, reyk@, and claudio at .
> OK damien@ (mglocker@)
nfs
~ nfs_subs.c
> shrink nfsrv_v2errmap[] and check table size more carefully to avoid
> dependency on ELAST; ok miod thib (deraadt@)
ufs/ufs
~ ufs_dirhash.c
> Initialize dh_blkfree with zero's.
> ok beck@ (krw@)
xfs
~ xfs_vnodeops-common.c
> More simple memset(,0,) -> M_ZERO changes. In this batch move to
> size(*p) as the first malloc() parameter where p is declared locally
> and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c
> even though there is no obvious bzero or memset nearby. (krw@)
~ xfs_syscalls-common.c
> A memset(,0,) -> M_ZERO change which also fixes a possible bug with
> malloc'ing one struct size but zero'ing the memory with another struct
> size.
> Feedback from todd@ tedu@ miod@ (krw@)
== usr.bin =========================================================== 08/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
cvs
~ commit.c
> do not try to reset the default branch if the RCS file
> does not exist, fixes a segfault when commiting a new file.
> found by tobias@ who is going to make a nice little regression test for
> this. (joris@)
ftp
~ cookie.c
> Simplify the code that strips out \r by using strcspn.
> ok millert@ (pyr@)
pcc
~ cc/cc.c
> Remove two unneeded macro definitions, replace strdup() with copy() which
> does error checking.
> otto@, ragge@ ok (stefan@)
~ cc/cc.c ~ ccom/main.c
> signal handles must not call exit() or use stdio; ok otto (deraadt@)
~ ccom/trees.c
> initilize sflags and only print n_rval when initialized; tracking by
> Laurent Desnogues. ok ragge@ (otto@)
~ ccom/trees.c
> oops, fix merge error (otto@)
== usr.sbin ========================================================== 09/09 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
acpidump
~ acpidump.h ~ aml/aml_memman.h
> attribute packed -> __packed
> OK millert (gilles@)
ospf6d
+ Makefile + area.c
+ buffer.c + carp.c
+ control.c + control.h
+ database.c + hello.c
+ imsg.c + in_cksum.c
+ interface.c + iso_cksum.c
+ kroute.c + log.c
+ log.h + lsack.c
+ lsreq.c + lsupdate.c
+ name2id.c + neighbor.c
+ ospf6.h + ospf6d.8
+ ospf6d.c + ospf6d.conf.5
+ ospf6d.h + ospfe.c
+ ospfe.h + packet.c
+ parse.y + printconf.c
+ rde.c + rde.h
+ rde_lsdb.c + rde_spf.c
> Welcome ospf6d
> The new ospf6d daemon will support OSPFv3, basically OSPF for IPv6
> networks.
> It is heavily based on ospfd(8), it is more or less a copy and paste of it.
> Currently some unneeded stuff has been removed and the trasition from
> IPv4 to IPv6 has begun.
> ospf6d is not very usefull at the moment, it is being imported to allow
> more
> people to work on it concurrently.
> Not yet connected to the builds.
> ok claudio@ dlg@ (norby@)
~ ospf6d.8
> bad place for a stray space; (jmc@)
~ log.c
> Use a small cyclic buffer ring in log_in6addr() so that the function can be
> used more then once per printf. The current limit is 4. (claudio@)
===============================================================================
More information about the odc
mailing list