[odc] Daily src changes for 2007-07-03

ODC auto at squish.net
Wed Jul 4 07:00:01 BST 2007


OpenBSD src changes summary for 2007-07-03
==========================================

lib/libc                                regress/sbin
sbin/ipsecctl                           sbin/scsi
sys/arch/hppa/dev                       sys/dev/pci
sys/kern                                sys/net80211
usr.bin/cvs                             usr.bin/rcs

== lib =============================================================== 01/05 ==

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

libc

  ~ stdlib/getopt_long.3                  

  > from ginsbach at netbsd, -r1.18:
  > Document that getopt_long(3) can and will accept unique abbreviated long
  > option names.  This feature has been present since getopt_long(3) was first
  > released in NetBSD 1.5.  This is also standard GNU getopt_long(3) behavior.
  > ok millert (jmc@)

  ~ gen/ttyname.3                         

  > from Nicholas Marriott:
  > ttyname_r returns an error number, rather than setting errno.
  > ok millert (jmc@)

== regress =========================================================== 02/05 ==

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

sbin

  ~ ipsecctl/ipsec19.in                   ~ ipsecctl/ipsec19.ok

  > both 'proto 50' and 'proto esp' must work in flow specifications (markus@)

== sbin ============================================================== 03/05 ==

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

ipsecctl

  ~ parse.y                               

  > allow proto esp/ah in flow specification (especially useful for bypass
  > flows)
  > ok hshoexer, mpf (markus@)

scsi

  ~ scsi.8                                

  > Correct the '-i' parameters in the examples. The '64' in the -c strings
  > is a hex value, so '-i 64' does not allocate enough space. Use '-i 0x64'
  > instead. Found by henning on boxes using ahd/ahc. (krw@)

== sys =============================================================== 04/05 ==

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

arch/hppa/dev

  ~ ssio.c                                

  > Mark ukbd(4) as console keyboard when appropriate. (kettenis@)

dev/pci

  ~ jmb.c                                 

  > do not blindly configure everything to sit on function 0. jmicron tell me
  > that some vendors will ship their chip with two functions enabled, so now
  > the code will only configure the functionality that is enabled on the
  > current function. two function setups will now work as the oem intended.
  > requested by kettenis@ (dlg@)

  - ahcivar.h                             ~ ahci.c

  > jmb pretends to be pci now, so i dont need to let it see ahci_softc so it
  > can provide its own attach glue to ahci. (dlg@)

  ~ ahci.c                                

  > join ahci attach code back together into one function. (dlg@)

kern

  ~ kern_sensors.c                        

  > fix a memory leak that was introduced in r1.20 on 2007-06-24T05Z; ok dlg
  > (cnst@)

net80211

  ~ ieee80211.h                           

  > Readd IEEE80211_REASON_RSN_REQUIRED and IEEE80211_REASON_RSN_INCONSISTENT
  > userland is using these defines -- unbreaks build. Found by jasper@
  > discussed with reyk at . (claudio@)

  ~ ieee80211.h                           

  > Backout part of 1.20 because IEEE80211_AUTH_ALGORITHM() and friends are
  > used
  > by hostapd and tcpdump. Now tcpdump and hostapd should build again.
  > (claudio@)

  ~ ieee80211_output.c                    

  > fix SSID IE in the case where HIDENWID is used.
  > HIDENWID has been broken from the very beginning. (damien@)

  ~ ieee80211_output.c                    

  > In ieee80211_getmbuf(), if we need to allocate a mbuf cluster because
  > the length is greater than MHLEN, test that the allocation succeeded.
  > Otherwise, free the mbuf header and return NULL.
  > Callers assume that if the function returns a value != NULL then
  > enough space has been allocated. (damien@)

  ~ ieee80211_output.c                    

  > no TIM in probe reponses. (damien@)

  ~ ieee80211_output.c                    

  > don't set the IEEE80211_CAPINFO_ESS bit in the Capability Information
  > field if we're not operating as an AP (see 7.3.1.4). (damien@)

  ~ ieee80211_output.c                    ~ ieee80211_proto.h

  > move construction of IEs into individual functions so that we don't
  > duplicate the same code multiple times.
  > add references to the spec for all these functions.
  > fixes beacon_alloc() for FH PHYs as a side-effect. (damien@)

  ~ ieee80211_input.c                     

  > fix kernel builds with IEEE80211_DEBUG enabled.
  > pointed out by claudio@ (damien@)

  ~ ieee80211_node.h                      ~ ieee80211_output.c
  ~ ieee80211_proto.h                     

  > add a function that builds an RSN IE (ieee80211_add_rsn). (damien@)

  ~ ieee80211.c                           ~ ieee80211_input.c
  ~ ieee80211_node.c                      ~ ieee80211_output.c
  ~ ieee80211_var.h                       

  > maintain the traffic-indication (TIM) virtual bitmap by defining
  > a default ieee80211_set_tim() function that drivers can override
  > by setting ic_set_tim. (damien@)

== usr.bin =========================================================== 05/05 ==

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

cvs

  ~ status.c                              

  > On the server side, in a remote setup, do not display timestamp.
  > OK joris at . (xsa@)

  ~ checkout.c                            ~ client.c
  ~ cvs.h                                 ~ entries.c
  ~ file.c                                ~ history.c
  ~ rcs.c                                 ~ remote.h
  ~ repository.c                          ~ server.c
  ~ update.c                              ~ util.c
  ~ util.h                                

  > Rework the way opencvs works in relation to files in the Attic/:
  > Previously, files in the 'Attic/' were linked into our filelist as being
  > 'Attic/filename,v' this caused unneeded stress on certain functions
  > like cvs_file_classify() who had to do pointer voodoo to split out
  > the 'Attic/' part and do other very weird stuff to normalize the pathname
  > of these files.
  > Instead, we handle these files early in the start when we
  > build the fileslist in cvs_repository_getdir(). When encountering
  > the 'Attic/' directory, we recurse in it if required but instead of
  > using the 'Attic/' directory component as our base directory we stick
  > with the directory name where 'Attic/' resides in, resulting in the
  > correct filename while maintaining the correct RCSpath for the file.
  > This made the following things a lot easier:
  > (and in most cases actually fixed the below points)
  > - status with files in Attic/.
  > - checking out HEAD repositories with files in Attic/.
  > - checking out repositories with -rTAG.
  > - updating with -rTAG.
  > and as an added bonus the following now also works:
  > - correctly creating CVS/Tag in both local and remote mode thus
  > allowing update/status/and more to work correctly with the tagged tree.
  > (thanks to the correct handling of -rTAG cases).
  > - resetting tags with opencvs -A properly works too now.
  > This is a major step forward into the usability
  > of OpenCVS when it comes to maintaining multiple tagged trees, the next
  > logical step would be to fix commiting to branches.
  > enjoy you -stable cowards.
  > tested by myself, xsa, niallo and ckuethe
  > thanks guys! (joris@)

rcs

  ~ ci.c                                  ~ co.c
  ~ diff.c                                ~ diff.h
  ~ diff3.c                               ~ rcs.c
  ~ rcsdiff.c                             

  > Rename rcs_diffreg() to diffreg().
  > OK joris@ (ray@)

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


More information about the odc mailing list