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

Makefile.cross                          distrib/miniroot
distrib/sets                            distrib/special
gnu                                     gnu/usr.bin/cxxfilt
gnu/usr.bin/texinfo                     include/Makefile
include/curses.h                        lib
lib/libc                                lib/libcurses
lib/libform                             lib/libocurses
lib/libssl                              regress/sys
sbin/fdisk                              share/man
share/mk                                sys/arch/amd64/amd64
sys/arch/amd64/stand/efi                sys/arch/macppc/dev
sys/arch/sparc/dev                      sys/arch/vax/if
sys/dev/cardbus                         sys/dev/ic
sys/dev/pci                             sys/dev/usb
sys/kern                                sys/net
sys/netinet                             sys/uvm
usr.bin/less                            usr.bin/mandoc
usr.bin/mg                              usr.bin/newsyslog
usr.bin/openssl                         usr.bin/rs
usr.bin/tmux                            usr.sbin/cron
usr.sbin/inetd                          usr.sbin/tftp-proxy
usr.sbin/wsmoused                       

== Makefile.cross ==================================================== 01/11 ==

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

Makefile.cross


  > libocurses can go to the Attic.  last consumer of it was ramdisk more(1)
  > conceptual ok guenther millert nicm (deraadt@)

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

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

miniroot

  ~ makeconf.awk                          

  > no longer need -locurses, since more is selfcontained (deraadt@)

sets

  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

  ~ lists/man/mi                          

  > sync (deraadt@)

special

  ~ ftp/Makefile                          

  > The install media version does not need -lcurses; spotted by krw (deraadt@)

  + more/pathnames.h                      + more/termcap.c
  + more/tgoto.c                          + more/tputs.c

  > Copy the parts of libocurses that are needed directly to here.  We
  > continue using the libocurses varient, since it is smaller.
  > tested by guenther, ok millert (deraadt@)

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

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

gnu

  ~ gcc/gcc/toplev.c                      

  > pledge 'stdio rpath wpath cpath", since that is all large program does.
  > NOTE: cc1 uses brk/sbrk, which was only enabled in pledge a few hours
  > ago. So this requires a fairly new kernel if compiling monster c++
  > programs.. (deraadt@)

usr.bin/cxxfilt

  ~ cxxfilt.c                             

  > Betting pledge "stdio rpath wpath cpath" works for this.  Let's get it into
  > the ports build cycle to find out for sure. (deraadt@)

usr.bin/texinfo

  ~ info/info.c                           ~ info/infokey.c
  ~ makeinfo/makeinfo.c                   ~ util/install-info.c
  ~ util/texindex.c                       

  > info - pledge stdio rpath wpath cpath getpw tty proc exec
  > infokey - stdio rpath wpath cpath tty
  > makeinfo - stdio rpath wpath cpath getpw
  > install-info - stdio rpath wpath cpath proc exec
  > texindex - stdio rpath wpath cpath tmppath
  > ok schwarze (deraadt@)

== include =========================================================== 04/11 ==

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

Makefile

  ~ Makefile                              

  > libocurses can go to the Attic.  last consumer of it was ramdisk more(1)
  > conceptual ok guenther millert nicm (deraadt@)

curses.h

  ~ curses.h                              

  > libocurses can go to the Attic.  last consumer of it was ramdisk more(1)
  > conceptual ok guenther millert nicm (deraadt@)

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

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

lib

  ~ Makefile                              

  > libocurses can go to the Attic.  last consumer of it was ramdisk more(1)
  > conceptual ok guenther millert nicm (deraadt@)

libc

  + include/README                        

  > Give clear directions on how to declare, PROTO_*() and DEF_*() new symbols
  > prodded by deraadt@ (guenther@)

  ~ arch/amd64/SYS.h                      ~ arch/amd64/gen/flt_rounds.S
  ~ arch/amd64/string/bcmp.S              ~ arch/amd64/string/bzero.S
  ~ arch/amd64/string/ffs.S               ~ arch/amd64/string/memchr.S
  ~ arch/amd64/string/memmove.S           ~ arch/amd64/string/memset.S
  ~ arch/amd64/string/strchr.S            ~ arch/amd64/string/strcmp.S
  ~ arch/amd64/string/strlen.S            ~ arch/amd64/string/strrchr.S
  + arch/amd64/DEFS.h                     

  > Split the non-syscall ASM bits from SYS.h into DEFS.h and use that in the
  > non-syscall .S source
  > ok millert@ miod@ (guenther@)

libcurses

  ~ term.h                                

  > libocurses can go to the Attic.  last consumer of it was ramdisk more(1)
  > conceptual ok guenther millert nicm (deraadt@)

