CVS commit: src/distrib/common/bootimage

2017-02-11 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Feb 11 08:08:00 UTC 2017

Modified Files:
src/distrib/common/bootimage: Makefile.bootimage

Log Message:
Remove leftover "-f" from when this used to be a cp command.

Unbreak the build for install-image target.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/distrib/common/bootimage/Makefile.bootimage

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/amd64/uefi-installimage

2017-02-11 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Feb 11 08:14:05 UTC 2017

Modified Files:
src/distrib/amd64/uefi-installimage: Makefile.bootimage

Log Message:
Clean up another extraneous -f option


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/distrib/amd64/uefi-installimage/Makefile.bootimage

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev

2017-02-11 Thread Nathanial Sloss
Module Name:src
Committed By:   nat
Date:   Sat Feb 11 08:36:31 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
Audio passed the atf test again.


To generate a diff of this commit:
cvs rdiff -u -r1.302 -r1.303 src/sys/dev/audio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/terminfo

2017-02-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Feb 11 09:12:32 UTC 2017

Modified Files:
src/share/terminfo: terminfo

Log Message:
Import terminfo-20170128.src


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/terminfo/terminfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/terminfo

2017-02-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Feb 11 09:15:38 UTC 2017

Modified Files:
src/share/terminfo: terminfo

Log Message:
Sync our changes.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/terminfo/terminfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/stand/efiboot

2017-02-11 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Feb 11 10:13:46 UTC 2017

Modified Files:
src/sys/arch/i386/stand/efiboot: Makefile.efiboot efiboot.c efiboot.h
efimemory.c

Log Message:
efiboot: pass memory map after ExitBootService is called to kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/i386/stand/efiboot/Makefile.efiboot
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/stand/efiboot/efiboot.c \
src/sys/arch/i386/stand/efiboot/efiboot.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/stand/efiboot/efimemory.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/stand/efiboot

2017-02-11 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Feb 11 10:15:55 UTC 2017

Modified Files:
src/sys/arch/i386/stand/efiboot: efiboot.c efiboot.h panic.c

Log Message:
efiboot: don't call WaitForSingleEvent after ExitBootServices is called.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/stand/efiboot/efiboot.c \
src/sys/arch/i386/stand/efiboot/efiboot.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/stand/efiboot/panic.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/stand/lib

2017-02-11 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Feb 11 10:18:10 UTC 2017

Modified Files:
src/sys/arch/i386/stand/lib: exec.c

Log Message:
efiboot: Copy bootinfo to safe arena.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/i386/stand/lib/exec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/stand

2017-02-11 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Feb 11 10:23:39 UTC 2017

Modified Files:
src/sys/arch/i386/stand/efiboot: efiboot.c efiboot.h
src/sys/arch/i386/stand/efiboot/bootx64: efibootx64.c startprog64.S
src/sys/arch/i386/stand/lib: exec.c

Log Message:
PR/51953: fix unable to boot on some AMD machine.

Delayed the timing to copy the kernel to actual address.
copy routine from common/lib/libc/arch/x86_64/string/bcopy.S


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/stand/efiboot/efiboot.c \
src/sys/arch/i386/stand/efiboot/efiboot.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/stand/efiboot/bootx64/efibootx64.c
cvs rdiff -u -r1.2 -r1.3 \
src/sys/arch/i386/stand/efiboot/bootx64/startprog64.S
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/i386/stand/lib/exec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/stand/efiboot

2017-02-11 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Sat Feb 11 10:33:44 UTC 2017

Added Files:
src/sys/arch/i386/stand/efiboot: TODO.efiboot

Log Message:
Added efiboot TODO.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/i386/stand/efiboot/TODO.efiboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/x86

2017-02-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Feb 11 13:22:58 UTC 2017

Modified Files:
src/sys/arch/x86/x86: tprof_amdpmi.c

Log Message:
As the XXX implicitly suggests, this line is wrong. Many other families
support PMCs (like my 10h amd). While here, put a warning in a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/x86/tprof_amdpmi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2017-02-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Feb 11 14:11:25 UTC 2017

