[odc] Daily src changes for 2008-04-24

ODC auto at squish.net
Fri Apr 25 07:00:01 BST 2008


OpenBSD src changes summary for 2008-04-24
==========================================

distrib/sets                            include/unistd.h
lib/libc                                lib/libpthread
lib/librthread                          libexec/login_krb5
regress/lib                             share/man
sys/arch/amd64/amd64                    sys/arch/amd64/pci
sys/arch/i386/conf                      sys/arch/sgi/include
sys/arch/sgi/sgi                        sys/dev/acpi
sys/dev/ic                              sys/dev/pci
sys/miscfs/fifofs                       sys/miscfs/portal
sys/miscfs/procfs                       sys/net
sys/netinet                             sys/netinet6
sys/netmpls                             sys/scsi
sys/ufs/mfs                             usr.bin/cvs
usr.bin/rcs                             usr.sbin/sysmerge

== distrib =========================================================== 01/09 ==

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

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

== include =========================================================== 02/09 ==

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

unistd.h

  ~ unistd.h                              

  > - correct brk(2) prototype and man page to match implementation and POSIX.
  > brk(2) returns an int value not a void *. brk(2) returns 0 upon success not
  > a pointer to the new end of memory. okay millert@, kettenis@, deraadt@
  > (kurt@)

== lib =============================================================== 03/09 ==

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

libc

  ~ sys/Lint_brk.c                        ~ sys/brk.2
  ~ sys/vfork.2                           

  > - correct brk(2) prototype and man page to match implementation and POSIX.
  > brk(2) returns an int value not a void *. brk(2) returns 0 upon success not
  > a pointer to the new end of memory. okay millert@, kettenis@, deraadt@
  > (kurt@)

libpthread

  ~ uthread/uthread_sigmask.c             ~ uthread/uthread_sigprocmask.c

  > Return the proper values upon failure per POSIX for pthread_sigmask(3) and
  > sigprocmask(2) in threaded programs.
  > From Philip Guenther <guenther at sendmail.com> via PR library/5795.
  > okay marc@ (kurt@)

librthread

  ~ rthread_sig.c                         

  > Return the proper values upon failure per POSIX for pthread_sigmask(3) and
  > sigprocmask(2) in threaded programs.
  > From Philip Guenther <guenther at sendmail.com> via PR library/5795.
  > okay marc@ (kurt@)

== libexec =========================================================== 04/09 ==

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

login_krb5

  ~ login_krb5.c                          

  > compare strings with reality for expected behavior; ok millert@ (todd@)

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

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

lib

  ~ libpthread/sigmask/sigmask.c          

  > Return the proper values upon failure per POSIX for pthread_sigmask(3) and
  > sigprocmask(2) in threaded programs.
  > From Philip Guenther <guenther at sendmail.com> via PR library/5795.
  > okay marc@ (kurt@)

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

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

man

  ~ man4/Makefile                         ~ man4/acpi.4
  + man4/acpiasus.4                       

  > Introduce acpiasus(4), a driver for the ACPI based hotkeys found in many
  > ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's
  > asus(4) driver. On the ASUS EeePC this allows us to enable/disable
  > wireless, change screen brightness and use the volume keys.
  > ok jsg@, weingart@ (jsing@)

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

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

arch/amd64/amd64

  ~ machdep.c                             

  > allow amd64 to use serial ports other than com0 as the console. previously
  > it was stuck to com0 no matter what the boot loader told the kernel.
  > this relies on the com diff jsing just committed. (dlg@)

arch/amd64/pci

  - amd8131reg.h                          ~ aapic.c

  > move the register defines from amd8131reg.h into aapi.c,
  > seems silly to have a seperate .h file for 4 defines.
  > nuke the NetBSD __KERNEL_RCSID macro while there, we have that
  > rcsid at the top of the file...
  > ok toby@, brad@ (thib@)

  ~ aapic.c                               

  > oops. unbreak build by removing the #include for amd8131reg.h (thib@)

arch/i386/conf

  ~ GENERIC                               

  > Introduce acpiasus(4), a driver for the ACPI based hotkeys found in many
  > ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's
  > asus(4) driver. On the ASUS EeePC this allows us to enable/disable
  > wireless, change screen brightness and use the volume keys.
  > ok jsg@, weingart@ (jsing@)

arch/sgi/include

  ~ autoconf.h                            

  > Cleanup serial console handling and remove some of the MD code from com.c.
  > Specify the serial configuration from within the MD code, rather than
  > passing things via macros. This will allow other platforms to more readily
  > change the serial console configuration.
  > Committing this so it actually gets tested.
  > ok dlg@ (jsing@)

  ~ autoconf.h                            

  > Remove variables that are no longer used to specify the serial console.
  > ok dlg@ (jsing@)

arch/sgi/sgi

  ~ ip32_machdep.c                        

  > Cleanup serial console handling and remove some of the MD code from com.c.
  > Specify the serial configuration from within the MD code, rather than
  > passing things via macros. This will allow other platforms to more readily
  > change the serial console configuration.
  > Committing this so it actually gets tested.
  > ok dlg@ (jsing@)

  ~ ip30_machdep.c                        

  > Unbreak IP30 serial console.
  > ok dlg@ (jsing@)

dev/acpi

  ~ acpireg.h                             ~ acpi.c
  ~ files.acpi                            + acpiasus.c

  > Introduce acpiasus(4), a driver for the ACPI based hotkeys found in many
  > ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's
  > asus(4) driver. On the ASUS EeePC this allows us to enable/disable
  > wireless, change screen brightness and use the volume keys.
  > ok jsg@, weingart@ (jsing@)