libform

  ~ form_cursor.3                         ~ form_data.3
  ~ form_field.3                          ~ form_field_attributes.3
  ~ form_field_buffer.3                   ~ form_field_info.3
  ~ form_field_just.3                     ~ form_field_new.3
  ~ form_field_opts.3                     ~ form_field_userptr.3
  ~ form_field_validation.3               ~ form_fieldtype.3
  ~ form_hook.3                           ~ form_new.3
  ~ form_new_page.3                       ~ form_opts.3
  ~ form_page.3                           ~ form_post.3
  ~ form_requestname.3                    ~ form_userptr.3
  ~ form_win.3                            

  > update the NAME section; ok nicm schwarze (jmc@)

libocurses

  - Makefile                              - addbytes.c
  - addch.c                               - addnstr.c
  - box.c                                 - clear.c
  - clrtobot.c                            - clrtoeol.c
  - cr_put.c                              - ctrace.c
  - cur_hash.c                            - curses.c
  - curses.h                              - delch.c
  - deleteln.c                            - delwin.c
  - erase.c                               - fullname.c
  - getch.c                               - getstr.c
  - id_subwins.c                          - idlok.c
  - initscr.c                             - insch.c
  - insertln.c                            - longname.c
  - move.c                                - mvwin.c
  - newwin.c                              - ocurses.3
  - otermcap.3                            - overlay.c
  - overwrite.c                           - pathnames.h
  - printw.c                              - putchar.c
  - refresh.c                             - scanw.c
  - scroll.c                              - setterm.c
  - shlib_version                         - standout.c
  - termcap.c                             - tgoto.c
  - toucholap.c                           - touchwin.c
  - tputs.c                               - tscroll.c
  - tstp.c                                - tty.c
  - unctrl.c                              - EXAMPLES/ex1.c
  - PSD.doc/Makefile                      - PSD.doc/Master
  - PSD.doc/appen.A                       - PSD.doc/appen.B
  - PSD.doc/appen.C                       - PSD.doc/c_macros
  - PSD.doc/doc.I                         - PSD.doc/doc.II
  - PSD.doc/doc.III                       - PSD.doc/doc.IV
  - PSD.doc/ex1.c                         - PSD.doc/ex2.c
  - PSD.doc/fns.doc                       - PSD.doc/intro.0
  - PSD.doc/intro.1                       - PSD.doc/intro.2
  - PSD.doc/intro.3                       - PSD.doc/intro.4
  - PSD.doc/intro.5                       - PSD.doc/intro.6
  - PSD.doc/life.c                        - PSD.doc/macros
  - PSD.doc/twinkle1.c                    - PSD.doc/twinkle2.c
  - PSD.doc/win_st.c                      - TEST/tc1.c
  - TEST/tc2.c                            - TEST/tc3.c

  > libocurses can go to the Attic.  last consumer of it was ramdisk more(1)
  > conceptual ok guenther millert nicm (deraadt@)

libssl

  ~ src/crypto/sha/asm/sha512-ppc.pl      

  > Various *syncron* -> *synchron* typos. (miod@)

  ~ src/crypto/sha/asm/sha512-ppc.pl      

  > mutli -> multi (miod@)

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

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

sys

  ~ kern/pledge/generic/tests.out         

  > regress: pledge: update SYS_kill syscall number (semarie@)

  ~ fifofs/fifotest.c                     

  > Various *syncron* -> *synchron* typos. (miod@)

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

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

fdisk

  ~ fdisk.c                               

  > If none of -i, -u or -e are specified exit immediately after the
  > MBR or GPT is printed. Do not attempt to read the MBR template file,
  > construct an initial mbr, etc. (krw@)

  ~ fdisk.c                               

  > pledge("stdio", NULL) for code path that just prints the MBR or GPT. i.e.
  > when none of -i, -e or -u are specified.
  > Prodded by deraadt@ (krw@)

  ~ fdisk.c                               

  > Consolidate usage() checking for -c/-h/-s with other checks. Tweak
  > usage() verbiage a bit so it's clear all of '-c -h -s' are required
  > if any are used. (krw@)

  ~ disk.c                                ~ fdisk.c

  > Since -l is ignored if -c/-h/-s are specified, make that combination
  > invalid and mention the constraint in usage(). Modify the appropriate
  > field(s) of the global 'disk' as -l/-c/-h/-s are encountered. As a
  > result use the disklabel information to populate the global 'disk'
  > only when it has not already been populated. Move test for 'disk'
  > validity into DISK_open(). (krw@)

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

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

