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

distrib/sets                            games/atc
games/battlestar                        games/cribbage
games/robots                            games/snake
games/tetris                            gnu/usr.bin/perl
lib/libc                                libexec/spamd
regress/usr.bin                         sbin/mountd
sbin/ping                               sbin/ping6
share/locale                            sys/arch/amd64/stand/efiboot
sys/dev/pci                             sys/dev/usb
sys/kern                                sys/net
sys/netinet                             sys/netinet6
sys/sys                                 usr.bin/make
usr.bin/skeyinit                        usr.bin/ssh
usr.bin/telnet                          usr.bin/tmux
usr.sbin/installboot                    usr.sbin/rcctl
usr.sbin/relayd                         usr.sbin/ypserv

== distrib =========================================================== 01/11 ==

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

sets

  ~ lists/base/mi                         ~ lists/man/mi

  > Tedu stdethers and stdhosts from /usr/sbin, which are only used in
  > Makefile.yp
  > for creating the hosts.byname, hosts.byaddr ethers.byname and ethers.byaddr
  > YP
  > maps. Replace most of their functionality with sed/awk scripting directly
  > in
  > Makefile.yp.
  > Suggested by and OK deraadt@
  > Feedback from @semarie (rpe@)

== games ============================================================= 02/11 ==

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

atc

  ~ atc.6                                 ~ log.c
  ~ main.c                                ~ pathnames.h

  > Add pledge support and move score file to $HOME.
  > For high score entries use the same logic as in snake(6) and tetris(6):
  > Try LOGNAME then USER then getlogin(2) and fall back to ???.
  > For variety, atc(6) uses flock(2), so add a "flock" promise to the usual
  > "stdio rpath rpath cpath tty" for games. (tb@)

  ~ atc.6                                 

  > adjust width list: Ds is unfortunate here; (jmc@)

battlestar

  ~ battlestar.6                          ~ battlestar.c
  ~ com6.c                                ~ init.c

  > Move score file to $HOME and add pledge "stdio rpath wpath cpath".
  > For high score entries, try LOGNAME, then USER, then getlogin() then
  > fall back to ???. (tb@)

  ~ battlestar.6                          

  > tidy here too; (jmc@)

cribbage

  ~ crib.c                                ~ instr.c

  > pledge "stdio rpath tty proc exec" since instructions() might fork a pager.
  > actual game place takes place with "stdio tty".
  > OK deraadt@ on an earlier version (tb@)

robots

  - pathnames.h                           ~ main.c
  ~ robots.6                              ~ robots.h
  ~ score.c                               

  > Move scorefile to $HOME.  The nice implementation of the score file
  > depends on getpwuid(), so add "getpw" to the rest of the required
  > pledges: "stdio rpath wpath cpath tty". (tb@)

snake

  ~ snake.6                               ~ snake.c

  > Prefer $LOGNAME over $USER, since the latter is deprecated,
  > see environ(7).  Pointed out by millert@.  Fall back to getlogin(2)
  > before defaulting to ???.
  > looks good to deraadt@ (tb@)

  ~ snake.6                               

  > tidy up ENVIRONMENT and FILES; (jmc@)

tetris

  ~ scores.c                              ~ tetris.6

  > Prefer $LOGNAME over $USER, since the latter is deprecated,
  > see environ(7).  Pointed out by millert@.  Fall back to getlogin(2)
  > before defaulting to ???.
  > looks good to deraadt@ (tb@)

== gnu =============================================================== 03/11 ==

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

usr.bin/perl

  + cpan/OpenBSD-Pledge/Pledge.xs         
  + cpan/OpenBSD-Pledge/lib/OpenBSD/Pledge.pm
  + cpan/OpenBSD-Pledge/t/OpenBSD-Pledge.t

  > OpenBSD::Pledge - perl interface to pledge(2)
  > okay espie@ "we should be wary" deraadt@ (afresh1@)

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

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

