[odc] Daily src changes for 2005-04-21

ODC auto at squish.net
Fri Apr 22 08:00:20 BST 2005


OpenBSD src changes summary for 2005-04-21
==========================================

bin/pax                                 distrib/miniroot
etc/etc.amd64/MAKEDEV                   etc/etc.amd64/MAKEDEV.md
etc/etc.i386/MAKEDEV                    etc/etc.i386/MAKEDEV.md
games/hunt                              lib/libc
lib/libkrb5                             libexec/ftpd
libexec/telnetd                         regress/sys
sbin/isakmpd                            share/man
sys/arch/alpha/alpha                    sys/arch/amd64/amd64
sys/arch/arm/xscale                     sys/arch/cats/cats
sys/arch/hppa/hppa                      sys/arch/hppa64/hppa64
sys/arch/i386/conf                      sys/arch/i386/i386
sys/arch/i386/isa                       sys/arch/macppc/macppc
sys/arch/mvmeppc/mvmeppc                sys/arch/powerpc/powerpc
sys/arch/solbourne/solbourne            sys/arch/sparc/sparc
sys/arch/sparc64/sparc64                sys/arch/zaurus/dev
sys/arch/zaurus/zaurus                  sys/dev/ic
sys/dev/pci                             sys/dev/usb
sys/dev/wscons                          sys/kern
sys/miscfs/procfs                       sys/net
sys/net80211                            sys/netinet
sys/netinet6                            sys/nfs
sys/uvm                                 usr.bin/calendar
usr.bin/cvs                             usr.bin/ftp
usr.bin/mg                              usr.bin/ssh
usr.bin/vi                              usr.bin/vmstat
usr.sbin/sensorsd                       usr.sbin/syslogd

== bin =============================================================== 01/12 ==

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

pax

  ~ ftree.c                               ~ pat_rep.c
  ~ tables.c                              ~ tar.c

  > fix strlcpy abuse in pax - this commit turns potential overflows into
  > potential non-spec compliance - the use of these fields as strings needs
  > to be revisited more thouroughly.
  > ok millert@ otto@ (beck@)

== distrib =========================================================== 02/12 ==

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

miniroot

  ~ install.sh                            

  > Create disk device before attempting to disklabel it. Don't keep a
  > disk which couldn't be created in the selection list.
  > noticed by deraadt@ (krw@)

== etc =============================================================== 03/12 ==

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

etc.amd64/MAKEDEV

  ~ etc.amd64/MAKEDEV                     

  > Regen/sync. (krw@)

etc.amd64/MAKEDEV.md

  ~ etc.amd64/MAKEDEV.md                  

  > Add a couple more wskbd's to i386 and amd64 'ramdisk)' cases so kbd(8)
  > has something to work with when more than one keyboard is present
  > during install/upgrade. Remove some superfluous wd's and sd's while
  > there.
  > Problem noted by Jan Johansson when trying to get a 'sv' keymap to
  > work with his usb keyboard. Diagnosis & solution suggested by miod at .  > ok deraadt@ (krw@)

etc.i386/MAKEDEV

  ~ etc.i386/MAKEDEV                      

  > Regen/sync. (krw@)

etc.i386/MAKEDEV.md

  ~ etc.i386/MAKEDEV.md                   

  > Add a couple more wskbd's to i386 and amd64 'ramdisk)' cases so kbd(8)
  > has something to work with when more than one keyboard is present
  > during install/upgrade. Remove some superfluous wd's and sd's while
  > there.
  > Problem noted by Jan Johansson when trying to get a 'sv' keymap to
  > work with his usb keyboard. Diagnosis & solution suggested by miod at .  > ok deraadt@ (krw@)

== games ============================================================= 04/12 ==

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

hunt

  ~ huntd/terminal.c                      

  > vsnprintf careful handling of -1; ok beck (deraadt@)

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

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

libc

  ~ gmon/gmon.c                           

  > be more careful about snprintf return value; ok beck cloder (deraadt@)

libkrb5

  ~ Makefile.krb5.inc                     

  > install some forgotten man pages
  > ok jmc@, beck@ (biorn@)

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

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

ftpd

  ~ ftpd.c                                

  > make code prettier so we can tell it is safe when we read it; ok beck
  > cloder (deraadt@)

telnetd

  ~ global.c                              

  > bail out early, skip snprintf, if buflen is 0; ok cloder (deraadt@)

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

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

sys

  ~ kern/Makefile                         + kern/extent/Makefile
  + kern/extent/extest.awk                + kern/extent/extest.exp
  + kern/extent/tests                     

  > Add a regression test for the extent subroutines; from NetBSD. (miod@)

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

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

isakmpd

  ~ math_2n.c                             ~ math_2n.h

  > Rather than try to fix b2n_print and b2n_snprint, which are not used, send
  > them to the attic.	OK beck (cloder@)

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

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