Modified Files:
src/sys/arch/x86/include: cpu.h pmap.h
src/sys/arch/x86/x86: cpu.c pmap.c
src/sys/arch/xen/x86: cpu.c

Log Message:
Instead of using a global array with per-cpu indexes, embed the tmp VAs
into cpu_info directly. This concerns only {i386, Xen-i386, Xen-amd64},
because amd64 already has a direct map that is way faster than that.

There are two major issues with the global array: maxcpus entries are
allocated while it is unlikely that common i386 machines have so many
cpus, and the base VA of these entries is not cache-line-aligned, which
mostly guarantees cache-line-thrashing each time the VAs are entered.

Now the number of tmp VAs allocated is proportionate to the number of CPUs
attached (which therefore reduces memory consumption), and the base is
properly aligned.

On my 3-core AMD, the number of DC_refills_L2 events triggered when
performing 5x10^6 calls to pmap_zero_page on two dedicated cores is on
average divided by two with this patch.

Discussed on tech-kern a little.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.239 -r1.240 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/xen/x86/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libterminfo

2017-02-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Feb 11 14:57:15 UTC 2017

Modified Files:
src/lib/libterminfo: compile.c

Log Message:
Following a newline, strip leading whitespace from capability strings.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libterminfo/compile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch

2017-02-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Feb 11 15:05:15 UTC 2017

Modified Files:
src/sys/arch/amd64/include: vmparam.h
src/sys/arch/i386/include: vmparam.h

Log Message:
Remove VM_MAX_KERNEL_BUF (unused). Looks like several other ports could
do the same.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/amd64/include/vmparam.h
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/i386/include/vmparam.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/include

2017-02-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Feb 11 15:11:45 UTC 2017

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
Fix a few (unused) MSR values, and add some others that I believe are
relevant.

>From Murray Armfield (PR/42861).


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/x86/include/specialreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libterminfo

2017-02-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Feb 11 15:13:17 UTC 2017

Modified Files:
src/lib/libterminfo: compile.c

Log Message:
Warn about unprintable characters in capability strings.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libterminfo/compile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2017-02-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Feb 11 15:27:08 UTC 2017

Modified Files:
src: UPDATING

Log Message:
Note a new tic tool is required for the new terminfo database.


To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 src/UPDATING

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/makefs

2017-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 11 15:32:51 UTC 2017

Modified Files:
src/usr.sbin/makefs: makefs.8

Log Message:
mention timezone change for -T timestamp


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/makefs/makefs.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2017-02-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Feb 11 15:37:30 UTC 2017

Modified Files:
src/sys/netinet: if_arp.c

Log Message:
Allow Unicast Poll from RFC 1122 to bypass DaD checking.


To generate a diff of this commit:
cvs rdiff -u -r1.241 -r1.242 src/sys/netinet/if_arp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/amd64/conf

2017-02-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Feb 11 16:02:11 UTC 2017

Modified Files:
src/sys/arch/amd64/conf: Makefile.amd64 kern.ldscript

Log Message:
Put 2MB alignments between the kernel segments. This way the kernel image
is entirely mapped with large pages, which uniformizes performance and
reduces fluctuation. Sent on port-amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/amd64/conf/Makefile.amd64
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/amd64/conf/kern.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/makefs

2017-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 11 16:04:59 UTC 2017

Modified Files:
src/usr.sbin/makefs: makefs.8

Log Message:
untorture language.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/usr.sbin/makefs/makefs.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/file/dist/src

2017-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 11 18:17:29 UTC 2017

Modified Files:
src/external/bsd/file/dist/src: readelf.c

Log Message:
fix reversed logic


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/file/dist/src/readelf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/tests

2017-02-11 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Sat Feb 11 18:47:36 UTC 2017

Modified Files:
src/distrib/sets/lists/tests: mi

Log Message:
Redo rev.1.718, remove trash in line end.