libc

  ~ sys/pledge.2                          

  > Add pledge "pf" which allows ioctls on pf(4). This will be used by
  > relayd and other programs manipulating the packet filter.
  > ok deraadt@ (benno@)

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

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

spamd

  ~ grey.c                                

  > Document that the pfdev check for 63 is /dev/fd/ only contains those nodes
  > (deraadt@)

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

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

usr.bin

  ~ make/Makefile                         

  > now that targets are dedup'd, we can fix that one too. (espie@)

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

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

mountd

  ~ mountd.8                              

  > Include RFC number in reference (tim@)

ping

  ~ ping.c                                

  > Doubles are not reals. Imprecision might lead to trying to
  > calculate square root of a negative number. Just use 0 in this case.
  > Pointed out by and fix from Nathanael Rensen ( nathanael AT list DOT
  > polymorpheus DOT com ), thanks!
  > OK deraadt@
  > (Funnily this bug was in ping6 for many years, only discovered once I
  > synced ping to the ping6 implementation recently.) (florian@)

  ~ ping.c                                

  > Reimplement source address selection. Inspired by the previous
  > traceroute / traceroute6 merge. Next step in unification.
  > OK benno@ (florian@)

  ~ ping.c                                

  > use ping6(8)'s engine; next step in unification
  > OK benno@ (florian@)

ping6

  ~ ping6.c                               

  > Doubles are not reals. Imprecision might lead to trying to
  > calculate square root of a negative number. Just use 0 in this case.
  > Pointed out by and fix from Nathanael Rensen ( nathanael AT list DOT
  > polymorpheus DOT com ), thanks!
  > OK deraadt@
  > (Funnily this bug was in ping6 for many years, only discovered once I
  > synced ping to the ping6 implementation recently.) (florian@)

  ~ ping6.c                               

  > Reimplement source address selection. Inspired by the previous
  > traceroute / traceroute6 merge. Next step in unification.
  > OK benno@ (florian@)

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

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

locale

  ~ ctype/gen_ctype_utf8.pl               ~ ctype/en_US.UTF-8.src

  > Special case SWIDTH1 for U+E000 - U+F8FF
  > Several fonts use this private area for glyphs
  > Suggested by nicm@ (afresh1@)

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

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

arch/amd64/stand/efiboot

  ~ efidev.c                              

  > Disk size in blocks is LastBlock+1. Fix whitespace nit.
  > ok yasuoka@ (krw@)

dev/pci

  ~ if_bge.c                              ~ if_bgereg.h

  > Make it possible to detach bge(4).
  > ok deraadt@ (kettenis@)

dev/usb

  ~ uhub.c                                

  > Clear the UPS_C_PORT_RESET feature when exploring.  Apparently xhci(4)
  > super
  > speed ports may have the XHCI_PS_PRC bit set after xhci(4) attaches.  Just
  > clearing this bit isn't enough though, since the device is already
  > connected
  > and no further connection status change is signalled.  So fake one.
  > This makes the integrated SD card reader in the MacBookPro12,1 attach.
  > ok mpi@ (kettenis@)

  ~ xhci.c                                ~ uhub.c

  > Unconnected xhci(4) super speed ports may come up with the XHCI_PS_WRC,
  > indicating a warm reset has happened.  Communicate this as
  > UPS_C_BH_PORT_RESET
  > to the upper layers and make uhub(4) clear this bit such that we receive
  > further connection status change notifications.  Make sure we only do this
  > for super speed (USB 3.0) hubs as high speed (USB 2.0) hubs use the same
  > bit
  > for UPS_C_PORT_L1.
  > Make hotplugging USB 3.0 devices work on my MacBookPro12,1.
  > ok mpi@ (kettenis@)

kern

  ~ kern_pledge.c                         

  > Add pledge "pf" which allows ioctls on pf(4). This will be used by
  > relayd and other programs manipulating the packet filter.
  > ok deraadt@ (benno@)

  ~ kern_pledge.c                         

  > On a SMALL_KERNEL, pledge "pf" has to be a no-op.  We cannot match
  > the device node (since it does not exist...) (deraadt@)

