[owc] Weekly src changes ending 2007-08-26

OWC auto at squish.net
Mon Aug 27 07:00:01 BST 2007


OpenBSD src changes summary for 2007-08-19 to 2007-08-26 inclusive
==================================================================

distrib/notes                           etc/security
games/banner                            gnu/usr.bin/binutils
gnu/usr.bin/perl                        lib/libc
lib/libssl                              libexec/identd
libexec/makewhatis                      regress/sys
sbin/ifconfig                           sbin/ipsecctl
share/man                               share/zoneinfo
sys/arch/alpha/alpha                    sys/arch/amd64/amd64
sys/arch/amd64/conf                     sys/arch/arm/xscale
sys/arch/hppa/conf                      sys/arch/hppa/dev
sys/arch/hppa/gsc                       sys/arch/hppa/hppa
sys/arch/i386/i386                      sys/arch/i386/include
sys/arch/sparc64/conf                   sys/arch/sparc64/dev
sys/arch/sparc64/include                sys/arch/sparc64/sparc64
sys/conf                                sys/dev/ic
sys/dev/pci                             sys/dev/usb
sys/net                                 sys/net80211
usr.bin/cvs                             usr.bin/rcs
usr.bin/sort                            usr.bin/ssh
usr.sbin/arp                            usr.sbin/faithd
usr.sbin/httpd                          usr.sbin/ntpd
usr.sbin/pkg_add                        

== distrib =========================================================== 01/12 ==

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

notes

  ~ mirrors                               

  > update to match current ftp.html for 4.2 release, ok deraadt@ (grunk@)

== etc =============================================================== 02/12 ==

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

security

  ~ security                              

  > plural of ID is IDs, not ID's, ok mk jmc (henning@)

== games ============================================================= 03/12 ==

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

banner

  ~ banner.c                              

  > Check fgets for failure and do a proper newline strip.
  > Initial diff from Charles Longeau.
  > OK otto and moritz. (ray@)

== gnu =============================================================== 04/12 ==

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

usr.bin/binutils

  ~ gdb/sparc64obsd-tdep.c                

  > Treat Ldatafault_internal as having a trap frame. (kettenis@)

usr.bin/perl

  ~ lib/AutoLoader.pm                     ~ lib/AutoLoader.t

  > fix a bug leading to infinite recursion; adapted from CPAN
  > ok millert@ (simon@)

== lib =============================================================== 05/12 ==

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

libc

  ~ time/tz-art.htm                       ~ time/tz-link.htm

  > Update to tzcode2007f grom elsie.nci.nih.gov; no actual code changes
  > (millert@)

libssl

  ~ src/crypto/bn/bn_mont.c               

  > http://openssl.org/news/patch-CVE-2007-3108.txt; ok pval, deraadt (markus@)

== libexec =========================================================== 06/12 ==

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

identd

  ~ identd.c                              

  > Fix some error messages and comments, from Brad.
  > OK otto. (ray@)

makewhatis

  ~ OpenBSD/Makewhatis.pm                 

  > err msg looks better with a \n (espie@)

== regress =========================================================== 07/12 ==

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

sys

  ~ dev/audio_rw/audiotest_rw.c           

  > add a function to trigger recording and use it for full-duplex mode
  > (jakemsr@)

  ~ dev/audio_rw/audiotest_rw.c           

  > - remove commented out 'extern errno' declaration
  > - remove pointless AUDIO_FLUSH. (jakemsr@)

== sbin ============================================================== 08/12 ==

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

ifconfig

  ~ ifconfig.c                            

  > missing free, Igor Zinovik <zinovik at cs.karelia.ru> (henning@)

ipsecctl

  ~ ipsecctl.c                            

  > no need to include both sys/types.h and params.h (hshoexer@)

== share ============================================================= 09/12 ==

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

man

  ~ man4/man4.sparc64/bbc.4               ~ man4/man4.sparc64/pmc.4

  > add AUTHORS section
  > no objections from kettenis@ (jasper@)

  ~ man7/ports.7                          

  > kill trailing whitespace; (jmc@)

  ~ man4/siop.4                           

  > Mention 53c720 and 53c770 chips. (kettenis@)

zoneinfo

  ~ datfiles/africa                       ~ datfiles/antarctica
  ~ datfiles/australasia                  ~ datfiles/europe
  ~ datfiles/leapseconds                  ~ datfiles/northamerica
  ~ datfiles/zone.tab                     

  > update to tzdata2007g from elsie.nci.nih.gov (millert@)

== sys =============================================================== 10/12 ==

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

arch/alpha/alpha

  ~ machdep.c                             

  > Use ptoa((psize_t)...) and %lu to print memory sizes. (kettenis@)

