OpenBSD src changes summary for 2016-01-23
==========================================

sbin/pdisk                              sys/arch/arm/include
sys/arch/armv7/armv7                    sys/arch/vax/vax
sys/dev/pv                              usr.bin/ssh

== sbin ============================================================== 01/03 ==

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

pdisk

  ~ partition_map.c                       

  > Break annoying long line. (krw@)

  ~ partition_map.c                       

  > Always initialize media_size to provided mediasz in open_partition_map().
  > (krw@)

  ~ partition_map.c                       

  > Nuke sync_device_size() and do it's one-field-update in coerce_block0(),
  > right after we read/allocate media->block0. Doing sync *before*
  > media->block0 is allocated is bad.
  > The map->physical_block is initialized correctly and never to the
  > magic number '1'. So just use map-physical_block to initialize
  > sbBlkSize. (krw@)

  ~ dump.c                                ~ partition_map.c
  ~ validate.c                            

  > map->block0 is always allocated or the map is discarded.
  > So stop checking for NULL. Nuke get_block_zero() and just use
  > map->block0. (krw@)

  ~ dump.c                                ~ file_media.c
  ~ file_media.h                          ~ partition_map.c
  ~ validate.c                            

  > Flip read_block() and write_block() back to taking sector addresses
  > instead of off_t values. Do the DEV_BSIZE multiplication in these two
  > functions.
  > Easier to read code and kills two #include <sys/param.h>.
  > Kill unused label. (krw@)

  ~ partition_map.c                       

  > Avoid double prompt after creating default map on startup. (krw@)

  ~ dpme.h                                ~ partition_map.c
  ~ pdisk.c                               

  > Add comments to ensure future spelunkers realize that struct block0
  > and struct dpme must be 512-bytes long at the moment.
  > Use this fact to avoid using DEV_BSIZE and thus replace #include
  > <param.h> with #include <types.h> in pdisk.c.
  > Constrain media size to UINT32_MAX, the actual limit, instead of
  > LONG_MAX, which could be way more on some theoretical future arch
  > running pdisk. And do the constraint inside open_partition_map(). (krw@)

  ~ partition_map.c                       ~ partition_map.h
  ~ pdisk.c                               

  > Pass the disk sector size to open_partition_map(), eliminating it's
  > internal need for DEV_BSIZE. Ditto create_partition_map().
  > malloc((sizeof(struct [block0|dpme])) instead of malloc(DEV_BSIZE).
  > Remove another #include <param.h>. (krw@)

  ~ io.c                                  ~ io.h
  ~ pdisk.c                               

  > No need for get_string_argument() parameter 'reprompt' since we
  > always pass it '1'. (krw@)

  ~ io.c                                  ~ io.h
  ~ pdisk.c                               

  > No need for 'default_value' parameter for get_number_argument() since we
  > always pass kDefault. a.k.a. -1. Nuke kDefault since it is now unused.
  > Nuke unused #define MAXIOSIZE in passing. (krw@)

  ~ convert.c                             ~ convert.h
  ~ dump.c                                ~ dump.h
  ~ partition_map.c                       ~ partition_map.h
  ~ pdisk.c                               ~ validate.c
  ~ validate.h                            

  > Nuke unused kPatchType. Nuke kStringNot and use " not' where needed.
  > Nuke kStringEmpty and use "" where needed. Nuke unused static 'g'.
  > Eliminate #include's in *.h files.
  > Some whitespace fixes. (krw@)

== sys =============================================================== 02/03 ==

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

arch/arm/include

  ~ armreg.h                              

  > In some cases machines with virtualisation extensions will boot into a
  > HYP processor mode that has different memory management and register
  > behaviour among other things.  In this case switch to SVC mode to
  > prevent an early crash.
  > From Patrick Wildt based on code in FreeBSD. (jsg@)

arch/armv7/armv7

  ~ armv7_start.S                         

  > In some cases machines with virtualisation extensions will boot into a
  > HYP processor mode that has different memory management and register
  > behaviour among other things.  In this case switch to SVC mode to
  > prevent an early crash.
  > From Patrick Wildt based on code in FreeBSD. (jsg@)

arch/vax/vax

  ~ locore.S                              

  > Typo in comment; from Miod (ajacoutot@)

dev/pv

  ~ xen.c                                 

  > Fix some uses of sizeof where the size of a struct was intended, not
  > the size of the pointer to a struct.
  > ok mikeb@ (jsg@)

== usr.bin =========================================================== 03/03 ==

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

ssh

  ~ clientloop.c                          

  > Zero a stack buffer with explicit_bzero() instead of memset() when
  > returning from client_loop() for consistency with
  > buffer_free()/sshbuf_free().
  > ok dtucker@ deraadt@ djm@ (jsg@)

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

Reply via email to