[odc] Daily src changes for 2006-03-25

ODC auto at squish.net
Sun Mar 26 08:00:20 BST 2006


OpenBSD src changes summary for 2006-03-25
==========================================

bin/pax                                 bin/systrace
distrib/sets                            gnu/usr.sbin/sendmail
lib/libc                                regress/lib
share/man                               sys/arch/mac68k/dev
sys/arch/macppc/dev                     sys/arch/mvme68k/dev
sys/arch/mvme88k/dev                    sys/arch/sgi/dev
sys/arch/sparc/dev                      sys/arch/vax/bi
sys/arch/vax/if                         sys/arch/vax/qbus
sys/dev/ic                              sys/dev/isa
sys/dev/mii                             sys/dev/pci
sys/dev/pcmcia                          sys/dev/sbus
sys/dev/usb                             sys/net
sys/net80211                            sys/netinet
usr.bin/cvs                             usr.bin/dc
usr.bin/gprof                           usr.bin/ssh
usr.sbin/ftp-proxy                      usr.sbin/ospfd
usr.sbin/pstat                          

== bin =============================================================== 01/09 ==

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

pax

  ~ pax.1                                 

  > Use correct directory in example.
  > From Alf Schlichting.
  > OK jmc@ and otto@ (ray@)

systrace

  ~ register.c                            

  > only resolve symlinks in the dirname of rename()'s arguments,
  > but not in the filename
  > ok provos, no objections from tedu (who doesn't use systrace) (sturm@)

== distrib =========================================================== 02/09 ==

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

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

== gnu =============================================================== 03/09 ==

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

usr.sbin/sendmail

  ~ libsm/fflush.c                        ~ libsm/local.h
  ~ libsm/refill.c                        ~ sendmail/collect.c
  ~ sendmail/conf.c                       ~ sendmail/deliver.c
  ~ sendmail/headers.c                    ~ sendmail/mime.c
  ~ sendmail/parseaddr.c                  ~ sendmail/savemail.c
  ~ sendmail/sendmail.h                   ~ sendmail/sfsasl.c
  ~ sendmail/sfsasl.h                     ~ sendmail/srvrsmtp.c
  ~ sendmail/usersmtp.c                   ~ sendmail/util.c

  TAGGED OPENBSD_3_9
  > Apply the patch for the async signals race condition in Sendmail. (brad@)

== lib =============================================================== 04/09 ==

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

libc

  ~ gen/sysctl.3                          

  > Fix description of KERN_VNODE, okay deraadt@ (pedro@)

== regress =========================================================== 05/09 ==

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

lib

  + libc/telldir/Makefile                 + libc/telldir/telldir.c

  > telldir/seekdir regress tesst. Fails on -current, since seekdir(x),
  > telldir() does not return x. This will we fixed. (otto@)

  ~ libc/Makefile                         

  > hook telldir (otto@)

== share ============================================================= 06/09 ==

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

man

  ~ man7/securelevel.7                    

  > ddb.{console,panic} cannot be raised at securelevel 1 either;
  > from nicholas marriott;
  > ok miod ray (jmc@)

  ~ man4/bpf.4                            

  > document BIOCGDIRFILT/BIOCSDIRFILT ioctls
  > sync/sort the list of allowed ioctls under BIOCLOCK too (djm@)

== sys =============================================================== 07/09 ==

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

arch/mac68k/dev

  ~ if_ae.c                               ~ if_mc.c
  ~ if_sn.c                               

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

arch/macppc/dev

  ~ if_bm.c                               

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

arch/mvme68k/dev

  ~ if_ie.c                               

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

arch/mvme88k/dev

  ~ if_ie.c                               

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

arch/sgi/dev

  ~ if_mec.c                              

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

arch/sparc/dev

  ~ be.c                                  ~ hme.c
  ~ if_ie.c                               ~ qe.c

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

arch/vax/bi

  ~ if_ni.c                               

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

arch/vax/if

  ~ if_qe.c                               ~ sgec.c

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

arch/vax/qbus

  ~ if_de.c                               

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

dev/ic

  ~ am7990.c                              ~ an.c
  ~ ath.c                                 ~ atw.c
  ~ awi.c                                 ~ dc.c
  ~ dp8390.c                              ~ elink3.c
  ~ fxp.c                                 ~ gem.c
  ~ hme.c                                 ~ i82596.c
  ~ if_wi.c                               ~ lemac.c
  ~ midway.c                              ~ mtd8xx.c
  ~ pdq_ifsubr.c                          ~ pdqvar.h
  ~ re.c                                  ~ rln.c
  ~ rt2560.c                              ~ rt2661.c
  ~ rtl81x9.c                             ~ rtw.c
  ~ smc83c170.c                           ~ smc90cx6.c
  ~ smc91cxx.c                            ~ tropic.c
  ~ xl.c                                  

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

dev/isa

  ~ if_ed.c                               ~ if_ef_isapnp.c
  ~ if_eg.c                               ~ if_el.c
  ~ if_ex.c                               ~ if_fe.c
  ~ if_hp.c                               ~ if_ie.c

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

dev/mii

  ~ miidevs                               

  > add vendor ID for SMSC and SMSC LAN83C185 10/100 PHY id.
  > From martin@ (brad@)

  ~ miidevs.h                             

  > regen (brad@)

dev/pci

  ~ if_sis.c                              ~ if_sisreg.h

  > set/clear the all frames bit in the receive filter when
  > enabling/disabling promisc mode instead of calling sis_init(). (brad@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (brad@)

  ~ pcidevs                               

  > add a second Packet Engines Yellowfin PCI id. (brad@)

  ~ if_sis.c                              

  > ANSI and KNF. (brad@)

  ~ if_sis.c                              

  > tidy up a bit.
  > From Andrey Matveev (brad@)

  ~ if_bce.c                              ~ if_bge.c
  ~ if_de.c                               ~ if_em.c
  ~ if_ipw.c                              ~ if_iwi.c
  ~ if_ixgb.c                             ~ if_lge.c
  ~ if_lmc.c                              ~ if_lmcvar.h
  ~ if_nfe.c                              ~ if_nge.c
  ~ if_pcn.c                              ~ if_san_obsd.c
  ~ if_sf.c                               ~ if_sis.c
  ~ if_sk.c                               ~ if_ste.c
  ~ if_stge.c                             ~ if_ti.c
  ~ if_tl.c                               ~ if_txp.c
  ~ if_vge.c                              ~ if_vic.c
  ~ if_vr.c                               ~ if_wb.c
  ~ musycc.c                              

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

dev/pcmcia

  ~ if_cnw.c                              ~ if_ray.c
  ~ if_xe.c                               

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

dev/sbus

  ~ be.c                                  ~ qe.c

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

dev/usb

  ~ if_atu.c                              ~ if_aue.c
  ~ if_axe.c                              ~ if_cdce.c
  ~ if_cue.c                              ~ if_kue.c
  ~ if_ral.c                              ~ if_udav.c
  ~ if_upl.c                              ~ if_url.c
  ~ ueagle.c                              

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

net

  ~ pf_norm.c                             

  > fixup IP checksum when modifying IP header fields, based on a patch in
  > fbsd PR 93849 from Max Laier, ok claudio@ (dhartmei@)

  ~ bpf.c                                 ~ bpf.h
  ~ bpfdesc.h                             ~ if_bridge.c
  ~ if_faith.c                            ~ if_gif.c
  ~ if_gre.c                              ~ if_loop.c
  ~ if_pflog.c                            ~ if_pfsync.c
  ~ if_ppp.c                              ~ if_pppoe.c
  ~ if_sl.c                               ~ if_strip.c
  ~ if_trunk.c                            ~ if_tun.c
  ~ if_vlan.c                             

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

net80211

  ~ ieee80211_input.c                     

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

netinet

  ~ ip_ah.c                               ~ ip_carp.c
  ~ ip_esp.c                              ~ ip_ether.c
  ~ ip_gre.c                              ~ ip_ipcomp.c
  ~ ip_ipip.c                             ~ ipsec_input.c

  > allow bpf(4) to ignore packets based on their direction (inbound or
  > outbound), using a new BIOCSDIRFILT ioctl;
  > guidance, feedback and ok canacar@ (djm@)

== usr.bin =========================================================== 08/09 ==

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

cvs

  ~ buf.c                                 ~ buf.h
  ~ diff.c                                ~ diff3.c
  ~ rcs.c                                 

  > Correct integer types, remove unused arguments, non-portable bitshifts
  > changed to division, KNF, replace unreachable code with goto fail,
  > et cetera.	Found by lint.
  > The free() -> xfree() as well.
  > OK niallo@ (ray@)

dc

  ~ dc.c                                  

  > Use fstat(3) instead of stat(3) as a matter of principle. We don't
  > like race conditions, even if the effects of these are void and empty.
  > (otto@)

gprof

  ~ arcs.c                                ~ arm.c
  ~ dfn.c                                 ~ gprof.c
  ~ gprof.h                               ~ hertz.c
  ~ i386.c                                ~ lookup.c
  ~ m68k.c                                ~ m88k.c
  ~ mips64.c                              ~ ns32k.c
  ~ pmax.c                                ~ printgprof.c
  ~ printlist.c                           ~ sparc.c
  ~ tahoe.c                               ~ tahoe.h
  ~ vax.c                                 ~ vax.h

  > add missing prototypes all over the place, u_long -> unsigned long
  > (userland
  > code).
  > okay kettenis@, comments by ray@ (espie@)

ssh

  ~ auth-bsdauth.c                        ~ auth-skey.c
  ~ auth.c                                ~ auth2-chall.c
  ~ channels.c                            ~ clientloop.c
  ~ deattack.c                            ~ gss-genr.c
  ~ kex.c                                 ~ key.c
  ~ misc.c                                ~ moduli.c
  ~ monitor.c                             ~ monitor_wrap.c
  ~ packet.c                              ~ scard.c
  ~ sftp-server.c                         ~ ssh-agent.c
  ~ ssh-keyscan.c                         ~ ssh.c
  ~ sshconnect.c                          ~ sshconnect2.c
  ~ sshd.c                                ~ uuencode.c
  ~ xmalloc.c                             ~ xmalloc.h

  > introduce xcalloc() and xasprintf() failure-checked allocations functions
  > and use them throughout openssh
  > xcalloc is particularly important because malloc(nmemb * size) is a
  > dangerous idiom (subject to integer overflow) and it is time for it to
  > die
  > feedback and ok deraadt@ (djm@)

  ~ buffer.c                              ~ channels.c
  ~ deattack.c                            ~ misc.c
  ~ scp.c                                 ~ session.c
  ~ sftp-client.c                         ~ sftp-server.c
  ~ ssh-agent.c                           ~ ssh-rsa.c
  ~ xmalloc.c                             ~ xmalloc.h

  > change OpenSSH's xrealloc() function from being xrealloc(p, new_size) to
  > xrealloc(p, new_nmemb, new_itemsize).
  > realloc is particularly prone to integer overflows because it is almost
  > always allocating "n * size" bytes, so this is a far safer API;
  > ok deraadt@ (djm@)

  ~ sftp.c                                

  > "abormally" is a perfectly cromulent word, but "abnormally" is better
  > (djm@)

  ~ atomicio.c                            ~ auth-bsdauth.c
  ~ auth-chall.c                          ~ auth-options.c
  ~ auth-passwd.c                         ~ auth-rh-rsa.c
  ~ auth-rhosts.c                         ~ auth-rsa.c
  ~ auth-skey.c                           ~ auth.c
  ~ auth1.c                               ~ auth2-chall.c
  ~ auth2-hostbased.c                     ~ auth2-kbdint.c
  ~ auth2-none.c                          ~ auth2-passwd.c
  ~ auth2-pubkey.c                        ~ auth2.c
  ~ authfd.c                              ~ authfile.c
  ~ bufaux.c                              ~ buffer.c
  ~ canohost.c                            ~ channels.c
  ~ cipher-3des1.c                        ~ cipher-bf1.c
  ~ cipher-ctr.c                          ~ cipher.c
  ~ cleanup.c                             ~ clientloop.c
  ~ compat.c                              ~ compress.c
  ~ deattack.c                            ~ dh.c
  ~ dispatch.c                            ~ fatal.c
  ~ groupaccess.c                         ~ hostfile.c
  ~ kex.c                                 ~ kexdh.c
  ~ kexdhc.c                              ~ kexdhs.c
  ~ kexgex.c                              ~ kexgexc.c
  ~ kexgexs.c                             ~ key.c
  ~ log.c                                 ~ mac.c
  ~ match.c                               ~ md-sha256.c
  ~ misc.c                                ~ monitor.c
  ~ monitor_fdpass.c                      ~ monitor_mm.c
  ~ monitor_wrap.c                        ~ msg.c
  ~ nchan.c                               ~ packet.c
  ~ progressmeter.c                       ~ readconf.c
  ~ readpass.c                            ~ rsa.c
  ~ scard.c                               ~ scp.c
  ~ servconf.c                            ~ serverloop.c
  ~ session.c                             ~ sftp-client.c
  ~ sftp-common.c                         ~ sftp-glob.c
  ~ sftp-server.c                         ~ sftp.c
  ~ ssh-add.c                             ~ ssh-agent.c
  ~ ssh-dss.c                             ~ ssh-keygen.c
  ~ ssh-keyscan.c                         ~ ssh-keysign.c
  ~ ssh-rsa.c                             ~ ssh.c
  ~ sshconnect.c                          ~ sshconnect1.c
  ~ sshconnect2.c                         ~ sshd.c
  ~ sshlogin.c                            ~ sshpty.c
  ~ sshtty.c                              ~ ttymodes.c
  ~ uidswap.c                             ~ uuencode.c
  ~ xmalloc.c                             

  > Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that
  > Theo nuked - our scripts to sync -portable need them in the files (djm@)

  ~ clientloop.c                          ~ serverloop.c

  > spacing (deraadt@)

  ~ sshlogin.c                            ~ sshlogin.h

  > nicer size_t and time_t types (deraadt@)

  ~ ssh-keygen.c                          

  > cast strtonum() result to right type (deraadt@)

  ~ ssh-agent.c                           

  > mark two more signal handlers ARGSUSED (deraadt@)

  ~ channels.c                            

  > use strtonum() instead of atoi() [limit X screens to 400, sorry] (deraadt@)

  ~ auth-rsa.c                            ~ authfd.c
  ~ packet.c                              

  > needed casts (always will be needed) (deraadt@)

  ~ bufaux.c                              ~ channels.c
  ~ packet.c                              

  > remove (char *) casts to a function that accepts void * for the arg
  > (deraadt@)

  ~ channels.c                            

  > delete cast not required (deraadt@)

  ~ atomicio.h                            ~ auth-options.h
  ~ auth.h                                ~ auth2-gss.c
  ~ authfd.h                              ~ authfile.h
  ~ bufaux.h                              ~ buffer.h
  ~ canohost.h                            ~ channels.h
  ~ cipher.h                              ~ clientloop.h
  ~ compat.h                              ~ compress.h
  ~ crc32.c                               ~ crc32.h
  ~ deattack.h                            ~ dh.h
  ~ dispatch.h                            ~ dns.c
  ~ dns.h                                 ~ getput.h
  ~ groupaccess.h                         ~ gss-genr.c
  ~ gss-serv-krb5.c                       ~ gss-serv.c
  ~ hostfile.h                            ~ includes.h
  ~ kex.h                                 ~ key.h
  ~ log.h                                 ~ mac.h
  ~ match.h                               ~ misc.h
  ~ monitor.h                             ~ monitor_fdpass.h
  ~ monitor_mm.h                          ~ monitor_wrap.h
  ~ msg.h                                 ~ myproposal.h
  ~ packet.h                              ~ pathnames.h
  ~ progressmeter.h                       ~ readconf.h
  ~ rsa.h                                 ~ scard.h
  ~ servconf.h                            ~ serverloop.h
  ~ session.h                             ~ sftp-common.h
  ~ sftp.h                                ~ ssh-gss.h
  ~ ssh.h                                 ~ ssh1.h
  ~ ssh2.h                                ~ sshconnect.h
  ~ sshlogin.h                            ~ sshpty.h
  ~ ttymodes.h                            ~ uidswap.h
  ~ uuencode.h                            ~ xmalloc.h

  > standardise spacing in $OpenBSD$ tags; requested by deraadt@ (djm@)

== usr.sbin ========================================================== 09/09 ==

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

ftp-proxy

  ~ ftp-proxy.c                           

  > unused variable
  > from Andrey Matveev (camield@)

ospfd

  ~ ospfd.c                               

  > Highlight that running an OSPF router without forwarding enabled is
  > very damaging to the network.
  > ok claudio@ (norby@)

pstat

  ~ pstat.c                               

  > Handle syncer vnodes gracefully, okay deraadt@ (pedro@)

  ~ pstat.c                               

  > Kill double word (pedro@)

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



More information about the odc mailing list