dev/ic

  ~ ciss.c                                

  > some ciss(4) firmwares use different physical drive addressing, resulting
  > in bioctl(8) functions not available; pr#5682.
  > code from mickey. tested by several people.
  > ok dlg@ krw@ (jakob@)

  ~ com.c                                 

  > Cleanup serial console handling and remove some of the MD code from com.c.
  > Specify the serial configuration from within the MD code, rather than
  > passing things via macros. This will allow other platforms to more readily
  > change the serial console configuration.
  > Committing this so it actually gets tested.
  > ok dlg@ (jsing@)

  ~ com.c                                 

  > Keep order of "#if defined..." consistent.
  > ok dlg@ (jsing@)

  ~ com.c                                 

  > MD_ISA_IOT is not defined anywhere so get rid of it.
  > Spotted by drahn@, ok dlg@ (jsing@)

  ~ com.c                                 

  > Clean up comments. (jsing@)

dev/pci

  ~ pcidevs                               

  > Rename NetMos entries to include chip name and remove duplicate entry.
  > ok deraadt@ (kettenis@)

  ~ pucdata.c                             

  > Adjust for renamed NetMos pcidevs entries.	Add support for more Nm9845
  > variants and correctly match the 4S variant.
  > ok deraadt@ (kettenis@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (kettenis@)

miscfs/fifofs

  ~ fifo.h                                ~ fifo_vnops.c

  > remove useless defines for the vnode operations, and instead
  > init the op array functions with whatever the define was set
  > too.
  > ok dlg@,blambert@ (thib@)

miscfs/portal

  ~ portal_vnops.c                        

  > remove useless defines for the vnode operations, and instead
  > init the op array functions with whatever the define was set
  > too.
  > ok dlg@,blambert@ (thib@)

miscfs/procfs

  ~ procfs_vnops.c                        

  > remove useless defines for the vnode operations, and instead
  > init the op array functions with whatever the define was set
  > too.
  > ok dlg@,blambert@ (thib@)

net

  ~ if_bridge.c                           ~ if_pppoe.c

  > the softnet intr handlers check if the input queue has packets on
  > it by reading the queues head pointer. if that pointer is not null
  > then it takes splnet and dequeues a packet for handling. this is
  > bad because the ifqueue head is modified at splnet and the sofnet
  > handlers read it without holding splnet.
  > this removes that check of the head pointer and simply checks if
  > the dequeue gave us a packet or not before proceeding.
  > found while reading mpls code.
  > discussed with norby@ and henning@
  > ok mcbride@ henning@ (dlg@)

netinet

  ~ if_ether.c                            ~ ip_input.c

  > the softnet intr handlers check if the input queue has packets on
  > it by reading the queues head pointer. if that pointer is not null
  > then it takes splnet and dequeues a packet for handling. this is
  > bad because the ifqueue head is modified at splnet and the sofnet
  > handlers read it without holding splnet.
  > this removes that check of the head pointer and simply checks if
  > the dequeue gave us a packet or not before proceeding.
  > found while reading mpls code.
  > discussed with norby@ and henning@
  > ok mcbride@ henning@ (dlg@)

netinet6

  ~ ip6_input.c                           

  > the softnet intr handlers check if the input queue has packets on
  > it by reading the queues head pointer. if that pointer is not null
  > then it takes splnet and dequeues a packet for handling. this is
  > bad because the ifqueue head is modified at splnet and the sofnet
  > handlers read it without holding splnet.
  > this removes that check of the head pointer and simply checks if
  > the dequeue gave us a packet or not before proceeding.
  > found while reading mpls code.
  > discussed with norby@ and henning@
  > ok mcbride@ henning@ (dlg@)

netmpls

  ~ mpls_input.c                          

  > the softnet intr handlers check if the input queue has packets on
  > it by reading the queues head pointer. if that pointer is not null
  > then it takes splnet and dequeues a packet for handling. this is
  > bad because the ifqueue head is modified at splnet and the sofnet
  > handlers read it without holding splnet.
  > this removes that check of the head pointer and simply checks if
  > the dequeue gave us a packet or not before proceeding.
  > found while reading mpls code.
  > discussed with norby@ and henning@
  > ok mcbride@ henning@ (dlg@)

scsi

  ~ scsiconf.c                            

  > Say 'ATAPI' rather than 'SCSIn' for ATAPI devices found on (pseudo)
  > SCSI buses like atapiscsi.	This more accurately describes the
  > commands that will be used on the device.
  > ok dlg@ (krw@)

ufs/mfs

  ~ mfs_vnops.c                           ~ mfsnode.h

  > remove useless defines for the vnode operations, and instead
  > init the op array functions with whatever the define was set
  > too.
  > ok dlg@,blambert@ (thib@)

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

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

cvs

  ~ client.c                              ~ diff_internals.c
  ~ log.c                                 ~ server.c

  > Use a fixed string in case of vasprintf() error instead of relying on
  > strerror().  Although our vasprintf() sets errno, we cannot rely on it on
  > other systems.
  > ok ray (who spotted this issue), xsa (tobias@)

rcs

  ~ rcsprog.c                             

  > Prevent overflow of cmd_argv if RCS_INIT and command line arguments
  > exceed buffer size (diff based on OpenCVS code).
  > ok ray, xsa (tobias@)

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

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

sysmerge

  ~ sysmerge.8                            

  > kill first person (deraadt@)

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


More information about the odc mailing list