arch/amd64/amd64

  ~ machdep.c                             

  > Use ptoa((psize_t)...) and %lu to print memory size. (kettenis@)

arch/amd64/conf

  ~ RAMDISK                               

  > put rlphy onto the standard ramdisk; spotted by jsg (deraadt@)

arch/arm/xscale

  ~ pxa2x0_mmc.c                          

  > Remove ``#define SDMMC_DEBUG''.  Avoids redefinition error when compiling
  > a kernel and setting SDMMC_DEBUG option.
  > ok deraadt@ (mglocker@)

arch/hppa/conf

  ~ GENERIC                               

  > Add commented-out entry for siop at gsc, the onboard Fast-Wide SCSI on the
  > 735 and 755. (kettenis@)

  ~ files.hppa                            

  > Add missing bits for siop at gsc. (kettenis@)

arch/hppa/dev

  ~ sti_sgc.c                             

  > Look for STI firmware at the additional address given by the firmware. 
  > This
  > removes the need for the hardcoded address for the internal Visualize EG on
  > the
  > B180L, and makes it work on the C180.  Tested on a handful of other models
  > too.
  > ok miod@ (kettenis@)

arch/hppa/gsc

  + siop_gsc.c                            

  > First stab at a driver for the onboard Fast-Wide SCSI on the 735 and 755.
  > Only partly tested; works fine if there are no devices on the SCSI bus.
  > (kettenis@)

arch/hppa/hppa

  ~ autoconf.c                            

  > Subsequent address ranges start at index 1, not index 0. (kettenis@)

arch/i386/i386

  ~ machdep.c                             

  > Add bus_space_vaddr to i386 arch.
  > Comments and ok kettenis, art & miod (marco@)

arch/i386/include

  ~ bus.h                                 

  > Add bus_space_vaddr to i386 arch.
  > Comments and ok kettenis, art & miod (marco@)

arch/sparc64/conf

  ~ files.sparc64                         

  > Remove two out-of-date comments. (kettenis@)

  ~ files.sparc64                         

  > Real mutexes for sparc64.  Some comments from henric@ and claudio at .
  > Tested by fkr@, claudio@, nick at . (kettenis@)

arch/sparc64/dev

  ~ bbc.c                                 

  > Do not repeat device name in failure message printed during attachment.
  > (kettenis@)

  ~ schizo.c                              

  > Print a bit more information in the safari interrupt handler.  Get rid of
  > function names starting with an underscore while I'm there. (kettenis@)

arch/sparc64/include

  ~ mutex.h                               

  > Real mutexes for sparc64.  Some comments from henric@ and claudio at .
  > Tested by fkr@, claudio@, nick at . (kettenis@)

arch/sparc64/sparc64

  - mutex.c                               + mutex.S

  > Real mutexes for sparc64.  Some comments from henric@ and claudio at .
  > Tested by fkr@, claudio@, nick at . (kettenis@)

  ~ machdep.c                             

  > Fix printing of more than 2G of memory.
  > ok miod@ (kettenis@)

  ~ genassym.cf                           

  > Real mutexes for sparc64.  Some comments from henric@ and claudio at .
  > Tested by fkr@, claudio@, nick at . (kettenis@)

conf

  ~ newvers.sh                            

  > unlock tree, move towards 4.2-current
  > requested by deraadt@ (kettenis@)

dev/ic

  ~ com.c                                 

  > fix compilation with KDGB
  > from Nicholas Marriott
  > ok deraadt@ (jasper@)

  ~ malo.c                                

  > Fix debug output for some FW commands. (mglocker@)

  ~ malo.c                                

  > Fix typo in debug line. (mglocker@)

  ~ malo.c                                

  > Remove FW command for WEP, it doesn't work with this FW version
  > (not supported).  We always did software WEP.
  > Spotted by Mikore dot Li at sun dot com.
  > OK claudio@ (mglocker@)

  ~ malo.c                                

  > Fix XXX comment.  There is nothing wrong with the following statement.
  > (mglocker@)