net

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

  > Convert the simple list of multipath route entries used by ART kernels
  > to a SRP list.
  > This turns the rtable_* layer mpsafe.  We now only need to protect the
  > ART implementation itself.
  > Note that route(8) regress tests will now fail due to a supplementary
  > reference taken by the SRPL_INIT(9) API.
  > ok dlg@ (mpi@)

netinet

  ~ tcp_input.c                           

  > Fix an hypotetical NULL dereference which might become true once the TCP
  > layer will be turned mpsafe.  We're not there yet.
  > Reported by David Hill, ok florian@ (mpi@)

netinet6

  ~ ip6_output.c                          

  > Use if_get() rather than dereferencing rt_ifp in ip6_getpmtu().
  > While here fix a NULL dereference introduced by the support for
  > multiple rdomains.  It seems that this code path is never run...
  > With input from David Hill, ok florian@ (mpi@)

sys

  ~ pledge.h                              

  > Add pledge "pf" which allows ioctls on pf(4). This will be used by
  > relayd and other programs manipulating the packet filter.
  > ok deraadt@ (benno@)

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

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

make

  ~ main.c                                ~ parse.c
  ~ parse.h                               

  > fix duplicate targets in target list for good: split previous groupling fix
  > in two. Catch 22: we have to dedup targets very early so that commands get
  > attached correctly, but we can't figure out the grouplings heuristics until
  > we have all commands...
  > ok millert@ (espie@)

skeyinit

  ~ skeyinit.c                            

  > Add missing rip() before the call to strtonum().  Otherwise, strtonum
  > errors out due to the newline. (millert@)

  ~ skeyinit.c                            

  > Allow the -n flag to work in -s mode. (millert@)

  ~ skeyinit.c                            

  > skeyinit needs pledge proc and exec to use BSD auth. (millert@)

  ~ skeyinit.c                            

  > Remove useless getpwnam() call after getpwuid().  Noticed by deraadt@
  > (millert@)

  ~ skeyinit.c                            

  > Drop pledge proc exec getpw after authenticating. (millert@)

  ~ skeyinit.c                            

  > wrap long line (deraadt@)

ssh

  ~ ssh-keysign.c                         

  > pledge, better fatal() messages; feedback deraadt@ (djm@)

telnet

  ~ sys_bsd.c                             

  > telnet: check if fd is a tty before calling tcsetattr(fd, TCSADRAIN)
  > ok deraadt@ (semarie@)

tmux

  ~ tmux.1                                

  > Delete a duplicated line
  > ok jmc@ (guenther@)

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

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

installboot

  ~ installboot.c                         

  > give up on pledge for now.
  > this will have to wait until jsing and stsp find time to look at it.
  > (deraadt@)

rcctl

  ~ rcctl.sh                              

  > Better cope with meta rc.d scripts; these are ugly but well... (ajacoutot@)

relayd

  ~ pfe.c                                 ~ pfe_filter.c
  ~ relayd.c                              ~ relayd.h

  > Use pledge("pf") in pfe.c.
  > Move getrtable() from pfe to parent process, since its in the way of
  > pledge.
  > ok deraadt@, feedback from reyk@ on previous version. (benno@)

ypserv

  - stdethers/Makefile                    - stdethers/stdethers.8
  - stdethers/stdethers.c                 - stdhosts/Makefile
  - stdhosts/stdhosts.8                   - stdhosts/stdhosts.c
  ~ Makefile                              ~ ypinit/Makefile.yp
  ~ ypinit/Makefile.yp.8                  

  > Tedu stdethers and stdhosts from /usr/sbin, which are only used in
  > Makefile.yp
  > for creating the hosts.byname, hosts.byaddr ethers.byname and ethers.byaddr
  > YP
  > maps. Replace most of their functionality with sed/awk scripting directly
  > in
  > Makefile.yp.
  > Suggested by and OK deraadt@
  > Feedback from @semarie (rpe@)

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

Reply via email to