OpenBSD src changes summary for 2015-11-24
==========================================

bin/ksh                                 distrib/sets
games                                   games/atc
games/battlestar                        games/canfield
games/hack                              games/phantasia
games/robots                            games/sail
games/snake                             lib/libc
lib/libcrypto                           lib/libsndio
libexec/lockspool                       regress/usr.bin
sbin/disklabel                          sbin/fdisk
sbin/fsck_ffs                           share/man
sys/arch/amd64/amd64                    sys/arch/armv7/imx
sys/arch/armv7/sunxi                    sys/arch/hppa/gsc
sys/arch/macppc/dev                     sys/arch/octeon/dev
sys/arch/powerpc/include                sys/arch/sgi/dev
sys/arch/sgi/hpc                        sys/arch/socppc/dev
sys/arch/sparc/dev                      sys/arch/sparc64/dev
sys/arch/vax/if                         sys/arch/vax/vsa
sys/arch/vax/vxt                        sys/dev/cardbus
sys/dev/eisa                            sys/dev/ic
sys/dev/isa                             sys/dev/pci
sys/dev/pcmcia                          sys/dev/sbus
sys/dev/usb                             sys/kern
sys/net                                 sys/net80211
sys/netinet                             sys/netinet6
sys/netmpls                             sys/sys
usr.bin/diff                            usr.bin/mail
usr.bin/sndiod                          usr.bin/telnet
usr.bin/tmux                            usr.bin/vi
usr.sbin/ntpd                           usr.sbin/rebound
usr.sbin/smtpd                          usr.sbin/vmmctl

== bin =============================================================== 01/11 ==

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

ksh

  ~ ksh.1                                 

  > Revert previous tweak, pending a more complete rewording. Discussed with
  > halex@, sthen@, jmc@. (mmcc@)

== distrib =========================================================== 02/11 ==

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

sets

  ~ lists/game/mi                         

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

== games ============================================================= 03/11 ==

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

games

  ~ Makefile.inc                          

  > In 1995, all of the games were setuid games.  At end of 1996, I took them
  > all
  > to setgid games, and we started wittling them down.  Nearly 10 years later
  > I
  > am removing all setgid from the games.  If any of these have score files
  > they
  > are now broken, and I hope various folk repair them.  I have argued for
  > years
  > (and received pushback...) that the score file features must be removed, or
  > rewritten to use private files, because setgid is the wrong tool.
  > ok tedu (deraadt@)

atc

  ~ Makefile                              

  > In 1995, all of the games were setuid games.  At end of 1996, I took them
  > all
  > to setgid games, and we started wittling them down.  Nearly 10 years later
  > I
  > am removing all setgid from the games.  If any of these have score files
  > they
  > are now broken, and I hope various folk repair them.  I have argued for
  > years
  > (and received pushback...) that the score file features must be removed, or
  > rewritten to use private files, because setgid is the wrong tool.
  > ok tedu (deraadt@)

battlestar

  ~ Makefile                              

  > In 1995, all of the games were setuid games.  At end of 1996, I took them
  > all
  > to setgid games, and we started wittling them down.  Nearly 10 years later
  > I
  > am removing all setgid from the games.  If any of these have score files
  > they
  > are now broken, and I hope various folk repair them.  I have argued for
  > years
  > (and received pushback...) that the score file features must be removed, or
  > rewritten to use private files, because setgid is the wrong tool.
  > ok tedu (deraadt@)

canfield

  - canfield/pathnames.h                  ~ canfield/Makefile
  ~ canfield/canfield.6                   ~ canfield/canfield.c
  ~ cfscores/Makefile                     ~ cfscores/cfscores.c

  > move score files to home directory and drop setgid. from Ricardo Mestre
  > (tedu@)

  ~ canfield/canfield.c                   ~ cfscores/cfscores.c

  > change score file name to .cfscores so it's not taking up valuable space
  > in my home directory of serious business files (tedu@)

  ~ canfield/canfield.c                   ~ cfscores/cfscores.c

  > repair lseeks, from Ricardo (tedu@)

hack

  ~ Makefile                              

  > In 1995, all of the games were setuid games.  At end of 1996, I took them
  > all
  > to setgid games, and we started wittling them down.  Nearly 10 years later
  > I
  > am removing all setgid from the games.  If any of these have score files
  > they
  > are now broken, and I hope various folk repair them.  I have argued for
  > years
  > (and received pushback...) that the score file features must be removed, or
  > rewritten to use private files, because setgid is the wrong tool.
  > ok tedu (deraadt@)

