CVS commit: src/sys

2018-08-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 20 15:04:52 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/conf: GENERIC Makefile.amd64 files.amd64 kern.ldscript src/sys/arch/amd64/include: pmap.h types.h

CVS commit: src/sys/kern

2018-08-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 20 11:46:44 UTC 2018 Modified Files: src/sys/kern: kern_malloc.c subr_kmem.c Log Message: Compute the pointer earlier, not in the return statement. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys/kern

2018-08-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 20 11:35:28 UTC 2018 Modified Files: src/sys/kern: files.kern subr_kmem.c Log Message: Retire KMEM_REDZONE and KMEM_POISON. KMEM_REDZONE is not very efficient and cannot detect read overflows. KASAN can, and will be used in

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

2018-08-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Aug 18 08:45:55 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Simplify the conditions. Fixes compilation of native amd64 without direct map. To generate a diff of this commit: cvs rdiff -u -r1.302 -r1.303

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

2018-08-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 17 14:39:51 UTC 2018 Modified Files: src/sys/arch/amd64/include: pmap.h Log Message: Remove big outdated comment, remove unused macros, remove XXX that has nothing to do here, style. To generate a diff of this commit: cvs

CVS commit: src/dist/pf/share/man

2018-08-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 17 12:36:53 UTC 2018 Modified Files: src/dist/pf/share/man/man4: pflog.4 pfsync.4 src/dist/pf/share/man/man5: pf.conf.5 pf.os.5 Log Message: Add a deprecation note in each of the PF man pages (instead of just pf.4),

CVS commit: src/usr.sbin/npf/npfctl

2018-08-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 17 12:20:49 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Add the values of "algo" in the grammar, and use # as comment marker for man-k.org (and others) not to highlight things in an incorrect wa

CVS commit: src/usr.sbin/npf/npfctl

2018-08-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 17 12:04:20 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Add missing quote in static-rule, it causes man-k.org (and other tools) to wrongly highlight the grammar. To generate a diff of this com

CVS commit: src/usr.sbin/npf/npfctl

2018-08-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 17 10:24:19 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Replace "rproc"->"proc" in the grammar (spotted by he@), and slightly reword. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1

CVS commit: src/usr.sbin/npf/npfctl

2018-08-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 17 10:16:24 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Replace () by [] in tcp-flags. Fix proc-opts, the value is optional, noted by he@. To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/usr.sbin/npf/npfctl

2018-08-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 16 09:58:00 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Improve wording. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/npf/npfctl/npf.conf.5 Please note that diff

CVS commit: src/usr.sbin/npf/npfctl

2018-08-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 16 09:50:37 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Improve the "Map" section a little. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/npf/npfctl/npf.conf.5 Pl

CVS commit: src/usr.sbin/npf/npfctl

2018-08-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 16 09:46:18 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Document the "flags" keyword. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/npf/npfctl/npf.conf.5 Please n

CVS commit: src/usr.sbin/npf/npfctl