man

  ~ man7/Makefile                         

  > the mandoc(7) mlink is useless; zapping now, at ingo's behest (jmc@)

  ~ man5/Makefile                         

  > remove pointless resolver(5) mlink: if you want this file, ask for
  > it by name (typing "man resolver" won;t get you it anyway);
  > explicit removal urged by ingo (jmc@)

  ~ man4/man4.sgi/macebus.4               

  > pci at macepcibr, not macepcbir; (jmc@)

  ~ man4/Makefile                         

  > knock out obsolete mlinks for srandom and urandom; (jmc@)

  ~ man7/Makefile                         

  > no need for a mirror-maker(7) mlink;
  > suggested by schwarze; ok sthen (jmc@)

  ~ man3/intro.3                          

  > libocurses can go to the Attic.  last consumer of it was ramdisk more(1)
  > conceptual ok guenther millert nicm (deraadt@)

mk

  ~ bsd.README                            ~ bsd.prog.mk

  > libocurses can go to the Attic.  last consumer of it was ramdisk more(1)
  > conceptual ok guenther millert nicm (deraadt@)

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

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

arch/amd64/amd64

  ~ vmm.c                                 

  > Fix a missing unlock.
  > From Stefan Kempf sn.kempf at t-online.de (mlarkin@)

arch/amd64/stand/efi

  ~ include/efinet.h                      

  > mutli -> multi (miod@)

arch/macppc/dev

  ~ if_bm.c                               ~ if_mc.c

  > No need to include <net/bpfdesc.h>
  > Now that "struct bpf_d" depends on <sys/srp.h> this is one of the offender
  > for removing the header from <sys/param.h> (mpi@)

arch/sparc/dev

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

  > No need to include <net/bpfdesc.h>
  > Now that "struct bpf_d" depends on <sys/srp.h> this is one of the offender
  > for removing the header from <sys/param.h> (mpi@)

arch/vax/if

  ~ if_qe.c                               ~ sgec.c

  > No need to include <net/bpfdesc.h>
  > Now that "struct bpf_d" depends on <sys/srp.h> this is one of the offender
  > for removing the header from <sys/param.h> (mpi@)

dev/cardbus

  ~ com_cardbus.c                         

  > Various *syncron* -> *synchron* typos. (miod@)

dev/ic

  ~ aic7xxxvar.h                          

  > Various *syncron* -> *synchron* typos. (miod@)

  ~ re.c                                  ~ ti.c

  > Do not include <net/if_vlan_var.h> when it's not necessary.
  > Because of the VLAN hacks in mpw(4) this file still contains the definition
  > of "struct ifvlan" which depends on <sys/refcnt.h> which in turns pull
  > <sys/atomic.h>... (mpi@)

dev/pci

  ~ pucdata.c                             

  > Various *syncron* -> *synchron* typos. (miod@)

  ~ if_bge.c                              ~ if_bnxreg.h
  ~ if_em.h                               ~ if_et.c
  ~ if_ixgb.h                             ~ if_msk.c
  ~ if_nfe.c                              ~ if_nge.c
  ~ if_oce.c                              ~ if_sk.c
  ~ if_stge.c                             ~ if_txp.c
  ~ if_vge.c                              ~ if_vmx.c
  ~ if_vte.c                              ~ if_xge.c

  > Do not include <net/if_vlan_var.h> when it's not necessary.
  > Because of the VLAN hacks in mpw(4) this file still contains the definition
  > of "struct ifvlan" which depends on <sys/refcnt.h> which in turns pull
  > <sys/atomic.h>... (mpi@)

dev/usb

  ~ ehci.c                                

  > Add missing header found while removing <sys/srp.h> from <sys/param.h>
  > (mpi@)

kern

  ~ kern_pledge.c                         

  > For pledge "stdio", allow the break(2) system call which backends the
  > brk/sbrk
  > library routines.  The manpage declares, in bold:
  > The brk() and sbrk() functions are historical curiosities left over from
  > earlier days before the advent of virtual memory management.
  > In our base tree, only one program uses these functions -- cc1 in the
  > gcc toolset.  A historical curiosity using a historical curiosity, how
  > quaint.  brk is used because precompiled c headers are not position
  > independent.  Another program which relies upon brk is emacs.  Other
  > uses of brk are EXCEEDINGLY RARE, because most software grew up and
  > use modern practices such as malloc and mmap, thereby gaining ASLR
  > benefits.  Position independence has become an important part of
  > mitigations.  These two programs fight such improvements.
  > Permitting brk/sbrk allows the large attack surface of cc1 to be pledged.
  > "I would rather have cc1 pledged than purity in pledge" guenther (deraadt@)

  ~ kern_pledge.c                         ~ vfs_syscalls.c

  > Add pathconf() to pledge "rpath"; ok guenther (deraadt@)

net

  ~ pipex_local.h                         

  > mutli -> multi (miod@)