phantasia

  ~ Makefile                              

  > In 1995, all of the games were setuid games.  At end of 1996, I took them
  > all
  > to setgid games, and we started wittling them down.  Nearly 10 years later
  > I
  > am removing all setgid from the games.  If any of these have score files
  > they
  > are now broken, and I hope various folk repair them.  I have argued for
  > years
  > (and received pushback...) that the score file features must be removed, or
  > rewritten to use private files, because setgid is the wrong tool.
  > ok tedu (deraadt@)

robots

  ~ Makefile                              

  > In 1995, all of the games were setuid games.  At end of 1996, I took them
  > all
  > to setgid games, and we started wittling them down.  Nearly 10 years later
  > I
  > am removing all setgid from the games.  If any of these have score files
  > they
  > are now broken, and I hope various folk repair them.  I have argued for
  > years
  > (and received pushback...) that the score file features must be removed, or
  > rewritten to use private files, because setgid is the wrong tool.
  > ok tedu (deraadt@)

sail

  ~ Makefile                              

  > In 1995, all of the games were setuid games.  At end of 1996, I took them
  > all
  > to setgid games, and we started wittling them down.  Nearly 10 years later
  > I
  > am removing all setgid from the games.  If any of these have score files
  > they
  > are now broken, and I hope various folk repair them.  I have argued for
  > years
  > (and received pushback...) that the score file features must be removed, or
  > rewritten to use private files, because setgid is the wrong tool.
  > ok tedu (deraadt@)

snake

  ~ Makefile                              

  > In 1995, all of the games were setuid games.  At end of 1996, I took them
  > all
  > to setgid games, and we started wittling them down.  Nearly 10 years later
  > I
  > am removing all setgid from the games.  If any of these have score files
  > they
  > are now broken, and I hope various folk repair them.  I have argued for
  > years
  > (and received pushback...) that the score file features must be removed, or
  > rewritten to use private files, because setgid is the wrong tool.
  > ok tedu (deraadt@)

== lib =============================================================== 04/11 ==

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

libc

  ~ stdlib/getopt.3                       

  > Don't fake a bulleted list by prefixing items with 'o'.
  > ok jmc@ (bentley@)

  ~ string/bcmp.3                         ~ string/bcopy.3
  ~ string/bzero.3                        ~ string/ffs.3
  ~ string/strcasecmp.3                   ~ string/strchr.3
  ~ string/strrchr.3                      

  > Document that these functions are now in strings.h.
  > ok millert@ (daniel@)

  ~ sys/wait.2                            

  > fix an error in NAME; ok schwarze (jmc@)

  ~ gen/auth_subr.c                       ~ gen/authenticate.c
  ~ gen/glob.c                            ~ gen/pwcache.c
  ~ gen/auth_subr.3                       ~ gen/authenticate.3
  ~ gen/getgrent.c                        ~ gen/getpwent.c
  ~ hidden/grp.h                          ~ hidden/pwd.h
  ~ net/rcmdsh.c                          ~ net/ruserok.c

  > Use reentrant versions of getpw{nam,uid} and getgr{nam,gid} within
  > libc to avoid reusing the static buffers returned by the non-reentrant
  > versions.  Since this is inside libc we can use constants for the
  > buffer sizes instead of having to call sysconf().
  > OK guenther@ deraadt@ (millert@)

libcrypto

  - man/ui_new.3                          ~ man/Makefile
  + man/UI_new.3                          

  > Correct file name, no text change (no history yet, but sorry for the
  > churn).
  > Issue noticed by jmc@, OK jmc@. (schwarze@)

libsndio

  ~ mio_rmidi.c                           

  > Fix confusion between SIO_xxx and MIO_xxx options (copy & paste error).
  > (ratchov@)

== libexec =========================================================== 05/11 ==

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

lockspool

  ~ lockspool.c                           

  > missing pledge "getpw" (deraadt@)

== regress =========================================================== 06/11 ==

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