2018-08-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 16 09:21:00 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Improve the "Rules" section: better explain the "final" keyword (it is the same as PF's "quick", so use the same wording), and document th

CVS commit: src/usr.sbin/npf/npfctl

2018-08-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 16 08:51:53 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Add quotes around the option names, to match the actual npf conf. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/usr.

CVS commit: src/usr.sbin/npf/npfctl

2018-08-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 16 08:37:51 UTC 2018 Modified Files: src/usr.sbin/npf/npfctl: npf.conf.5 Log Message: Enlighten the "Procedures" section. In particular document the "no-df" option. Also replace "normalisation" -> "normalization", to match t

CVS commit: src/doc

2018-08-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 14 14:56:34 UTC 2018 Modified Files: src/doc: CHANGES Log Message: Note removal of etherip, add entry about ASLR in amd64, and improve the ipkdb entry. To generate a diff of this commit: cvs rdiff -u -r1.2423 -r1.2424 src/

CVS commit: src

2018-08-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 14 14:49:14 UTC 2018 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/man: mi src/doc: TODO.smpnet src/share/man/man4: Makefile src/sys/conf: files src/sys/net: Ma

CVS commit: src/sys/arch

2018-08-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 14 06:37:59 UTC 2018 Modified Files: src/sys/arch/amd64/conf: ALL GENERIC src/sys/arch/evbmips/conf: LINKITSMART7688 src/sys/arch/i386/conf: ALL GENERIC src/sys/arch/ia64/conf: GENERIC.SKI Log Message

CVS commit: src/share/man/man4

2018-08-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 14 06:21:36 UTC 2018 Modified Files: src/share/man/man4: bridge.4 gif.4 tap.4 Log Message: Replace etherip by l2tp in the "see also" sections. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/share/man/man

CVS commit: src/share/man/man4

2018-08-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 14 06:18:46 UTC 2018 Modified Files: src/share/man/man4: l2tp.4 Log Message: Enlighten a little. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/l2tp.4 Please note that diffs are not public

CVS commit: src/sys/arch

2018-08-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 14 06:04:24 UTC 2018 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/i386/conf: ALL GENERIC XEN3PAE_DOM0 XEN3PAE_DOMU Log Message: Enable L2TP on all x86 configurations, not just native amd6

CVS commit: src/sys/arch/xen/xen

2018-08-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 13 15:48:21 UTC 2018 Modified Files: src/sys/arch/xen/xen: xpci_xenbus.c Log Message: Clarify, remove dead code, and add XXXSMP; really this static variable looks like a great bug. To generate a diff of this commit: cvs rd

CVS commit: src/sys/net

2018-08-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 13 09:29:13 UTC 2018 Modified Files: src/sys/net: if_pppoe.c Log Message: Clarify two functions. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/net/if_pppoe.c Please note that diffs are not public

CVS commit: src/doc

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 15:33:36 UTC 2018 Modified Files: src/doc: TODO.kaslr Log Message: mark two entries as done To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/doc/TODO.kaslr Please note that diffs are not public domain; t

CVS commit: src/sys/arch

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 15:31:01 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: genassym.cf locore.S machdep.c prekern.c src/sys/arch/amd64/include: pmap.h src/sys/arch/x86/x86: pmap.c Log Message: More ASLR: randomize the lo

CVS commit: src/sys/arch

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 13:31:16 UTC 2018 Modified Files: src/sys/arch/amd64/include: frameasm.h src/sys/arch/x86/include: pmap.h Log Message: Move the PCPU area from slot 384 to slot 510, to avoid creating too much fragmentation in the

CVS commit: src/sys/arch

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 12:42:54 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c prekern.c src/sys/arch/amd64/include: pmap.h src/sys/arch/amd64/stand/prekern: pdir.h prekern.c src/sys/arch/x86/x86: pmap.c Lo

CVS commit: src/sys/arch

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 12:23:33 UTC 2018 Modified Files: src/sys/arch/amd64/include: pmap.h src/sys/arch/x86/x86: pmap.c svs.c src/sys/arch/xen/x86: cpu.c Log Message: Introduce PDIR_SLOT_USERLIM, which indicates the limit of th

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

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 11:51:42 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Reduce the minefield: zero out the pdir only once, at the beginning of the function. This eliminates one assumption on the order of the VM areas.

CVS commit: src/sys/arch

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 10:50:35 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: pmap.h vmparam.h src/sys/arch/x86/include: pmap.h src/sys/arch/x86/x86: pmap.c Log Message: Randomi

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

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 10:45:27 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Take the last area into account, there is a hole before it. To generate a diff of this commit: cvs rdiff -u -r1.296 -r1.297 src/sys/arch/x86/x8

CVS commit: src/sys/uvm

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 09:29:16 UTC 2018 Modified Files: src/sys/uvm: uvm_amap.c Log Message: Rename 'slotspace' -> 'slotarea' in UVM, to avoid (future) collision with the x86 slotspace structure. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 09:05:52 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/x86/include: pmap.h Log Message: Add a new area, SLAREA_HYPV, which indicates the slots used by the hypervisor, in our case Xen.

CVS commit: src/sys/arch

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 08:17:50 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: pmap.h vmparam.h src/sys/arch/x86/x86: pmap.c Log Message: More ASLR: randomize the kernel main memory. VM_

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

2018-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 06:11:47 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S genassym.cf Log Message: Eliminate the only ASM reference to VM_MIN_KERNEL_ADDRESS. Rename the value to VM_SPACE_SEP_HIGH32, it is now the highest 3

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

2018-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 05:43:42 UTC 2018 Modified Files: src/sys/arch/x86/x86: errata.c Log Message: enable the two errata for AMD Family 16h, tested by mrg@, thanks To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/x

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

2018-08-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 10 17:47:14 UTC 2018 Modified Files: src/sys/arch/arm/conf: files.arm Log Message: remove reference to CPU_ARMV2, suggested by jmcneill@ To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/arch/arm/conf

CVS commit: src/sys/arch/aarch64/aarch64

2018-08-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 10 17:46:06 UTC 2018 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Enlighten a little. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/aarch64/aarch64/locore.S Please note

CVS commit: src/sys/arch/arm

2018-08-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 10 16:17:30 UTC 2018 Modified Files: src/sys/arch/arm/arm: cpufunc.c fiq_subr.S src/sys/arch/arm/arm32: cpu.c fault.c src/sys/arch/arm/conf: files.arm src/sys/arch/arm/include: cpuconf.h cpufunc_proto.

CVS commit: src/sys

2018-08-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 10 07:16:13 UTC 2018 Modified Files: src/sys/dist/pf/net: pf_ioctl.c src/sys/external/bsd/ipf/netinet: ip_fil_netbsd.c Log Message: Fix compilation of PF/IPF... To generate a diff of this commit: cvs rdiff -u -r1.5

CVS commit: src/sys/netinet6

2018-08-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 10 06:55:04 UTC 2018 Modified Files: src/sys/netinet6: in6_offload.c in6_offload.h Log Message: Remove the callback and localify. Same as IPv4. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/netinet6/

CVS commit: src/sys

2018-08-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 10 06:46:09 UTC 2018 Modified Files: src/sys/arch/powerpc/booke/dev: pq3etsec.c src/sys/dist/pf/net: pf_ioctl.c src/sys/external/bsd/ipf/netinet: ip_fil_netbsd.c src/sys/net: if_loop.c src/sys/

CVS commit: src/sys/arch/xen/xen

2018-08-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 10 06:23:12 UTC 2018 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: Don't unconditionally call pmap_extract_ma, it is part of XENNET_DEBUG. This call costs us. To generate a diff of this commit: cvs

CVS commit: src/sys

2018-08-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 9 17:43:55 UTC 2018 Modified Files: src/sys/kern: uipc_mbuf.c src/sys/sys: mbuf.h Log Message: Localify mcl_cache. To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218 src/sys/kern/uipc_mbuf.c cvs rdiff

CVS commit: src/sys/arch/xen/xen

2018-08-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 9 17:32:44 UTC 2018 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Use an independent pool, don't steal pages from mcl_cache. This was a bad hack. No particular functional change, since the (MCLBYTE

CVS commit: src/sys/arch/xen/xen

2018-08-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 9 17:26:00 UTC 2018 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: style a bit To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/xen/xen/xennetback_xenbus.c Please note th

CVS commit: src/sys/arch/x86

2018-08-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 7 10:50:12 UTC 2018 Modified Files: src/sys/arch/x86/include: specialreg.h src/sys/arch/x86/x86: errata.c Log Message: Add five errata for AMD Family 17h (Ryzen etc), tested by Patrick Welche, thanks. Also add two e

CVS commit: src/doc

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 17:34:51 UTC 2018 Modified Files: src/doc: TODO.kaslr Log Message: Mark two entries as done. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/doc/TODO.kaslr Please note that diffs are not public domain;

CVS commit: src/sys/arch/amd64

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 17:18:00 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: prekern.c src/sys/arch/amd64/stand/prekern: prekern.c Log Message: Add a "version" field in the prekern_args structure. The kernel checks it, and if it's

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

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 16:58:00 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: prekern.c Log Message: Don't forget to call init_slotspace when we're booted via the prekern. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/s

CVS commit: src

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 16:26:09 UTC 2018 Modified Files: src/distrib/notes/common: contents src/etc/etc.amd64: Makefile.inc Log Message: Distribute GENERIC_KASLR on amd64. To generate a diff of this commit: cvs rdiff -u -r1.176 -r1.17

CVS commit: src/distrib/notes/common

2018-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 2 16:22:43 UTC 2018 Modified Files: src/distrib/notes/common: contents Log Message: Remove netbsd-INSTALL_XEN3_DOMU.gz (it doesn't exist anymore), and add netbsd-XEN3PAE_DOM0.gz (has always existed, but was apparently forgo

CVS commit: src/sys/arch

2018-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 1 20:04:14 UTC 2018 Modified Files: src/sys/arch/acorn32/conf: EB7500ATX GENERIC INSTALL LOWMEM_WSCONS NC src/sys/arch/algor/conf: P4032 P5064 P6032 src/sys/arch/alpha/conf: GENERIC RAWHIDE src/sys/ar

CVS commit: src/sys/arch

2018-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 1 16:59:10 UTC 2018 Modified Files: src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU src/sys/arch/i386/conf: GENERIC GENERIC_PS2TINY GENERIC_TINY INSTALL_FLOPPY INSTALL_TINY NET4501 XEN3PAE_DOM0 XEN3P

CVS commit: src/doc

2018-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 1 13:41:26 UTC 2018 Modified Files: src/doc: CHANGES Log Message: Note the removal of non-PAE-32bit-PV. To generate a diff of this commit: cvs rdiff -u -r1.2415 -r1.2416 src/doc/CHANGES Please note that diffs are not pub

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

2018-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 1 13:35:01 UTC 2018 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Xen is PAE, so remove ifdefs. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sys/arch/i386/i386/locore.S Please note

CVS commit: src/dist/pf/share/man/man4

2018-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 1 13:30:14 UTC 2018 Modified Files: src/dist/pf/share/man/man4: pf.4 Log Message: Add a bold note to say our PF is obsolete. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/dist/pf/share/man/man4/pf.4 P

CVS commit: src/doc

2018-07-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Jul 31 19:43:24 UTC 2018 Modified Files: src/doc: TODO.npf Log Message: Add new item, about deprecating IPF/PF; I thought it was there, but realized it wasn't. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/do

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

2018-07-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 29 08:02:25 UTC 2018 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Reduce the confusion, rename a bunch of variables and reorg a little. Tested on i386PAE-domU and amd64-dom0. To generate a diff of this co

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

2018-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 27 10:04:22 UTC 2018 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Try to reduce the confusion, rename: l2_4_count -> PDIRSZ count-> nL2 bootstrap_tables -> our_tab

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

2018-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 27 09:37:31 UTC 2018 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Reduce the size of the blocks. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/sys/arch/xen/x86/cpu.c

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

2018-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 27 09:22:40 UTC 2018 Modified Files: src/sys/arch/xen/x86: xen_shm_machdep.c Log Message: style, localify global variables, etc, no real functional change To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/s

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

2018-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 27 07:35:10 UTC 2018 Modified Files: src/sys/arch/amd64/include: pmap.h Log Message: Remove KERN_BASE, unused. It has always been wrong anyway, the value should have been passed into VA_SIGN_NEG(). To generate a diff of th

CVS commit: src/external/cddl/osnet/dev/dtrace/amd64

2018-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 27 07:32:59 UTC 2018 Modified Files: src/external/cddl/osnet/dev/dtrace/amd64: dtrace_isa.c Log Message: Replace KERN_BASE by VM_MIN_KERNEL_ADDRESS. Also add XXX on INKERNEL. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 17:20:09 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/include: xenpmap.h src/sys/arch/xen/include/i386: hypercalls.h src/sys/arch/xen/x86: cpu.c x86_xpmap.c xen_pmap.c Log

CVS commit: src

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 16:22:49 UTC 2018 Modified Files: src/distrib/notes/common: contents src/etc/etc.i386: Makefile.inc src/sys/arch/i386/conf: XEN3PAE_DOM0 XEN3PAE_DOMU Removed Files: src/sys/arch/i386/conf: INSTALL_X

CVS commit: src/sys/arch

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 15:46:09 UTC 2018 Modified Files: src/sys/arch/amd64/conf: ALL src/sys/arch/i386/conf: ALL src/sys/arch/xen/include: xenfunc.h src/sys/arch/xen/x86: x86_xpmap.c Log Message: Retire XENDEBUG_LOW, an

CVS commit: src/sys/arch/xen

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 15:38:26 UTC 2018 Modified Files: src/sys/arch/xen/conf: files.xen src/sys/arch/xen/include: xen.h src/sys/arch/xen/xen: xen_machdep.c Removed Files: src/sys/arch/xen/xen: xen_debug.c Log Message:

CVS commit: src/sys/arch/xen

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 15:26:11 UTC 2018 Modified Files: src/sys/arch/xen/include: xen.h src/sys/arch/xen/xen: xen_debug.c Log Message: Remove dead code. This looks like a leftover from when our Xen port was being developed (2004), and

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

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 15:06:14 UTC 2018 Modified Files: src/sys/arch/xen/x86: xenfunc.c Log Message: Remove dead code. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/xen/x86/xenfunc.c Please note that diffs are n

CVS commit: src/sys/arch

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 09:29:08 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c netbsd32_machdep.c trap.c src/sys/arch/amd64/include: pcb.h userret.h src/sys/arch/i386/i386: locore.S machdep.c trap.c

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

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 08:22:19 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu.c pmap.c Log Message: Remove useless/outdated comments. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/arch/x86/

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

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 08:18:25 UTC 2018 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Merge the blocks. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/arch/xen/x86/x86_xpmap.c Pl

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

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 08:08:24 UTC 2018 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Simplify the conditions; (PTP_LEVELS > 3) and (PTP_LEVELS > 2) are for amd64, so use ifdef __x86_64__. No functional change. To generate a

CVS commit: src/sys/arch

2018-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 25 11:47:07 UTC 2018 Modified Files: src/sys/arch/amd64/include: pmap.h src/sys/arch/i386/include: pmap.h Log Message: Remove NPTECL, unused. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/ar

CVS commit: src/usr.sbin/tprof

2018-07-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Jul 24 10:05:36 UTC 2018 Modified Files: src/usr.sbin/tprof: tprof.8 Log Message: Add a "support" section. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/tprof/tprof.8 Please note that diffs are not

CVS commit: src/usr.sbin/tprof

2018-07-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Jul 24 09:50:37 UTC 2018 Modified Files: src/usr.sbin/tprof: tprof.c Log Message: Use errx, there is no errno. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/tprof/tprof.c Please note that diffs ar

CVS commit: src

2018-07-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Jul 24 09:47:36 UTC 2018 Modified Files: src/distrib/sets/lists/modules: md.amd64 md.i386 src/sys/dev/tprof: tprof_x86_amd.c tprof_x86_intel.c src/sys/modules: Makefile Added Files: src/sys/dev/tprof: tpro

CVS commit: src/sys/arch

2018-07-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 22 15:02:51 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/include: dbregs.h src/sys/arch/x86/x86: dbregs.c Log Message: Clean up dbreg

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

2018-07-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 21 21:26:30 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: I realized the changes I made broke the !aslr conf, so enable aslr by default now rather than later (and rather than adding more ifdefs). Now th

CVS commit: src/sys/arch

2018-07-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 21 16:21:27 UTC 2018 Modified Files: src/sys/arch/i386/i386: cpufunc.S src/sys/arch/x86/x86: cpu_rng.c Log Message: Forgot to commit a change in i386/cpufunc.S; add rdtsc(), so that it can be used in cpu_rng. Restore

CVS commit: src/etc

2018-07-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 21 07:46:56 UTC 2018 Modified Files: src/etc: MAKEDEV.tmpl Log Message: Create /dev/ksyms as "440 $g_kmem". This prevents unprivileged users from reading the kernel symbols. Discussed in January 2018 on tech-kern@, reported

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

2018-07-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 21 06:30:27 UTC 2018 Modified Files: src/sys/arch/amd64/conf: GENERIC_KASLR Log Message: Remove "no options GPROF", we don't have GPROF in the x86 kernels anymore. By the way this caused a warning because GPROF is not deffla

CVS commit: src/doc

2018-07-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 21 06:28:02 UTC 2018 Modified Files: src/doc: CHANGES Log Message: note removal of tpfmt To generate a diff of this commit: cvs rdiff -u -r1.2412 -r1.2413 src/doc/CHANGES Please note that diffs are not public domain; they

CVS commit: src

2018-07-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 21 06:25:29 UTC 2018 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4: tprof.4 Removed Files: src/share/man/man4/man4.x86: tprof_amdpmi.4 tprof_pmi.4 Log Message: Remove the tprof_amdpmi.4 an

CVS commit: src/sys/arch

2018-07-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 21 06:09:14 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S locore.S machdep.c src/sys/arch/x86/include: cpu_rng.h pmap.h src/sys/arch/x86/x86: cpu_rng.c pmap.c Log Message: More ASLR. Randomize

CVS commit: src/sys

2018-07-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 16 06:18:31 UTC 2018 Modified Files: src/sys/arch/x86/conf: files.x86 src/sys/modules/tprof_amdpmi: Makefile src/sys/modules/tprof_pmi: Makefile Added Files: src/sys/dev/tprof: tprof_x86_amd.c tprof_x8

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

2018-07-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 15 08:47:43 UTC 2018 Modified Files: src/sys/arch/x86/include: cpu.h Log Message: Hum. Move the __HAVE_DIRECT_MAP block a little below, otherwise dynamically loaded kernel modules use a wrong offset for some ci_* fields. Fou

CVS commit: src/sys/arch/x86

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 15 06:14:21 UTC 2018 Modified Files: src/sys/arch/x86/x86: tprof_amdpmi.c tprof_pmi.c Removed Files: src/sys/arch/x86/include: tprof.h Log Message: Remove unused x86/include/tprof.h, there should be no need for this

CVS commit: src/doc

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 15 05:25:20 UTC 2018 Modified Files: src/doc: CHANGES Log Message: Note improved tprof and removal of ipkdb. To generate a diff of this commit: cvs rdiff -u -r1.2409 -r1.2410 src/doc/CHANGES Please note that diffs are not

CVS commit: src

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 15 05:16:45 UTC 2018 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/man: mi src/share/examples/secmodel: secmodel_example.c src/share/man/man4: Makefile src/share/man/ma

CVS commit: src/sys/arch

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 14 15:09:41 UTC 2018 Modified Files: src/sys/arch/bebox/conf: INSTALL src/sys/arch/evbarm/conf: ARMADAXP ARMADILLO-IOT-G3 BCM5301X BCM56340 CUBOX CUBOX-I DUOVERO EXYNOS GENERIC GENERIC.common GENERIC64

CVS commit: src/sys/arch

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 14 14:56:02 UTC 2018 Modified Files: src/sys/arch/bebox/conf: INSTALL src/sys/arch/sandpoint/conf: ENCPP1 SANDPOINT Log Message: Remove "options DEBUG_BY_TOOLS", it doesn't exist. To generate a diff of this commit:

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

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 14 14:46:41 UTC 2018 Modified Files: src/sys/arch/x86/x86: via_padlock.c Log Message: Add splhigh() around the FPU code, we don't want to be preempted in the middle, this could corrupt the FPU state and trigger undefined beh

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

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 14 14:34:32 UTC 2018 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Remove ifdef GPROF. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/arch/x86/x86/patch.c Please note that diffs are not

CVS commit: src/sys/arch

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 14 14:29:40 UTC 2018 Modified Files: src/sys/arch/amd64/acpi: acpi_wakeup_low.S src/sys/arch/amd64/amd64: amd64_trap.S copy.S cpufunc.S linux32_sigcode.S lock_stubs.S locore.S netbsd32_sigcode.S spl.S

CVS commit: src/usr.sbin/tprof/arch

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 14 07:54:38 UTC 2018 Modified Files: src/usr.sbin/tprof/arch: tprof_noarch.c Log Message: specialreg.h is x86-specific, don't include it To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/tprof/arch/t

CVS commit: src/usr.sbin/tprof

2018-07-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 14 07:54:04 UTC 2018 Modified Files: src/usr.sbin/tprof: tprof_analyze.c src/usr.sbin/tprof/arch: tprof_x86.c Log Message: Finish the Skylake/Kabylake table, and improve the output of "tprof analyze". To generate a

CVS commit: src/usr.sbin/tprof

2018-07-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 13 12:04:50 UTC 2018 Modified Files: src/usr.sbin/tprof: tprof.8 tprof.c tprof_analyze.c Log Message: Ask for a file path with the "analyze" command, instead of reading stdin. To generate a diff of this commit: cvs rdiff -

<    3   4   5   6   7   8   9   10   11   12   >