man

  ~ man8/man8.i386/MAKEDEV.8              ~ man8/man8.amd64/MAKEDEV.8

  > Regen/sync. (krw@)

  ~ man4/man4.zaurus/zkbd.4               

  > list pgup, pgdown, home and end
  > ok uwe@ (dlg@)

  ~ man4/man4.zaurus/zts.4                

  > mention how to middle or right-click; ok dlg@ (djm@)

  ~ man8/vpn.8                            

  > add a section on testing the vpn is working;
  > as usual, massive help from hshoexer@ (jmc@)

  ~ man8/vpn.8                            

  > this is not the correct place to ref options(4);
  > ipsec(4) covers that anyway; (jmc@)

  ~ man4/man4.zaurus/zkbd.4               

  > fix the synopsis so it shows a functional config. ok uwe@
  > the hint on how to switch consoles is wrong and incomplete so refer the
  > reader to wskbd(4) which properly explains how to do it and more. ok jmc@
  > (dlg@)

  ~ man8/vpn.8                            

  > kill SPD section: it is neither relevant nor helpful here;
  > ok hshoexer@ (jmc@)

  ~ man4/man4.zaurus/zts.4                

  > attempt to describe "button" behaviour better
  > ok jmc@ (dlg@)

  ~ man8/vpn.8                            

  > - remove section on pf "quick" rules: this is not the place to describe
  > additional rulesets
  > - reshuffle the filtering section somewhat to read better
  > - consistency tweak
  > ok hshoexer@ (jmc@)

  ~ man4/bktr.4                           

  > document bktr ioctls;
  > from jacob meuser (pr #4182);
  > checked by mickey, tweaked by me; (jmc@)

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

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

arch/alpha/alpha

  ~ autoconf.c                            

  > correct idiom for snprintf failure handling; ok beck (deraadt@)

  ~ trap.c                                

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/amd64/amd64

  ~ fpu.c                                 

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/arm/xscale

  ~ pxa2x0.c                              

  > clean dmesg output (deraadt@)

arch/cats/cats

  ~ autoconf.c                            

  > correct idiom for snprintf failure handling; ok beck (deraadt@)

arch/hppa/hppa

  ~ genassym.cf                           ~ locore.S

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/hppa64/hppa64

  ~ genassym.cf                           ~ locore.S

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/i386/conf

  ~ RAMDISKC                              

  > -bce (deraadt@)

arch/i386/i386

  ~ procfs_machdep.c                      

  > no need to check for 0, it copes, spotted by beck (deraadt@)

arch/i386/isa

  ~ npx.c                                 

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/macppc/macppc

  ~ autoconf.c                            

  > correct idiom for snprintf failure handling; ok beck (deraadt@)

arch/mvmeppc/mvmeppc

  ~ autoconf.c                            

  > correct idiom for snprintf failure handling; ok beck (deraadt@)

arch/powerpc/powerpc

  ~ trap.c                                

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/solbourne/solbourne

  ~ autoconf.c                            

  > correct idiom for snprintf failure handling; ok beck (deraadt@)

  ~ trap.c                                

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/sparc/sparc

  ~ autoconf.c                            

  > correct idiom for snprintf failure handling; ok beck (deraadt@)

  ~ trap.c                                

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/sparc64/sparc64

  ~ autoconf.c                            

  > correct idiom for snprintf failure handling; ok beck (deraadt@)

  ~ ofw_machdep.c                         

  > correct idion for snprintf failure handling; ok cloder (deraadt@)

  ~ trap.c                                

  > count fpu lazy context switches; deraadt@ ok (mickey@)

arch/zaurus/dev

  ~ zaurus_kbdmap.h                       

  > provide pgup, pgdown, home and end by using fn with the arrow keys.
  > ok drahn@ deraadt@ uwe@ (dlg@)

  ~ zaurus_audio.c                        

  > Move i2c open/close from callers into zaudio_standby.  Fixes an error path.
  > (pascoe@)

arch/zaurus/zaurus

  ~ autoconf.c                            

  > correct idiom for snprintf failure handling; ok beck (deraadt@)

dev/ic

  ~ mpt_debug.c                           

  > snprintf error handling, ok beck cloder (deraadt@)

dev/pci

  ~ if_ste.c                              ~ if_stereg.h

  > o if the mac address cannot be read, just fail and disestablish the
  > irq (for shared irq's) on failure. (should other drivers do the same?)
  > o if it's a rev 0x12 card, only use the first phy as it reports a
  > non-existent one as well (From FreeBSD).
  > o remove splimp/splx from ste_attach().
  > o some cleanup.
  > thanks to matt at mattroberts dot org and paolo at actcom dot net dot il
  > for testing; commit deraadt at .gsch@)

  ~ ohci_pci.c                            

  > If the SMM driver had enabled ownership change interrupts, re-enable them
  > temporarily before we attempt to take control.
  > ok dlg@ (pascoe@)

dev/usb

  ~ ohci.c                                

  > Fix inverted logic when testing for successful SMM handover. (pascoe@)

  ~ usb_subr.c                            

  > Relocate debugging printf so it describes the right thing. (pascoe@)

  ~ ohci.c                                

  > Preserve any configuration data that may have been set by SMM/BIOS over
  > chip reset.
  > ok dlg@ (pascoe@)

  ~ ohci.c                                

  > If the SMM driver had enabled ownership change interrupts, re-enable them
  > temporarily before we attempt to take control.
  > ok dlg@ (pascoe@)

dev/wscons

  ~ wsemul_vt100_subr.c                   

  > correct idion for snprintf failure handling; ok cloder (deraadt@)

kern

  ~ kern_tc.c                             

  > unused variable n; ok cloder (deraadt@)

  ~ subr_extent.c                         

  > Correctly handle allocations of size 1 at an extent boundary; from NetBSD.
  > (miod@)

  ~ subr_extent.c                         

  > Make the non-_KERNEL compilation usable again, in order to add a regress
  > test. (miod@)

miscfs/procfs

  ~ procfs_linux.c                        ~ procfs_vnops.c

  > careful strlcpy and snprintf return handling; ok pedro beck (deraadt@)

net

  ~ pf_if.c                               

  > Catch failed hook_establish call immediately, rather than misbehaving and
  > panicing at detach time.
  > ok dhartmei@ henning@ (pascoe@)

net80211

  ~ ieee80211.c                           ~ ieee80211_node.c
  ~ ieee80211_var.h                       

  > scan the next mode if nothing has been found. this is necessary if the
  > device supports different incompatible modes in the same channel
  > range, like like 11b and "pure" 11G mode.
  > ok dlg@ pvalchev@ (reyk@)

netinet

  ~ ip_ipsp.c                             

  > handle return value of snprintf correctly
  > ok deraadt@ (hshoexer@)

netinet6

  ~ in6_ifattach.c                        

  > remove (now obsolete) handling of IFT_PROPVIRTUAL/bridge*.	tested by
  > camield@ (itojun@)

nfs

  ~ nfs_vnops.c                           

  > careful strlcpy and snprintf return handling; ok pedro beck (deraadt@)

uvm

  ~ uvm_extern.h                          

  > count fpu lazy context switches; deraadt@ ok (mickey@)

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

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

calendar

  ~ calendars/calendar.openbsd            

  > solbourne again (mickey@)

cvs

  ~ cvs.c                                 

  > * fix the tag command's synopsis
  > * prepend __progname and the command string when displaying command
  > usage (jfb@)

  ~ remove.c                              

  > add checks for files still physically present that should be removed;
  > input/ok joris (xsa@)

  ~ remove.c                              

  > better include the cvs_sendfile() req in the conditional statement so
  > it behaves like expected.. pointed out by joris at .sa@)

  ~ remove.c                              ~ cvs.c

  > let the `cvs remove' command work with no file(s) specified as args;
  > joris ok (xsa@)

ftp

  ~ fetch.c                               

  > avoid infinite recursion on redirects; From NetBSD but limit set to 10.
  > deraadt@ ok. (fgsch@)

mg

  ~ file.c                                ~ main.c

  > correct strlcpy abuse, and always check for NULL return from find_buffer
  > ok cloder@, feedback from many (beck@)

ssh

  ~ ssh-add.1                             ~ ssh-agent.1
  ~ ssh-keygen.1                          ~ ssh.1
  ~ ssh_config.5                          ~ sshd.8
  ~ sshd_config.5                         

  > OpenSSH doesn't ever look at the $HOME environment variable, so don't say
  > that we do (bz #623); ok deraadt@ (djm@)

  ~ ssh.c                                 

  > don't allocate a pty when -n flag (/dev/null stdin) is set, patch from
  > ignasi.roca AT fujitsu-siemens.com (bz #829); ok dtucker@ (djm@)

vi

  ~ cl/cl_screen.c                        

  > Avoid the "tcsetattr: Interrupted system call" fatal error when
  > resizing using a window manager that continously sends resize
  > events.  ok camield@ miod@ (otto@)

  ~ ex/ex_cd.c                            

  > spelling typo in comment;
  > from ray; (jmc@)

vmstat

  ~ vmstat.c                              

  > print out fpu ctx switches count (mickey@)

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

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

sensorsd

  ~ sensorsd.c                            

  > spacing (deraadt@)

syslogd

  ~ syslogd.c                             

  > avoid looping on failed tty or /dev/console writes and just drop the
  > message
  > noticed by newell AT cei.net; ok avsm@ deraadt@ (djm@)

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



More information about the odc mailing list