To generate a diff of this commit:
cvs rdiff -u -r1.719 -r1.720 src/distrib/sets/lists/tests/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2017-02-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Feb 11 19:10:05 UTC 2017

Modified Files:
src/doc: TODO.ptrace

Log Message:
Update TODO.ptrace

Remove entries:
 - remove exect(3) from libc - there is no usecase for it

Interface has been marked obsolete and it's on the queue to be removed for.

 - research what happens when a tracee masks signals (including SIGTRAP) and a
   breakpoint is triggered

It has been researched and ATF tests added (signal1 .. signal10).
It's currently broken on NetBSD.

Add:
 - research support PT_SYSCALL & PT_STEP combined like in Linux

There are circumstances when we want to sstep and catch syscall events.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/doc/TODO.ptrace

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS import: src/external/bsd/byacc/dist

2017-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 11 19:30:05 UTC 2017

Update of /cvsroot/src/external/bsd/byacc/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv26740

Log Message:
2017-02-01  Thomas E. Dickey  

* test/btyacc/expr.oxout.error, test/btyacc/expr.oxout.output, 
test/btyacc/expr.oxout.tab.c, test/btyacc/expr.oxout.tab.h, 
test/yacc/expr.oxout.error, test/yacc/expr.oxout.output, 
test/yacc/expr.oxout.tab.c, test/yacc/expr.oxout.tab.h:
RCS_BASE

* package/debian/copyright: update copyright

* reader.c, defs.h, main.c:
avoid using regex.h since some low-end platforms do not have this

* test/expr.oxout.y: RCS_BASE

* configure: regen

* aclocal.m4: quiet a strict gcc warning in CF_MKSTEMP

2017-02-01  Tom.Shields

* main.c, reader.c, defs.h:
process #line directives, like bison and flex

2017-02-01  Thomas E. Dickey  

* VERSION, package/byacc.spec, package/debian/changelog, 
package/mingw-byacc.spec, package/pkgsrc/Makefile:
bump

2016-12-31  Thomas E. Dickey  

* config.guess, config.sub: 2017-01-01

2016-12-02  Thomas E. Dickey  

* test/btyacc/quote_calc4-s.tab.c, test/btyacc/varsyntax_calc1.tab.c, 
test/btyacc/error.tab.c, test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, 
test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, 
test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, 
test/btyacc/pure_error.tab.c, test/btyacc/quote_calc-s.tab.c, 
test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, 
test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, 
test/btyacc/quote_calc3.tab.c, test/btyacc/quote_calc4.tab.c, 
test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, 
test/btyacc/calc3.tab.c, test/btyacc/code_calc.code.c, 
test/btyacc/code_error.code.c, test/btyacc/empty.tab.c, 
test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, 
test/btyacc/err_syntax10.tab.c, test/btyacc/err_syntax11.tab.c, 
test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax18.tab.c, 
test/btyacc/err_syntax20.tab.c, test/btyacc/rename_debug.c, 
test/btyacc/btyacc_calc1.tab.c, test
/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, 
test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, 
btyaccpar.c:
regen

* btyaccpar.skel: changes from NetBSD
+ use YYINT rather than short in btyaccpar.skel
  (some of this had already been done by Tom Shields)
+ remove some casts of malloc/realloc

* yaccpar.c, yaccpar.skel, output.c: changes from NetBSD
- Add some more bison stuff to make the mesa/gallium parser work:
%initial-action (add missing source struct member in location)
%debug (unimplemented)
%error-verbose (unimplemented)

This changes some existing code:
+ yylloc is now a pointer, so
+ the first parameter to YYERROR_DECL() is a pointer
+ struct YYLTYPE now has a "source" field

* test/btyacc/btyacc_demo.tab.h, test/btyacc/code_calc.tab.c, 
test/btyacc/code_error.tab.c, test/btyacc/err_inherit4.tab.h:
regen

* btyaccpar.c, btyaccpar.skel, reader.c: changes from NetBSD
- Add some more bison stuff to make the mesa/gallium parser work:
%initial-action (add missing source struct member in location)
%debug (unimplemented)
%error-verbose (unimplemented)