usr.bin

  ~ tail/Makefile                         + tail/forward-blocks-rprint.out
  + tail/forward-blocks-rprint.sh         + tail/forward-blocks.out
  + tail/forward-blocks.sh                + tail/forward-chars-rprint.out
  + tail/forward-chars-rprint.sh          + tail/forward-chars.out
  + tail/forward-chars.sh                 + tail/forward-lines-rprint.out
  + tail/forward-lines-rprint.sh          + tail/forward-lines.out
  + tail/forward-lines.sh                 + tail/reverse-blocks-rprint.out
  + tail/reverse-blocks-rprint.sh         + tail/reverse-blocks.out
  + tail/reverse-blocks.sh                + tail/reverse-chars-rprint.out
  + tail/reverse-chars-rprint.sh          + tail/reverse-chars.out
  + tail/reverse-chars.sh                 + tail/reverse-lines-rprint.out
  + tail/reverse-lines-rprint.sh          + tail/reverse-lines.out
  + tail/reverse-lines.sh                 

  > add some more tail tests, from Martijn van Duren (tedu@)

== sbin ============================================================== 07/11 ==

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

disklabel

  ~ disklabel.c                           

  > Need 'cpath' for op == EDITOR, as '-F' to write out the ascii label in
  > an arbitrary location is a possibility.
  > Suggested by & ok deraadt@ (krw@)

fdisk

  ~ fdisk.c                               

  > pledge "stdio rpath wpath disklabel proc exec" throughout, after
  > krw's refactorings which hoisted disk-opening to the top.
  > tested by krw (deraadt@)

fsck_ffs

  ~ main.c                                ~ setup.c

  > hotroot is calculated late in fsck_ffs, so defer the pledge. (deraadt@)

== share ============================================================= 08/11 ==

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

man

  ~ man4/man4.macppc/Makefile             

  > no need for zsc mlink now; (jmc@)

  ~ man9/ml_init.9                        

  > two missing NAME entries; (jmc@)

  ~ man9/md5.9                            

  > update NAME; (jmc@)

  ~ man9/mq_init.9                        

  > missing NAME entry; (jmc@)

  ~ man9/Makefile                         

  > no mlink for ctlname; ok schwarze (jmc@)

  ~ man9/mbuf_tags.9                      

  > update NAME; somehow missed this file when i did man9;
  > ok schwarze (jmc@)

  ~ man7/ports.7                          

  > Fix a link that got broken by a recent change that was made to the web
  > pages.
  > Pointed out by Jan Stary, but I used the faq15 URL because the suggested
  > one
  > is linked a couple of lines below already. (sthen@)

== sys =============================================================== 09/11 ==

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

arch/amd64/amd64

  ~ vmm.c                                 

  > Don't loop forever trying to handle NP faults in certain failure cases.
  > reported by Stefan Kempf with supplied patch, thanks. (mlarkin@)

arch/armv7/imx

  ~ imxenet.c                             

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/armv7/sunxi

  ~ sxie.c                                

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/hppa/gsc

  ~ if_ie_gsc.c                           

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_ie_gsc.c                           

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/macppc/dev

  ~ if_mc.c                               ~ if_wi_obio.c

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/octeon/dev

  ~ if_cnmac.c                            

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/powerpc/include

  ~ db_machdep.h                          

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

arch/sgi/dev

  ~ if_iec.c                              ~ if_mec.c

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_iec.c                              ~ if_mec.c

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/sgi/hpc

  ~ if_sq.c                               

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_sq.c                               

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/socppc/dev

  ~ if_tsec.c                             

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

arch/sparc/dev

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

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ be.c                                  ~ hme.c
  ~ if_gem_sbus.c                         ~ if_ie.c
  ~ if_ti_sbus.c                          ~ qe.c
  ~ qec.c                                 

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/sparc64/dev

  ~ vnet.c                                

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ vnet.c                                

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/vax/if

  ~ if_de.c                               ~ if_qe.c
  ~ if_ze.c                               ~ sgec.c

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/vax/vsa

  ~ if_ze_vsbus.c                         

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

arch/vax/vxt

  ~ if_ze_vxtbus.c                        

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

dev/cardbus

  ~ if_dc_cardbus.c                       ~ if_fxp_cardbus.c
  ~ if_rl_cardbus.c                       ~ if_xl_cardbus.c

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_acx_cardbus.c                      ~ if_ath_cardbus.c
  ~ if_athn_cardbus.c                     ~ if_atw_cardbus.c
  ~ if_dc_cardbus.c                       ~ if_fxp_cardbus.c
  ~ if_pgt_cardbus.c                      ~ if_ral_cardbus.c
  ~ if_re_cardbus.c                       ~ if_rl_cardbus.c
  ~ if_rtw_cardbus.c                      ~ if_xl_cardbus.c

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

