[odc] Daily src changes for 2007-09-17

ODC auto at squish.net
Tue Sep 18 07:00:01 BST 2007


OpenBSD src changes summary for 2007-09-17
==========================================

lib/libc                                regress/usr.bin
sbin/ipsecctl                           share/man
sys/arch/amd64/amd64                    sys/arch/amd64/isa
sys/arch/amd64/pci                      sys/arch/mac68k/dev
sys/arch/macppc/dev                     sys/arch/sparc64/dev
sys/arch/sparc64/sparc64                sys/arch/vax/if
sys/arch/zaurus/dev                     sys/dev
sys/dev/cardbus                         sys/dev/ic
sys/dev/isa                             sys/dev/mii
sys/dev/pci                             sys/dev/sdmmc
sys/dev/usb                             sys/dev/wscons
sys/dev/wsfont                          sys/isofs/udf
sys/msdosfs                             sys/net
sys/netbt                               sys/netinet
sys/ntfs                                sys/sys
sys/uvm                                 usr.bin/audioctl
usr.bin/cvs                             usr.bin/make
usr.bin/pcc                             usr.bin/top

== lib =============================================================== 01/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/lib

libc

  ~ db/btree/bt_open.c                    ~ db/hash/hash_page.c
  ~ db/hash/ndbm.c                        ~ gen/auth_subr.c
  ~ gen/authenticate.c                    ~ gen/getnetgrent.c
  ~ gen/login_cap.c                       ~ locale/setlocale.c
  ~ locale/setrunelocale.c                ~ net/rcmd.c
  ~ time/strftime.c                       ~ yp/yp_bind.c

  > Check snprintf(3) return value for error or truncation.
  > Mostly path construction, where truncation could be bad.
  > ok and input from deraadt@ millert@ ray@ (moritz@)

  ~ stdio/tempnam.c                       

  > Prevent out-of-bounds memory access in tempnam(3), if the environment
  > variable TMPDIR or the argument `dir' is an empty string.
  > With and ok millert@ ray@ (moritz@)

  ~ rpc/xdr_stdio.c                       

  > Fix comment typos; ok ray@, jmc@ (blambert@)

== regress =========================================================== 02/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/regress

usr.bin

  ~ make/Makefile                         + make/mk27
  + make/t30.out                          

  > Add a test for .BEGIN/.END keywords (espie@)

== sbin ============================================================== 03/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sbin

ipsecctl

  ~ ipsec.conf.5                          

  > Document the syntax used with manual SAs for automatic creation
  > of the SA matching return traffic; it was already there for spi but
  > not authkey/enckey (all 3 are required).
  > assistance and ok from jmc@ (sthen@)

== share ============================================================= 04/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/share

man

  ~ man4/audio.4                          

  > implement the output_muted member of audio_info_t as found in original
  > Sun audio.
  > input from and ok ratchov (jakemsr@)

== sys =============================================================== 05/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys

arch/amd64/amd64

  ~ bus_dma.c                             ~ cpu.c
  ~ intr.c                                ~ mem.c
  ~ mpbios.c                              

  > MALLOC/FREE -> malloc/free and M_ZERO changes
  > ok krw@ (chl@)

arch/amd64/isa

  ~ isa_machdep.c                         

  > MALLOC/FREE -> malloc/free and M_ZERO changes
  > ok krw@ (chl@)

arch/amd64/pci

  ~ iommu.c                               

  > MALLOC/FREE -> malloc/free and M_ZERO changes
  > ok krw@ (chl@)

arch/mac68k/dev

  ~ grf_iv.c                              ~ grf_mv.c

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

arch/macppc/dev

  ~ awacs.c                               ~ dbdma.c
  ~ i2s.c                                 

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

arch/sparc64/dev

  ~ central.c                             ~ ebus_mainbus.c
  ~ fhc.c                                 ~ sbus.c
  ~ upa.c                                 

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

arch/sparc64/sparc64

  ~ intr.c                                

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

arch/vax/if

  ~ if_qe.c                               

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

arch/zaurus/dev

  ~ zaurus_kbd.c                          

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

dev

  ~ audio.c                               

  > add functions to mute/unmute output
  > ok ratchov (jakemsr@)

  ~ audio.c                               

  > use au_get_gain()/au_set_gain() and the new au_get_mute()/au_set_mute()
  > functions instead of doing things the hard way.
  > also add some bits to au_set_gain() so it sets a gain that is within
  > limits.  its possible to pass in an out-of-range value through
  > audioctl(1) as well.
  > ok ratchov (jakemsr@)

  ~ audio.c                               

  > implement the output_muted member of audio_info_t as found in original
  > Sun audio.
  > input from and ok ratchov (jakemsr@)

dev/cardbus

  ~ cardbus.c                             ~ cardbus_map.c
  ~ cardslot.c                            ~ rbus.c

  > Un-staticize if option DDB. (miod@)

dev/ic

  ~ if_wi.c                               ~ rtw.c

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

  ~ bwi.c                                 

  > In case of IV load failure free ucode. (mglocker@)

  ~ bwi.c                                 

  > Several DPRINTF arguments was missing, which can lead to ugly kernel
  > crashes.  Fix them. (mglocker@)

  ~ bwi.c                                 

  > If device is down, don't handle any interrupts.  Even don't read the
  > interrupt status register instead return directly.	This fixes the machine
  > freeze on amd64 and let me receive proper interrupts if device is up.
  > This bit was originaly in the DragonFly code, and must have sneaked out
  > while porting ... (mglocker@)

dev/isa

  ~ if_ex.c                               

  > A little cleaning..
  > - de-register
  > - ANSI functions
  > - remove a commented out and bogus ioctl
  > Tested by todd@
  > ok dlg@ (brad@)

dev/mii

  ~ miidevs                               

  > Add another OUI for Broadcom, and add the PHY for the Broadcom BCM5906.
  > (kettenis@)

  ~ miidevs.h                             

  > regen (kettenis@)

  ~ mii_physubr.c                         

  > - Use a 64-bit int for the baudrate within the ifmedia_baudrate struct and
  > return a 64-bit int for ifmedia_baudrate().
  > - Fix consumers of ifmedia_baudrate() to deal with the change.
  > ok claudio@ dlg@ (brad@)

dev/pci

  ~ auich.c                               ~ auixp.c
  ~ esa.c                                 

  > Some bzero() -> M_ZERO. ok jakemsr@ (krw@)

  ~ pcidevs                               

  > add the Marvell Yukon 2 88E8040 PCI id.
  > From the Marvell Linux sk98lin driver
  > ok dlg@ (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ agp.c                                 ~ agp_i810.c
  ~ if_san_xilinx.c                       ~ ips.c

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

  ~ if_msk.c                              

  > Remove an unused function msk_setfilt() which was copied from sk(4) and is
  > not of use to the Yukon chipsets.
  > ok kettenis@ dlg@ (brad@)

  ~ if_art.c                              

  > - Use a 64-bit int for the baudrate within the ifmedia_baudrate struct and
  > return a 64-bit int for ifmedia_baudrate().
  > - Fix consumers of ifmedia_baudrate() to deal with the change.
  > ok claudio@ dlg@ (brad@)

dev/sdmmc

  ~ sdmmc_io.c                            

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

dev/usb

  ~ ezload.c                              ~ if_atu.c
  ~ if_aue.c                              ~ if_cdce.c
  ~ if_cue.c                              ~ if_upl.c
  ~ uberry.c                              ~ ums.c
  ~ usbf.c                                ~ usscanner.c

  > remove unneeded malloc.h include. (fgsch@)

dev/wscons

  ~ wsmux.c                               

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

dev/wsfont

  ~ wsfont.c                              

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

isofs/udf

  ~ udf_vnops.c                           

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

msdosfs

  ~ msdosfs_vfsops.c                      

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

net

  ~ route.c                               

  > Do not take wild guesses at how if_enc's internal works, include
  > net/if_enc.h instead.
  > ok todd@ and probably claudio who's in the train. (pyr@)

  ~ if_media.c                            ~ if_media.h

  > - Use a 64-bit int for the baudrate within the ifmedia_baudrate struct and
  > return a 64-bit int for ifmedia_baudrate().
  > - Fix consumers of ifmedia_baudrate() to deal with the change.
  > ok claudio@ dlg@ (brad@)

netbt

  ~ hci_link.c                            ~ hci_socket.c
  ~ rfcomm_session.c                      

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

netinet

  ~ in.c                                  

  > remove backpointer from ifa to ifp if an address gets delete; fixes
  > panics in ip_freemoptions(); ok claudio, henning, mpf (markus@)

ntfs

  ~ ntfs_vfsops.c                         

  > Only the most obvious bzero() -> M_ZERO changes. No cast changes, no
  > MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
  > immediately adjacent bzero(). (krw@)

sys

  ~ audioio.h                             

  > implement the output_muted member of audio_info_t as found in original
  > Sun audio.
  > input from and ok ratchov (jakemsr@)

uvm

  ~ uvm_vnode.c                           

  > instead of inspecting the vnode op's to figure out if
  > vnode locking actually works, just check the VLOCKSWORK
  > flag. Also, change this ifdef DEBUG to VFSDEBUG since
  > VLOCKSWORK is only ever set if VFSDEBUG is defined.
  > ok/input miod@, art@ (earlier diff) (thib@)

== usr.bin =========================================================== 06/06 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin

audioctl

  ~ audioctl.c                            

  > implement the output_muted member of audio_info_t as found in original
  > Sun audio.
  > input from and ok ratchov (jakemsr@)

cvs

  ~ Makefile                              ~ buf.c
  ~ diff3.c                               ~ file.c
  ~ rcs.c                                 ~ remote.c
  + atomicio.c                            + atomicio.h

  > Imported atomicio interface.
  > Requested by ray@, OK joris@ (tobias@)

  ~ client.c                              

  > Print error messages sent by server on stderr. While at it, replaced
  > cvs_printf in cvs_client_m with puts (no need of cvs_printf's abilities
  > here).
  > OK joris@ (tobias@)

make

  ~ compat.c                              ~ cond.c
  ~ engine.c                              ~ job.c
  ~ make.c                                ~ parse.c
  ~ suff.c                                ~ util.c

  > kill += 1, -= 1	-> ++, -- (espie@)

  ~ make.c                                

  > reindent, zap useless comments (espie@)

  ~ suff.c                                

  > reindent (espie@)

  ~ arch.c                                ~ arch.h
  ~ buf.h                                 ~ cmd_exec.h
  ~ compat.c                              ~ cond.c
  ~ dir.c                                 ~ dir.h
  ~ direxpand.c                           ~ engine.c
  ~ engine.h                              ~ error.c
  ~ for.c                                 ~ for.h
  ~ generate.c                            ~ job.c
  ~ lowparse.c                            ~ lowparse.h
  ~ main.c                                ~ main.h
  ~ make.c                                ~ parse.c
  ~ parsevar.c                            ~ str.c
  ~ suff.c                                ~ targ.c
  ~ timestamp.h                           ~ util.c
  ~ var.c                                 ~ var.h
  ~ varmodifiers.c                        ~ varmodifiers.h
  ~ varname.h                             

  > kill extra spaces at end of line (espie@)

  ~ parse.c                               

  > partial reindent (espie@)

  ~ arch.h                                ~ dir.h
  ~ garray.h                              ~ parse.c
  ~ parsevar.c                            ~ str.c
  ~ timestamp.h                           ~ var.c
  ~ var.h                                 ~ varmodifiers.c

  > zap more spaces at end of line (espie@)

  ~ var.h                                 

  > forgot one space (espie@)

  ~ parse.c                               ~ var.c
  ~ var.h                                 

  > more zap spaces (espie@)

  ~ arch.c                                

  > fix the arch code mostly.
  > - stop using sprintf for code that can use our buffers.
  > - stop modifying parsed line, rely on Var_Substi instead.
  > to do that, we need to go through an intermediate routine that uses
  > one single buffer to build archive names.
  > also introduce an add_archive_node function that makes things way simpler.
  > also rename a few variables. (espie@)

  ~ arch.h                                ~ garray.h
  ~ suff.c                                

  > reindent garray.h, add new function, to be used later (espie@)

  ~ job.c                                 

  > make DBPRINTF into a real function with variable number of arguments
  > (espie@)

  ~ job.c                                 

  > start hardcoding the shell. we always run with sh anyways. (espie@)

  ~ job.c                                 

  > hardcode some more shell (espie@)

  ~ job.c                                 

  > we have echoctl and errctl (espie@)

  ~ job.c                                 

  > we have valid err/echo flags (espie@)

  ~ job.c                                 

  > byebye shellspecs (espie@)

  ~ var.c                                 

  > more blank space removal (espie@)

  ~ main.c                                ~ parse.c
  ~ parse.h                               

  > parseIncPath -> userIncludePath and assorted renames (espie@)

  ~ parse.c                               ~ parsevar.c
  ~ parsevar.h                            

  > Parse_DoVar -> Parse_As_Var_Assignment (espie@)

  ~ parse.c                               

  > clean-up Parse_File toplevel: add functions to make it clearer what's going
  > on.
  > Start getting rid of globals by passing explicit parameters (espie@)

  ~ job.h                                 ~ make.h
  ~ suff.c                                

  > remove prototypes that now live in engine.h, adjust suff.c accordingly
  > (espie@)

  ~ job.c                                 

  > one single printf (espie@)

  ~ dir.c                                 

  > better variable name (espie@)

  ~ engine.c                              

  > separate rewrite_times function (espie@)

  ~ engine.c                              

  > minor tweaks (espie@)

  ~ dir.c                                 

  > reorg the directory code a bit.
  > Instead of readDir, explicitly create PathEntry, and increment the refcount
  > in there, which is simpler. (espie@)

  ~ engine.c                              

  > fix indent (espie@)

  ~ job.c                                 

  > remove C99ism (espie@)

  ~ direxpand.c                           

  > reindent (espie@)

  ~ extern.h                              ~ job.c
  ~ job.h                                 ~ main.c
  ~ make.c                                

  > make usePipes the default, zap undocumented -P. (espie@)

  ~ Makefile                              ~ compat.c
  ~ engine.c                              ~ extern.h
  ~ gnode.h                               ~ init.c
  ~ job.c                                 ~ job.h
  ~ main.c                                ~ main.h
  ~ parse.c                               ~ suff.c
  ~ suff.h                                ~ targ.c
  ~ targ.h                                

  > rewrite of the basic suffix/target parsing: use hash for suffixes.
  > Store special targets in target hash, and use them for the parsing.
  > Use OP_DUMMY flag to mark targets that don't really exist yet, such
  > as interrupt and default nodes.
  > Also, .PATHxxx is special in suffixes.
  > Small tweaks to compat.c, so that run_commands does more stuff after
  > the fork() (and thus no need to free things).
  > Remove distinction between local and global jobs. (espie@)

  ~ arch.c                                

  > always define the svr4namelist. Doesn't hurt, even if we don't use it.
  > (espie@)

  ~ targ.c                                

  > avoid printing out special targets in debug mode (espie@)

pcc

  ~ cc/cc/Makefile                        ~ cc/ccom/Makefile

  > rm unused -Dos_${TARGOS}
  > ok otto@ (todd@)

  ~ cc/cc/cc.c                            ~ cc/cpp/cpp.c
  ~ mip/common.c                          

  > checked malloc/calloc calls. from ragge's repo, originally from Stefan
  > Kempf. (otto@)

  ~ mip/regs.c                            

  > allow build on 64-bit archs (otto@)

  ~ arch/x86/local2.c                     

  > put $OpenBSD$ back, noted by Dries Schellekens (otto@)

  ~ cc/cc/cc.c                            ~ cc/cpp/cpp.c
  ~ cc/cpp/cpp.h                          ~ cc/cpp/scanner.l

  > merge from ragge's repo:
  > Add -dM for preprocessor, by Todd T. Fries. (otto@)

top

  ~ top.1                                 

  > small update regarding removal of process highlighting;
  > spotted by Mark Lumsden (jmc@)

===============================================================================


More information about the odc mailing list