This changes some existing code:
+ yylloc is now a pointer, so
+ the first parameter to YYERROR_DECL() is a pointer
+ struct YYLTYPE now has a "source" field

* reader.c:
fix from NetBSD: correct off-by-one when adding a null in copy_param()

* reader.c: adapted from NetBSD
- Convert *most* error fingerprints to:
-unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
+unterminated_arglist(const struct ainfo *a)
- Cast new  args to unsigned char

* defs.h: changes from NetBSD
- Add some more bison stuff to make the mesa/gallium parser work:
%initial-action (add missing source struct member in location)
%debug (unimplemented)
%error-verbose (unimplemented)

This changes some existing code:
+ yylloc is now a pointer, so
+ the first parameter to YYERROR_DECL() is a pointer
+ struct YYLTYPE now has a "source" field

* defs.h: adapted from NetBSD
- Convert *most* error fingerprints to:
-unterminated_arglist(int a_lineno, char *a_line, char *a_cptr)
+unterminated_arglist(const struct ainfo *a)
- Cast new  args to unsigned char

* main.c: changes from NetBSD
- Add some more bison stuff to make the mesa/gallium parser work:
%initial-action (add missing source struct member in location)
%debug (unimplemented)
 

CVS commit: src/sys/kern

2017-02-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Feb 11 19:32:41 UTC 2017

Modified Files:
src/sys/kern: sys_ptrace_common.c

Log Message:
Be paranoid about PT_SET_SIGINFO and PT_GET_SIGINFO in ptrace(2)

Currently a tracer is prohibited to read and write memory of a tracee.
Prohibit reading and faking signal information.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/kern/sys_ptrace_common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/byacc/dist

2017-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 11 19:33:13 UTC 2017

Modified Files:
src/external/bsd/byacc/dist: btyaccpar.c btyaccpar.skel defs.h error.c
lalr.c lr0.c main.c mkpar.c mstring.c output.c reader.c verbose.c
yaccpar.c
src/external/bsd/byacc/dist/test: code_calc.y err_inherit4.y
expr.oxout.y
src/external/bsd/byacc/dist/test/btyacc: btyacc_calc1.tab.c
btyacc_demo.tab.c btyacc_demo.tab.h btyacc_destroy1.tab.c
btyacc_destroy2.tab.c btyacc_destroy3.tab.c calc.tab.c calc1.tab.c
calc2.tab.c calc3.tab.c code_calc.code.c code_calc.tab.c
code_calc.tab.h code_error.code.c code_error.tab.c empty.tab.c
err_inherit1.tab.c err_inherit2.tab.c err_inherit3.tab.c
err_inherit4.tab.c err_inherit4.tab.h err_inherit5.tab.c
err_syntax1.tab.c err_syntax10.tab.c err_syntax11.tab.c
err_syntax12.tab.c err_syntax13.tab.c err_syntax14.tab.c
err_syntax15.tab.c err_syntax16.tab.c err_syntax17.tab.c
err_syntax18.tab.c err_syntax19.tab.c err_syntax2.tab.c
err_syntax20.tab.c err_syntax21.tab.c err_syntax22.tab.c
err_syntax23.tab.c err_syntax24.tab.c err_syntax25.tab.c
err_syntax26.tab.c err_syntax27.tab.c err_syntax3.tab.c
err_syntax4.tab.c err_syntax5.tab.c err_syntax6.tab.c
err_syntax7.tab.c err_syntax7a.tab.c err_syntax7b.tab.c
err_syntax8.tab.c err_syntax8a.tab.c err_syntax9.tab.c error.tab.c
expr.oxout.tab.c expr.oxout.tab.h grammar.tab.c inherit0.tab.c
inherit1.tab.c inherit2.tab.c ok_syntax1.tab.c pure_calc.tab.c
pure_error.tab.c quote_calc-s.tab.c quote_calc.tab.c
quote_calc2-s.tab.c quote_calc2.tab.c quote_calc3-s.tab.c
quote_calc3.tab.c quote_calc4-s.tab.c quote_calc4.tab.c
rename_debug.c varsyntax_calc1.tab.c
src/external/bsd/byacc/dist/test/yacc: calc.tab.c calc1.tab.c
calc2.tab.c calc3.tab.c code_calc.code.c code_calc.tab.c
code_calc.tab.h code_error.code.c empty.tab.c err_syntax10.tab.c
err_syntax11.tab.c err_syntax12.tab.c err_syntax18.tab.c
err_syntax20.tab.c error.tab.c expr.oxout.tab.c expr.oxout.tab.h
grammar.tab.c ok_syntax1.tab.c pure_calc.tab.c pure_error.tab.c
quote_calc-s.tab.c quote_calc.tab.c quote_calc2-s.tab.c
quote_calc2.tab.c quote_calc3-s.tab.c quote_calc3.tab.c
quote_calc4-s.tab.c quote_calc4.tab.c rename_debug.c
varsyntax_calc1.tab.c