dev/eisa

  ~ if_ep_eisa.c                          

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_ep_eisa.c                          

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

dev/ic

  ~ acx.c                                 ~ an.c
  ~ ar5008.c                              ~ ar5416.c
  ~ ar9003.c                              ~ ar9280.c
  ~ ar9285.c                              ~ ar9287.c
  ~ ar9380.c                              ~ athn.c
  ~ ax88190.c                             ~ dc.c
  ~ dl10019.c                             ~ dp8390.c
  ~ elink3.c                              ~ fxp.c
  ~ i82596.c                              ~ if_wi_hostap.c
  ~ lemac.c                               ~ ne2000.c
  ~ pgt.c                                 ~ rt2560.c
  ~ rt2661.c                              ~ rt2860.c
  ~ rtl81x9.c                             ~ ti.c
  ~ xl.c                                  

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ acx100.c                              ~ acx111.c
  ~ ar5008.c                              ~ ar5416.c
  ~ ar5xxx.h                              ~ ar9003.c
  ~ ar9280.c                              ~ ar9285.c
  ~ ar9287.c                              ~ ar9380.c
  ~ if_wi_hostap.c                        ~ pgt.c

  > No need to include <net/if_arp.h>
  > This header is only needed because <netinet/if_ether.h> declares a
  > structure that needs it.  But it turns out that <net/if.h> already
  > includes it as workaround.
  > A proper solution would be to stop declarting "struct ether_arp"
  > there.  But no driver should need this header. (mpi@)

  ~ hme.c                                 

  > No need for "vlan.h" if you don't check for "#if NVLAN > 0". (mpi@)

  ~ fxp.c                                 ~ re.c

  > You need <netinet/ip.h> if you use "struct ip" for hw checksum.
  > You never need <netinet/ip_var.h> nor <netinet/in_systm.h>. (mpi@)

  ~ acx.c                                 ~ an.c
  ~ ar5008.c                              ~ ar5416.c
  ~ ar5xxx.h                              ~ ar9003.c
  ~ ar9280.c                              ~ ar9285.c
  ~ ar9287.c                              ~ ar9380.c
  ~ ax88190.c                             ~ dl10019.c
  ~ gem.c                                 ~ i82596.c
  ~ if_wi_hostap.c                        ~ lemac.c
  ~ ne2000.c                              ~ pgt.c
  ~ re.c                                  ~ xl.c

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

dev/isa

  ~ if_ec.c                               ~ if_ef_isapnp.c
  ~ if_eg.c                               ~ if_el.c
  ~ if_ep_isa.c                           ~ if_ep_isapnp.c
  ~ if_ie.c                               ~ if_we.c

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_an_isapnp.c                        ~ if_ec.c
  ~ if_ef_isapnp.c                        ~ if_eg.c
  ~ if_el.c                               ~ if_ep_isa.c
  ~ if_ep_isapnp.c                        ~ if_ie.c
  ~ if_lc_isa.c                           ~ if_ne_isa.c
  ~ if_ne_isapnp.c                        ~ if_sm_isa.c
  ~ if_we.c                               

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

