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

bin/mv                                  bin/pax
bin/rm                                  distrib/sets
distrib/special                         games/tetris
gnu/usr.bin/cvs                         lib/libc
lib/libpcap                             lib/libsndio
regress/sys                             sbin/fdisk
share/man                               sys/dev/pci
sys/kern                                sys/net
usr.bin/bc                              usr.bin/cvs
usr.bin/diff                            usr.bin/file
usr.bin/fstat                           usr.bin/getconf
usr.bin/newsyslog                       usr.bin/rcs
usr.bin/showmount                       usr.bin/tcpbench
usr.bin/tmux                            usr.sbin/bgpd
usr.sbin/cron                           usr.sbin/lpr
usr.sbin/ntpd                           usr.sbin/sa
usr.sbin/snmpd                          usr.sbin/trpt
usr.sbin/ypldap                         usr.sbin/ypserv

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

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

mv

  ~ Makefile                              ~ mv.c
  + cp.c                                  + rm.c

  > direct copy of cp and rm code into mv, so it can avoid fork+exec.
  > some or even most of the code can still be streamlined more.
  > ok deraadt (tedu@)

  ~ cp.c                                  ~ mv.c
  ~ rm.c                                  

  > remove getopt() from the nested cp and rm mains (tedu@)

  ~ cp.c                                  

  > remove Rflag and pflag (1) and rflag (0). (tedu@)

  ~ rm.c                                  

  > trim down the flags in rm (tedu@)

  ~ cp.c                                  

  > remove some more flags (tedu@)

  ~ rm.c                                  

  > overwriting code isn't used (tedu@)

  ~ cp.c                                  ~ rm.c

  > don't need locale header anymore (tedu@)

  ~ rm.c                                  

  > as in rm, needs getpw in pledge (tedu@)

pax

  ~ pat_rep.c                             ~ pax.h

  > int -> size_t for a len field
  > ok guenther@, deraadt@ (mmcc@)

rm

  ~ rm.c                                  

  > Missing "getpw" pledges, these were unnoticed because nobody expects
  > a user_from_uid(3) call... (deraadt@)

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

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

sets

  ~ lists/man/mi                          

  > sync (visa@)

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

  > sync (deraadt@)

special

  ~ mv/Makefile                           

  > sync to mv (deraadt@)

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

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

tetris

  - pathnames.h                           ~ Makefile
  ~ scores.c                              

  > remove setgid flag.
  > in turn, move score files into user's home directory.
  > will let theo buehler continue with a smaller pledge set. (tedu@)

== gnu =============================================================== 04/11 ==

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

usr.bin/cvs

  ~ src/main.c                            

  > Pledge cvs(1).
  > The initial pledge(2) call is broad, we can refine later when we know
  > whether we run in server, pserver client mode or regular client mode.
  > pserver server mode is likely broken, it will either be fixed or
  > removed.
  > With and ok semarie@, "let's proceed." deraadt@ (jca@)

== lib =============================================================== 05/11 ==

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

libc

  ~ gen/pwcache.c                         

  > change passwd caches to be 4-way "associative". still primitive, but a
  > little better than winner take all caching. (tedu@)

libpcap

  ~ etherent.c                            ~ gencode.c
  ~ inet.c                                ~ nametoaddr.c
  ~ optimize.c                            ~ savefile.c

  > memory.h -> string.h
  > ok deraadt@ (mmcc@)

  ~ etherent.c                            ~ gencode.c
  ~ inet.c                                ~ nametoaddr.c
  ~ optimize.c                            ~ pcap-bpf.c
  ~ pcap.c                                ~ savefile.c
  ~ scanner.l                             

  > Remove register keyword.
  > ok deraadt@ (mmcc@)

libsndio

  ~ sio_sun.c                             

  > don't call AUDIO_SETFD ioctl as it's a no-op (ratchov@)

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

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

sys

  ~ dev/video/videotest.c                 

  > Drop a few NULL-checks before free() (mmcc@)

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

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

fdisk

  ~ fdisk.8                               

  > note that -chs and -l are mutually exclusive;
  > from jan stary (jmc@)

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

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

man

  ~ man4/man4.octeon/Makefile             + man4/man4.octeon/cnmac.4

  > Add a manual page for cnmac.
  > ok deraadt@, mpi@, jmc@ (visa@)

  ~ man5/printcap.5                       

  > no more pac; (jmc@)

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

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

dev/pci

  ~ if_bge.c                              

  > shuffle transmit to avoid IFQ_POLL.
  > basically make sure there's enough space in the ring before dequeueing a
  > packet for it.
  > ok mpi@ jmatthew@ (dlg@)

  ~ if_bge.c                              

  > Clear if_timer when shutting down the interface so the watchdog timer
  > doesn't fire a few seconds later.
  > problem reported by Hrvoje Popovski, ok dlg@ (jmatthew@)