Log Message:
merge conflicts


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/byacc/dist/btyaccpar.c \
src/external/bsd/byacc/dist/btyaccpar.skel
cvs rdiff -u -r1.10 -r1.11 src/external/bsd/byacc/dist/defs.h
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/byacc/dist/error.c
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/byacc/dist/lalr.c
cvs rdiff -u -r1.9 -r1.10 src/external/bsd/byacc/dist/lr0.c \
src/external/bsd/byacc/dist/mkpar.c src/external/bsd/byacc/dist/verbose.c
cvs rdiff -u -r1.12 -r1.13 src/external/bsd/byacc/dist/main.c
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/byacc/dist/mstring.c
cvs rdiff -u -r1.16 -r1.17 src/external/bsd/byacc/dist/output.c
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/byacc/dist/reader.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/byacc/dist/yaccpar.c
cvs rdiff -u -r1.1.1.7 -r1.2 src/external/bsd/byacc/dist/test/code_calc.y
cvs rdiff -u -r1.1.1.4 -r1.2 src/external/bsd/byacc/dist/test/err_inherit4.y
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/byacc/dist/test/expr.oxout.y
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/bsd/byacc/dist/test/btyacc/btyacc_calc1.tab.c \
src/external/bsd/byacc/dist/test/btyacc/btyacc_demo.tab.c \
src/external/bsd/byacc/dist/test/btyacc/btyacc_demo.tab.h \
src/external/bsd/byacc/dist/test/btyacc/btyacc_destroy1.tab.c \
src/external/bsd/byacc/dist/test/btyacc/btyacc_destroy2.tab.c \
src/external/bsd/byacc/dist/test/btyacc/btyacc_destroy3.tab.c \
src/external/bsd/byacc/dist/test/btyacc/calc.tab.c \
src/external/bsd/byacc/dist/test/btyacc/calc1.tab.c \
src/external/bsd/byacc/dist/test/btyacc/calc2.tab.c \
src/external/bsd/byacc/dist/test/btyacc/calc3.tab.c \
src/external/bsd/byacc/dist/test/btyacc/code_calc.code.c \
src/external/bsd/byacc/dist/test/btyacc/code_calc.tab.c \
src/external/bsd/byacc/dist/test/btyacc/code_calc.tab.h \
src/external/bsd/byacc/dist/test/btyacc/code_error.code.c \
src/external/bsd/byacc/dist/test/btyacc/code_error.tab.c \
src/external/bsd/byacc/dist/test/btyacc/empty.tab.c \
src/external/bsd/byacc/dist/test/btyacc/err_inherit1.tab.c \
src/external/bsd/byacc/dist/test/btyacc/err_inherit2.tab.c \
src/external/bsd/byacc/dist/test/btyacc/err_inherit3.tab.c \
src/external/bsd/byacc/dist/test/btyacc/err_inherit4.tab.c \
src/exter

CVS commit: src/doc

2017-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 11 19:34:23 UTC 2017

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new byacc