netinet

  ~ ip_input.c                            

  > Grab the KERNEL_LOCK around ip_mforward(), in preparation for unlocking
  > ip_input().
  > Note that ipmforwarding is not enabled by default.
  > ok deraadt@, phessler@ (mpi@)

  ~ ip_mroute.c                           

  > Remove mrtdebug and reduce differences with the v6 version.
  > Debug informations can already be accessed via mrtstat and pimstat. (mpi@)

uvm

  ~ uvm_map.c                             

  > mutli -> multi (miod@)

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

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

less

  ~ main.c                                

  > Correct check flipped in earlier commit.
  > Eliminate unnecessary isupper() tests before tolower() use
  > ok millert@ (guenther@)

  ~ lesskey.c                             

  > Symbol table tells me to use pledge "stdio rpath wpath cpath" (deraadt@)

mandoc

  ~ main.c                                

  > Fix an issue reported by deraadt@:  When hitting Ctrl-Backslash (= SIGQUIT)
  > in the less(1) spawned by man(1), man(1) died uncleanly, leaving behind
  > its temp files, and killed less(1) uncleanly as well with SIGPIPE,
  > leaving the terminal in the wrong state.
  > Fix this by giving less(1) its own process group and handing it
  > control of the terminal, but in such a way that Ctrl-z (= SIGSTOP)
  > still works: In that case, let man(1) stop itself, too, and let it
  > continue the pager when it continues itself.
  > Joint work with millert@ who contributed most of the expertise
  > required, and also most parts of the code.
  > OK deraadt@ millert@ (schwarze@)

mg

  ~ theo.c                                

  > The people who wrote this code are not on your side (sthen@)

newsyslog

  ~ newsyslog.8                           

  > these files document their config files too: adjust NAME accordingly;
  > ok schwarze (jmc@)

openssl

  ~ apps.c                                ~ req.c

  > mutli -> multi (miod@)

rs

  ~ rs.c                                  

  > Fix the obvious bug that with -z, every column was at least as wide
  > as the previous one.  While here, shorten the -z code by one line.
  > (schwarze@)

tmux

  ~ input.c                               

  > Log more of UTF-8 input. (nicm@)

  ~ client.c                              ~ cmd-capture-pane.c
  ~ cmd-load-buffer.c                     ~ cmd-queue.c
  ~ cmd-save-buffer.c                     ~ control.c
  ~ server-client.c                       ~ server-fn.c
  ~ server.c                              ~ tmux.c
  ~ tmux.h                                

  > Push stdout and stderr to clients more aggressively, and add an event to
  > continue if the send fails. (nicm@)

  ~ input.c                               ~ key-string.c
  ~ screen-write.c                        ~ tmux.h
  ~ tty-keys.c                            ~ utf8.c

  > Be more strict about invalid UTF-8. (nicm@)

  ~ key-string.c                          ~ tty-keys.c

  > Couple of assignments to remove compiler warnings. (nicm@)

  ~ utf8.c                                

  > Rename a variable in utf8_combine for consistency and use 0xfffd for
  > unknown Unicode. (nicm@)

  ~ input-keys.c                          ~ input.c
  ~ key-string.c                          ~ screen-write.c
  ~ tmux.h                                ~ tty-keys.c
  ~ utf8.c                                

  > All these return values from utf8_* are confusing, use an enum. (nicm@)

  ~ utf8.c                                

  > The private use area at U+E000 to U+F8FF is not very useful if it is
  > width 0, make it width 1 instead. (nicm@)

  ~ input.c                               

  > The character is an int so use %x not %hhx. (nicm@)

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

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

cron

  ~ atrun.c                               ~ cron.c
  ~ crontab.c                             ~ database.c
  ~ do_command.c                          ~ entry.c
  ~ funcs.h                               ~ misc.c

  > Remove log_it() and call syslog(3) directly using the same format:
  > "(username) WHAT (details)".  Logs due to normal operation (e.g.
  > crontab operations or running commands) are logged at LOG_INFO like
  > before.  Actual errors are logged at LOG_ERR, less important things
  > are logged at LOG_WARNING OR LOG_NOTICE.  Also ignore SIGHUP now
  > that there is no log file to reopen. (millert@)

  ~ cron.c                                

  > Cleanup from unifdef: set sact.sa_flags to SA_RESTART instead of
  > clearing it and then ORin in SA_RESTART. (millert@)

inetd

  ~ inetd.8                               

  > these files document their config files too: adjust NAME accordingly;
  > ok schwarze (jmc@)

tftp-proxy

  ~ tftp-proxy.c                          

  > pledge "stdio inet sendfd" before entering main loop in network speaking
  > child.  (All those I asked to test timed out before commit, so now they
  > get to test for real...) (deraadt@)

wsmoused

  ~ wsmoused.8                            

  > remove the machine arch from Dt - this file gets installed on more
  > than one arch;
  > ok schwarze (jmc@)

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

Reply via email to