dev/pci

  ~ if_wpi.c                              ~ if_wpivar.h

  > when running out of rx buffers, allocate a new mbuf and copy the rx
  > buffer into it using m_copym2() instead of just dropping the received
  > frame.  otherwise, it may happen that all rx buffers are queued by
  > tcp_input() waiting for a frame that will never arrive because we are
  > dropping it.  when it happens, rx stop working and it is hard to
  > recover from this.
  > the problem is not visible when using WEP because WEP decryption is
  > currently done by software and that rx buffers are copied into mbufs
  > by the software decryption code.
  > while i'm here, increase the number of rx buffers allocated by wpi(4)
  > from 80 to 96 to limit the number of copies.
  > problem and solution found by bluhm@ - thanks. (damien@)

  ~ if_nxe.c                              

  > tweak the register macros a bit. add macros for the NIUs port registers
  > which are useful to see whats happening on the wire. (dlg@)

  ~ if_nxe.c                              

  > program the niu with the mac address in the right order. (dlg@)

  ~ if_nxe.c                              

  > the first read or write in the crb space after you switch the windows
  > tends to be junk, except in the pci regs for some reason. read the
  > crb window register back after setting it to force the junk to go
  > away. this fixes some really weird issues i had. (dlg@)

  ~ if_nxe.c                              

  > wrap writes to the doorbell register. (dlg@)

  ~ if_nxe.c                              

  > configure the NIU to rx packets that will fit into the mbufs we will
  > allocate for it, rather than the default of 1600. (dlg@)

  ~ if_nxe.c                              

  > implement the completion half of the tx path. the driver keeps track of
  > mbufs we've put on the hardware with the nxe_pkt struct. this struct
  > contains a unique id for each pkt which is used the hardwares tx descriptor
  > so we could identify which pkts its finished transmitting. turns out the
  > hardware doesnt return ids though, it tells us which slots in the tx ring
  > its up to. so now i stash the slot a pkt went into in the pkt_id field.
  > (dlg@)

  ~ if_nxe.c                              

  > the ring sizes are reprresented by 32 bit fields in the context descirptor,
  > so use htole32 to get a value for them, not htole64. (dlg@)

  ~ if_nxe.c                              

  > the chip has three rx rings, one for normal packets, one for jumbos, and
  > one for lro. the manual says that they all have to have descriptors in them
  > for correct operation. i dont care about jumbos and lro at this point so im
  > going to point the descriptors in those rings at a dummy 64k buffer. this
  > diff adds the allocation of that buffer. (dlg@)

  ~ if_nxe.c                              

  > this is what the interrupt handler will look like. there'll be some added
  > lines in here later that call the tx and rx completions. (dlg@)

  ~ if_nxe.c                              

  > enable interrupts when the interface comes up.
  > i seem to be crashing the rx unit though which is responsible for
  > generating the interrupts. i havent got any yet. (dlg@)