To generate a diff of this commit:
cvs rdiff -u -r1.1412 -r1.1413 src/doc/3RDPARTY
cvs rdiff -u -r1.2249 -r1.2250 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/postinstall

2017-02-11 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Feb 11 19:35:45 UTC 2017

Modified Files:
src/usr.sbin/postinstall: postinstall

Log Message:
Don't use slow file_exists_exact if we don't have to.

file_exists_exact function was introduced in 1.26 for the benefit of
cross-building on OS X case-insensitive file system.  It is extremely
slow on diskless machines.  That becomes especially noticeable when
you upgrade a system that has a lot of obsolete files, it can take
literally hours.


To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 src/usr.sbin/postinstall/postinstall

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc64/sparc64

2017-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 11 21:04:29 UTC 2017

Modified Files:
src/sys/arch/sparc64/sparc64: trap.c

Log Message:
make this compile again.


To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 src/sys/arch/sparc64/sparc64/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/evbarm/instkernel/sshramdisk

2017-02-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 11 22:57:01 UTC 2017

Modified Files:
src/distrib/evbarm/instkernel/sshramdisk: Makefile

Log Message:
fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/distrib/evbarm/instkernel/sshramdisk/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc64/sparc64

2017-02-11 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Sat Feb 11 23:41:36 UTC 2017

Modified Files:
src/sys/arch/sparc64/sparc64: trap.c

Log Message:
sun4v: Fix calculation of mmu data fault address (pointer arithmetic)


To generate a diff of this commit:
cvs rdiff -u -r1.186 -r1.187 src/sys/arch/sparc64/sparc64/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2017-02-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Feb 12 05:21:34 UTC 2017

Modified Files:
src/doc: TODO.ptrace

Log Message:
Update TODO.ptrace with new entries

Added entries:
 - add support to read debugger events via a file descriptor in procfs
   (kevent(2)), it's still useful in cases when a parent traces tracee and has
   to call waitpid(2) for its child - as this clashes with GUI toolkits
 - fix more calls for netbsd32 compat

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/doc/TODO.ptrace

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2017-02-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Feb 12 06:09:53 UTC 2017

Modified Files:
src/lib/libc/sys: ptrace.2
src/sys/kern: sys_ptrace_common.c
src/sys/sys: ptrace.h
src/tests/kernel: t_ptrace_wait.c

Log Message:
Introduce new interface in ptrace(2) - PT_GET_SIGMASK and PT_SET_SIGMASK

Add new interface to add ability to get/set signal mask of a tracee.
It has been inspired by Linux PTRACE_GETSIGMASK and PTRACE_SETSIGMASK, but
adapted for NetBSD API.

This interface is used for checkpointing software to set/restore context
of a process including signal mask like criu or just to track this property
in reverse-execution software like Record and Replay Framework (rr).

Add new ATF tests for this interface

getsigmask1:
Verify that plain PT_SET_SIGMASK can be called

getsigmask2:
Verify that PT_SET_SIGMASK reports correct mask from tracee

setsigmask1:
Verify that plain PT_SET_SIGMASK can be called with empty mask

setsigmask2:
Verify that sigmask is preserved between PT_GET_SIGMASK and
PT_SET_SIGMASK

setsigmask3:
Verify that sigmask is preserved between PT_GET_SIGMASK, process
resumed and PT_SET_SIGMASK

setsigmask4:
Verify that new sigmask is visible in tracee

Kernel ABI bump delayed as there are more interfaces to come in ptrace(2).

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/lib/libc/sys/ptrace.2
cvs rdiff -u -r1.13 -r1.14 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.55 -r1.56 src/sys/sys/ptrace.h
cvs rdiff -u -r1.69 -r1.70 src/tests/kernel/t_ptrace_wait.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2017-02-11 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Feb 12 06:16:33 UTC 2017

Modified Files:
src/doc: TODO.ptrace

Log Message:
Update TODO.ptrace

Remove:
 - add PT_SET_SIGMASK and PT_GET_SIGMASK - used by checkpointing software

This interface has been committed to HEAD.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/doc/TODO.ptrace

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.