kern

  ~ kern_pledge.c                         

  > Allow sysctl kern.clockrate, kern.argmax, kern.ngroups, kern.sysvshm,
  > and kern.posix1version.  Enough to satisfy getconf, and I hope we
  > don't need to add much more after this.
  > Largely from jca (deraadt@)

  ~ kern_pledge.c                         

  > backout removal of SYS_break from stdio, suggested by deraadt@
  > ports using base gcc with PCH include: boost, keepassx, wxWidgets, jdk
  > (sthen@)

net

  ~ route.c                               

  > Unbreak next-hop caching on multipath setups.
  > When multiple gateways are in use, the next-hop entrie might not be
  > on the same interface.  This is due to the fact that ARP entries are
  > unique and attached to their cloning interface.
  > Found the hard way by and ok dlg@ (mpi@)

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

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

bc

  ~ bc.1                                  

  > Clarify sentence about `quit` in BUGS section.
  > From schwarze@, "yes, please" -jmc@ (mmcc@)

cvs

  ~ xmalloc.c                             

  > Merge xmalloc.[ch] files across base, skipping OpenSSH for now.
  > ok nicm (tobias@)

diff

  ~ xmalloc.c                             

  > Merge xmalloc.[ch] files across base, skipping OpenSSH for now.
  > ok nicm (tobias@)

file

  ~ xmalloc.c                             ~ xmalloc.h

  > Merge xmalloc.[ch] files across base, skipping OpenSSH for now.
  > ok nicm (tobias@)

fstat

  ~ fstat.c                               

  > Missing "getpw" pledges, these were unnoticed because nobody expects
  > a user_from_uid(3) call... (deraadt@)

getconf

  ~ getconf.c                             

  > Pledge for getconf(1).  ok deraadt@ benno@
  > kern_pledge.c necessary additions committed earlier by deraadt@ (jca@)

newsyslog

  ~ newsyslog.c                           

  > pledge() in newsyslog.
  > go deraadt@ (benno@)

rcs

  ~ xmalloc.c                             ~ xmalloc.h

  > Merge xmalloc.[ch] files across base, skipping OpenSSH for now.
  > ok nicm (tobias@)

showmount

  ~ showmount.c                           

  > pledge "stdio rpath inet dns" at the head, then after RPC is connected
  > "stdio rpath" (deraadt@)

tcpbench

  ~ Makefile                              

  > Normalize Makefile format, and remove bad advice #BINMODE=2555 (deraadt@)

tmux

  ~ xmalloc.c                             

  > Merge xmalloc.[ch] files across base, skipping OpenSSH for now.
  > ok nicm (tobias@)

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

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

bgpd

  ~ session.c                             

  > in the SE, loosing the pipe to the main process can be handled with a
  > normal shutdown of sessions and exit. no need for fatal().
  > ok henning@ phessler@ florian@ happy deraadt@ (benno@)

  ~ bgpd.c                                

  > pledge() esposes a design issue in bgpd that will take a moment to
  > get right, so disable the pledge() call in bgpd (parent process) for now.
  > ok deraadt@ (benno@)

cron

  ~ crontab.c                             

  > Check for setgid() failure before executing editor and warn if
  > exec of shell + editor fails. (millert@)

  ~ atrun.c                               ~ do_command.c

  > Check pipe(2) return value; noticed by deraadt@ (millert@)

lpr

  - lptest/Makefile                       - lptest/lptest.1
  - lptest/lptest.c                       - pac/Makefile
  - pac/pac.8                             - pac/pac.c
  ~ Makefile                              

  > off to the bitbucket in the sky (deraadt@)

  ~ lpd/lpd.8                             

  > no more pac; (jmc@)

ntpd

  ~ constraint.c                          

  > fix memory leak; from David CARLIER (deraadt@)

sa

  ~ main.c                                

  > pledge "stdio rpath wpath cpath getpw flock".
  > "getpw" for user_from_uid, spotted by benno (deraadt@)

snmpd

  ~ mib.c                                 

  > Sensors marked as invalid should be excluded by snmpd(8) from the sensors
  > MIB just as sysctl(8) excludes them from the 'hw.sensors' tree.
  > OK mikeb@, stehn@ (gerhard@)

trpt

  ~ Makefile                              

  > delete setgid kmem (comments) from a different era (deraadt@)

ypldap

  ~ ldapclient.c                          ~ log.c

  > clean headers (deraadt@)

ypserv

  - yptest/Makefile                       - yptest/yptest.8
  - yptest/yptest.c                       ~ Makefile

  > off to the bitbucket in the sky (deraadt@)

  ~ yppush/yppush_svc.c                   ~ ypserv/ypserv.c

  > include fix. dbm is ndbm and memory is string. ok deraadt. (tedu@)

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

Reply via email to