dev/usb

  ~ usbdevs                               

  > blackberry pearl (deraadt@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > sync (deraadt@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > sync (deraadt@)

  ~ usbdevs                               

  > more berry device type (deraadt@)

  ~ uberry.c                              

  > "correctly" activate high-power charging on (hopefully) all devices,
  > based on work in barry/bcharge; tested on a few units.  still not tested
  > on pearl-style units... if someone has one, contact me please (deraadt@)

  ~ uberry.c                              

  > On the older devices, apparently early configuration (and doing it again
  > later) removes the need for forced device disconnection.  And now they do
  > not bounce back a few times, but go to 500mA on the 2nd connection.
  > (deraadt@)

net

  ~ if_spppsubr.c                         

  > Align the packet after the ppp header.
  > The earlier change was broken in sparc due to alignment problems.
  > reported and tested by nady@, ok deraadt@ claudio@ (canacar@)

  ~ pf.c                                  

  > don't access th_flags when it isn't available (only 8 bytes of the
  > header are required in the ICMP error). ok deraadt@, henning@ (dhartmei@)

  ~ pf.c                                  

  > allow RSTs with th_seq == seqlo +- 1, reduces the amount of 'loose state'
  > messages, add 'dir=' part to 'loose state' message, ok henning@, markus@
  > (dhartmei@)

net80211

  ~ ieee80211_crypto.c                    ~ ieee80211_crypto.h
  ~ ieee80211_input.c                     ~ ieee80211_output.c
  ~ ieee80211_var.h                       

  > - add k_rxmic and k_txmic fields to struct ieee80211_key to store the
  > Tx/Rx MIC for TKIP.
  > - add two functions to map a PTK and a GTK to an IEEE 802.11 key and
  > use them in ieee80211_input.c instead of duplicating the same code.
  > properly set Tx/Rx MIC in the IEEE 802.11 key in the case of TKIP.
  > - add ic_psk to struct ieee80211com to store the pre-shared key.
  > - fix setting of the SECURE bit in outgoing EAPOL-Key frames.
  > - when receiving msg 2 of the 4-way handshake, deauthenticate the
  > station if the RSN IE does not match that of the (Re)Association
  > request.
  > - before parsing an RSN or WPA IE, check that there's enough room for
  > the version field (2 bytes) which is mandatory.
  > - various tweaks while i'm here. (damien@)

  ~ ieee80211_crypto.c                    ~ ieee80211_crypto.h

  > add a ieee80211_get_txkey() function to determine the key to use for
  > transmitting a frame to a given node.
  > change ieee80211_encrypt() so that it now takes the key as parameter.
  > this change is required because drivers doing hardware crypto need to
  > know what key is being used. (damien@)

  ~ ieee80211_crypto.c                    

  > fix ieee80211_map_ptk() for TKIP. (damien@)

  ~ ieee80211_crypto.h                    

  > add pseudo-header definition for TKIP MIC computation. (damien@)

  ~ ieee80211_input.c                     

  > the authenticator can't differentiate 4-way handshake message 2 from
  > message 4 based on the EAPOL-Key frame secure bit.
  > the only thing that differentiate these messages is the presence of
  > the RSN/WPA1 IE in the EAPOL-Key frame data field.
  > only message 2/4 contains this IE. (damien@)

  ~ ieee80211_input.c                     ~ ieee80211_proto.h

  > add ieee80211_get_hdrlen() to compute the size of the 802.11 header
  > of a management or data frame  (check if the i_qos, i_ht or i_addr4
  > are present). (damien@)

  ~ ieee80211_input.c                     

  > add a new ieee80211_save_ie() function to make a copy of an
  > information element in a management frame.
  > the authenticator has to make a copy of the RSN/WPA1 IE from
  > (Re)Association requests so that it can be compared with the
  > one included in message 2/4 of the 4-way handshake. (damien@)

== usr.bin =========================================================== 11/12 ==

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

cvs

  ~ update.c                              

  > missing 'u' option for update caused gnu cvs client to not function
  > with our server mode. Unfortunatly we dont really support rcs diffs
  > for update just yet. (joris@)

  ~ server.c                              

  > support ArgumentX - unbreaks more gnu cvs client things. (joris@)

rcs

  ~ ci.1                                  

  > add a description for -ztz
  > ok xsa@ (sobrado@)

sort

  ~ fields.c                              ~ fsort.c
  ~ msort.c                               ~ sort.1
  ~ sort.c                                ~ sort.h

  > Add a -s option to make the radix sort be a stable sort.  Based on
  > a diff from Eric Gouyer.  Closes PR 5553.  OK deraadt@ (millert@)

  ~ sort.1                                

  > Fix up the -s description, with help from tom@ (millert@)

  ~ sort.c                                

  > sort usage(); (jmc@)

ssh

  ~ auth-passwd.c                         ~ auth.c
  ~ session.c                             ~ sshd/Makefile

  > unifdef HAVE_LOGIN_CAP; ok deraadt@ millert@ (djm@)

  ~ auth-passwd.c                         ~ auth.c
  ~ session.c                             

  > missed include bits from last commit (djm@)

  ~ auth.h                                

  > login_cap.h doesn't belong here (djm@)

  ~ auth2-none.c                          ~ sshd_config
  ~ sshd_config.5                         

  > Support "Banner=none" to disable displaying of the pre-login banner;
  > ok dtucker@ deraadt@ (djm@)

  ~ sshconnect.c                          

  > Execute ProxyCommands with $SHELL rather than /bin/sh unconditionally
  > (djm@)

== usr.sbin ========================================================== 12/12 ==

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

arp

  ~ arp.c                                 

  > Yet another application that does not check if the RTM_VERSION is the
  > expected
  > one. Luckily it seems that only show is affected. OK henning@ (claudio@)

faithd

  ~ faithd.h                              

  > No need to keep RLOGIN_PORT and RSH_PORT defines hanging around since their
  > uses were eliminated five years ago. Spotted by Diego Casati.
  > ok deraadt@ hshoexer@ (krw@)

httpd

  ~ htdocs/manual/server-wide.html        ~ htdocs/manual/mod/core.html
  ~ src/include/http_core.h               ~ src/main/http_core.c

  > Add a new configuration directive 'RLimitNOFILE' to set the number of
  > of open filedescriptors (like RLimitNPROC for the number of processes).
  > ok ckuethe, "no objection" henning (mbalmer@)

ntpd

  ~ log.c                                 ~ ntpd.8
  ~ ntpd.c                                

  > Allow ntpd to log sensor offsets and adjtime calls to syslog at LOG_DEBUG
  > priority.
  > ok gwk, mbalmer, weingart
  > "explicit non-ok from" henning (ckuethe@)

pkg_add

  ~ OpenBSD/PackageName.pm                

  > fix v* order in keep_most_recent. (espie@)

  ~ OpenBSD/PackageRepository.pm          

  > write out the object url in the error message if that's an object error and
  > not a basic listing repository issue. (espie@)

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


More information about the owc mailing list