dev/pci

  ~ pcidevs                               

  > Add some intel 6th gen and 100 series ids.
  > ok jsg@ (daniel@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (daniel@)

  ~ if_myx.c                              

  > fix tx ring accounting in myx_start.
  > turns out i was calculating the number of packets (not descriptors)
  > on the tx ring, and then using that as the free space for descriptors.
  > (dlg@)

  ~ pciide.c                              

  > Double the delay between the PHY reset and the status check for
  > ServerWorks SATA.
  > Allow to reliably found disks on xserve G5.
  > from miod@ (mpi@)

  ~ if_jme.c                              ~ if_vio.c
  ~ if_vr.c                               ~ ixgbe.h

  > No need to include <net/if_types.h> for <net/if_vlan_var.h> (mpi@)

  ~ if_dc_pci.c                           ~ if_de.c
  ~ if_ep_pci.c                           ~ if_epic_pci.c
  ~ if_fxp_pci.c                          ~ if_ipw.c
  ~ if_iwi.c                              ~ if_iwm.c
  ~ if_iwn.c                              ~ if_lii.c
  ~ if_msk.c                              ~ if_nxe.c
  ~ if_rl_pci.c                           ~ if_rtwn.c
  ~ if_se.c                               ~ if_sf_pci.c
  ~ if_sis.c                              ~ if_sk.c
  ~ if_ste.c                              ~ if_tht.c
  ~ if_txp.c                              ~ if_vic.c
  ~ if_vio.c                              ~ if_vmx.c
  ~ if_wb.c                               ~ if_wpi.c
  ~ if_xl_pci.c                           

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_ath_pci.c                          ~ if_ipw.c
  ~ if_iwi.c                              ~ if_iwm.c
  ~ if_rtwn.c                             ~ if_vmx.c
  ~ ixgbe.h                               

  > No need to include <net/if_arp.h>
  > This header is only needed because <netinet/if_ether.h> declares a
  > structure that needs it.  But it turns out that <net/if.h> already
  > includes it as workaround.
  > A proper solution would be to stop declarting "struct ether_arp"
  > there.  But no driver should need this header. (mpi@)

  ~ if_vmx.c                              ~ if_et.c
  ~ if_vte.c                              

  > No need for "vlan.h" if you don't check for "#if NVLAN > 0". (mpi@)

  ~ if_iwm.c                              

  > You need <netinet/ip.h> if you use "struct ip" for hw checksum.
  > You never need <netinet/ip_var.h> nor <netinet/in_systm.h>. (mpi@)

  ~ if_acx_pci.c                          ~ if_an_pci.c
  ~ if_ath_pci.c                          ~ if_athn_pci.c
  ~ if_atw_pci.c                          ~ if_bce.c
  ~ if_bge.c                              ~ if_bnxreg.h
  ~ if_bwi_pci.c                          ~ if_cas.c
  ~ if_dc_pci.c                           ~ if_de.c
  ~ if_em.h                               ~ if_em_hw.c
  ~ if_ep_pci.c                           ~ if_epic_pci.c
  ~ if_fxp_pci.c                          ~ if_gem_pci.c
  ~ if_hme_pci.c                          ~ if_iwm.c
  ~ if_ixgb.h                             ~ if_lge.c
  ~ if_lii.c                              ~ if_malo_pci.c
  ~ if_msk.c                              ~ if_nep.c
  ~ if_nfe.c                              ~ if_nge.c
  ~ if_pgt_pci.c                          ~ if_ral_pci.c
  ~ if_re_pci.c                           ~ if_rl_pci.c
  ~ if_rtw_pci.c                          ~ if_se.c
  ~ if_sf_pci.c                           ~ if_sis.c
  ~ if_sk.c                               ~ if_ste.c
  ~ if_stge.c                             ~ if_ti_pci.c
  ~ if_tl.c                               ~ if_txp.c
  ~ if_vge.c                              ~ if_vio.c
  ~ if_vr.c                               ~ if_wb.c
  ~ if_wi_pci.c                           ~ if_xge.c
  ~ if_xl_pci.c                           ~ ixgb_ee.c
  ~ ixgb_hw.c                             ~ ixgbe.h

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

  ~ sdhc_pci.c                            

  > Fix inverted condition in previous.
  > Problem reported by Mikolaj Kucharski. (kettenis@)

  ~ pcidevs                               

  > Add a few missing devices found on recent Apple hardware.
  > From Bryan Vyhmeister. (kettenis@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (kettenis@)

dev/pcmcia

  ~ if_an_pcmcia.c                        ~ if_ep_pcmcia.c
  ~ if_ne_pcmcia.c                        ~ if_xe.c

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_an_pcmcia.c                        ~ if_cnw.c
  ~ if_ep_pcmcia.c                        ~ if_sm_pcmcia.c
  ~ if_wi_pcmcia.c                        

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

dev/sbus

  ~ be.c                                  ~ qe.c

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ be.c                                  ~ if_gem_sbus.c
  ~ if_hme_sbus.c                         ~ if_ti_sbus.c
  ~ qe.c                                  

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

dev/usb

  ~ if_athn_usb.c                         ~ if_otus.c
  ~ if_ral.c                              ~ if_rsu.c
  ~ if_rum.c                              ~ if_run.c
  ~ if_uath.c                             ~ if_ugl.c
  ~ if_upgt.c                             ~ if_urtw.c
  ~ if_urtwn.c                            ~ if_wi_usb.c
  ~ if_zyd.c                              

  > The only network driver needing <net/if_types.h> is upl(4) for IFT_OTHER.
  > (mpi@)

  ~ if_athn_usb.c                         ~ if_otus.c
  ~ if_ral.c                              ~ if_rsu.c
  ~ if_rum.c                              ~ if_run.c
  ~ if_uath.c                             ~ if_udav.c
  ~ if_upgt.c                             ~ if_urtw.c
  ~ if_urtwn.c                            ~ if_zyd.c

  > No need to include <net/if_arp.h>
  > This header is only needed because <netinet/if_ether.h> declares a
  > structure that needs it.  But it turns out that <net/if.h> already
  > includes it as workaround.
  > A proper solution would be to stop declarting "struct ether_arp"
  > there.  But no driver should need this header. (mpi@)

  ~ if_smsc.c                             

  > No need for "vlan.h" if you don't check for "#if NVLAN > 0". (mpi@)

  ~ if_atu.c                              ~ if_aue.c
  ~ if_axe.c                              ~ if_axen.c
  ~ if_mos.c                              ~ if_smsc.c
  ~ if_udav.c                             ~ if_url.c
  ~ if_urndis.c                           ~ if_wi_usb.c

  > You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
  > (mpi@)

kern

  ~ syscalls.master                       

  > Add sendsyslog2... this has an additional flags variable to permit
  > passing LOG_CONS
  > ok millert kettenis beck (deraadt@)

  ~ init_sysent.c                         ~ syscalls.c

  > sync (deraadt@)

  ~ kern_pledge.c                         ~ subr_log.c

  > Add sendsyslog2(), which accepts the syslog/openlog "logopt" flag
  > LOG_CONS. If syslogd is not accepting messages, direct them to the console.
  > This allows us to remove the direct /dev/console opening code from the
  > bowels of libc.  Of course, that forgotten code was exposed by pledge.
  > ok kettenis millert beck (deraadt@)

net

  ~ art.c                                 ~ art.h
  ~ rtable.c                              

  > Provide art_free(), a method to release unused routing table heads.
  > While here initialize pools in art_init(). (mpi@)

  ~ art.c                                 

  > in art_insert, if at_default on the first table is set then return the
  > existing route rather than overwrite it.
  > ok mpi@ (dlg@)

  ~ bsd-comp.c                            ~ pf_ioctl.c
  ~ pf_lb.c                               ~ pf_norm.c
  ~ ppp_tty.c                             ~ trunklacp.c

  > No need for <net/if_types.h>
  > As a bonus this removes a "#if NCARP > 0", say yeah! (mpi@)

  ~ trunklacp.c                           

  > No need for <net/ethertypes.h> it is part of <netinet/if_ether.h>
  > While here use < > rather than " " to for driver includes. (mpi@)

net80211

  ~ ieee80211_output.c                    

  > No need to include <net/if_types.h> for <net/if_vlan_var.h> (mpi@)

  ~ ieee80211_crypto.c                    ~ ieee80211_crypto_bip.c
  ~ ieee80211_crypto_ccmp.c               ~ ieee80211_crypto_tkip.c
  ~ ieee80211_crypto_wep.c                ~ ieee80211_node.c
  ~ ieee80211_pae_output.c                ~ ieee80211_proto.c
  ~ ieee80211_regdomain.c                 

  > No need to include <net/if_arp.h>
  > This header is only needed because <netinet/if_ether.h> declares a
  > structure that needs it.  But it turns out that <net/if.h> already
  > includes it as workaround.
  > A proper solution would be to stop declarting "struct ether_arp"
  > there.  But no driver should need this header. (mpi@)

netinet

  ~ in.c                                  

  > No need for <net/if_types.h>
  > As a bonus this removes a "#if NCARP > 0", say yeah! (mpi@)

  ~ if_ether.h                            

  > Merge three #ifdef _KERNEL blocks into one. (mpi@)

netinet6

  ~ nd6_rtr.c                             ~ raw_ip6.c
  ~ udp6_output.c                         

  > No need for <net/if_types.h>
  > As a bonus this removes a "#if NCARP > 0", say yeah! (mpi@)

netmpls

  ~ mpls_raw.c                            

  > No need for <net/if_types.h>
  > As a bonus this removes a "#if NCARP > 0", say yeah! (mpi@)

sys

  ~ syscall.h                             ~ syscallargs.h

  > sync (deraadt@)

== usr.bin =========================================================== 10/11 ==

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

diff

  ~ diff.1                                

  > fix an error in the text; from donald allen
  > ok millert (jmc@)

mail

  ~ main.c                                

  > missing pledge "getpw" (deraadt@)

sndiod

  ~ sndiod.c                              

  > remove unused test when handling of -U option (ratchov@)

telnet

  ~ commands.c                            ~ externs.h
  ~ telnet.c                              

  > Don't support repeated connections - avoids pledge problems
  > ok deraadt@, "god please commit before I see any more" tedu@ (beck@)

tmux

  ~ options-table.c                       ~ tmux.h

  > Don't allow options in table without scope set. (nicm@)

  ~ cmd-detach-client.c                   ~ tmux.1

  > Fix usage of detach-client. (nicm@)

  ~ cmd-show-messages.c                   ~ log.c
  ~ proc.c                                ~ server.c
  ~ tmux.c                                ~ tmux.h

  > Make the log stuff a bit tidier with some helper functions. (nicm@)

  ~ cmd-show-messages.c                   

  > Show libevent version in showmsgs -I. (nicm@)

  ~ proc.c                                

  > Log some system and libevent information at startup. (nicm@)

  ~ cmd-kill-session.c                    ~ tmux.1

  > All kill-session -C to clear alerts in all windows, suggested by Aaron
  > U'Ren. (nicm@)

  ~ cmd-show-messages.c                   ~ format.c
  ~ server.c                              ~ tmux.1
  ~ tmux.c                                ~ tmux.h

  > Remove the -I part of show-messages which isn't really that useful; the
  > server start time can now be accessed with a new start_time format (use:
  > tmux display -p '#{t:start_time}') (nicm@)

  ~ client.c                              

  > Switch a fprintf to a fatal, and wrap some long lines. (nicm@)

  ~ tmux.c                                

  > Remove malloc_options DEBUG bit. (nicm@)

  ~ client.c                              ~ tmux.c
  ~ tmux.h                                

  > Tidy the code that works out the socket path, and just use the full path
  > in the global socket_path rather than copying it. (nicm@)

  ~ tmux.1                                

  > Document socket_path format. (nicm@)

  ~ client.c                              

  > Actually show something (even if it not that helpful) if the server
  > fails to start (for example if it can't create the socket), rather than
  > hanging or showing nothing. (nicm@)

  ~ client.c                              ~ server.c

  > Do lock failures slightly better, return a special value so we don't
  > unlink the wrong thing. (nicm@)

  ~ client.c                              ~ tmux.c
  ~ tmux.h                                

  > Shell command from -c doesn't have to be global, pass it as an argument.
  > (nicm@)

  ~ cmd-set-environment.c                 ~ environ.c
  ~ server-fn.c                           ~ tmux.1
  ~ tmux.c                                ~ tmux.h
  ~ window.c                              

  > Make environ_set va_args and use it to tidy up some calls. Also add a
  > missing word in manpage (from jmc). (nicm@)

vi

  ~ common/options.c                      ~ docs/USD.doc/vi.man/vi.1

  > Turn on filename tab completion in vi by default.
  > From FreeBSD.
  > ok claudio@ tb@ (bentley@)

  ~ docs/USD.doc/vi.ref/set.opt.roff      

  > Update the other documentation to match the new filec default.
  > requested by and ok jmc@
  > (a sign that these files really need to be merged into the manpage
  > so they don't get any more stale...) (bentley@)

== usr.sbin ========================================================== 11/11 ==

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

ntpd

  ~ constraint.c                          ~ ntpd.c
  ~ ntpd.h                                

  > Cache values from getpwnam() done at initialization, which need to be
  > used by the constraint processes setup later (chroot, setuid...)
  > [late getpwnam discovered during a further audit]
  > ok millert (deraadt@)

rebound

  ~ rebound.c                             

  > use canonical pledge argument ordering (deraadt@)

smtpd

  ~ table_db.c                            ~ table_static.c

  > teach table_db and table_static about mailaddr maps (unused yet)
  > ok sunil@, ok jung@ (gilles@)

  + filter.c                              

  > add filter.c plumbing, not linked to the build, not used yet
  > ok sunil@, ok jung@, ok eric@ (gilles@)

vmmctl

  ~ parse.y                               

  > zap useless use of strlen, okay reyk@ mlarkin@ (espie@)

  ~ vmmctl.c                              

  > realloc* is designed so that NULL pointer = malloc. Ditch redundant code
  > okay reyk@ mlarkin@ (espie@)

===============================================================================
_______________________________________________
odc mailing list
[email protected]
http://www.squish.net/mailman/listinfo/odc

Reply via email to