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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 09:37:21 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: The NOX bit on large pages does not need to be amd64-specific anymore. The i386 secondary CPUs can now properly handle it. To generate a diff

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 09:51:56 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Actually, put the NOX identification above. Old CPUs do not support the cpuid instruction. To generate a diff of this commit: cvs rdiff -u

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 09:51:56 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Actually, put the NOX identification above. Old CPUs do not support the cpuid instruction. To generate a diff of this commit: cvs rdiff -u

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 08:19:42 UTC 2016 Modified Files: src/sys/arch/i386/conf: kern.ldscript Log Message: Align the segments on i386. We're going to map them independently. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 08:19:42 UTC 2016 Modified Files: src/sys/arch/i386/conf: kern.ldscript Log Message: Align the segments on i386. We're going to map them independently. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 08:34:01 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S mptramp.S Log Message: Fix the secondary CPUs bug in i386. Same as amd64. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 08:34:01 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S mptramp.S Log Message: Fix the secondary CPUs bug in i386. Same as amd64. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 08:39:42 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Define fillkpt_nox on i386, same as amd64. But there is a difference in the way it is done here. If PAE is not enabled, PDE_SIZE = 4, so

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 08:39:42 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Define fillkpt_nox on i386, same as amd64. But there is a difference in the way it is done here. If PAE is not enabled, PDE_SIZE = 4, so

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 08:49:16 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Map rodata and data+bss independently, and give them R and RW with fillkpt_nox. The code is exactly the same as amd64's. To generate a

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 08:49:16 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Map rodata and data+bss independently, and give them R and RW with fillkpt_nox. The code is exactly the same as amd64's. To generate a

CVS commit: src/sys/arch

2016-05-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 12 09:40:23 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: mptramp.S src/sys/arch/i386/i386: mptramp.S Log Message: KNF, and reduce the diff between amd64 and i386. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch

2016-05-12 Thread Maxime Villard
m software contributed to The NetBSD Foundation - * by RedBack Networks Inc. - * - * Author: Bill Sommerfeld + * by RedBack Networks Inc. (Author: Bill Sommerfeld), and Maxime Villard. * * Redistribution and use in source and binary forms, with or without * modification, are permitte

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

2016-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 11 19:35:08 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S mptramp.S Log Message: There is a bug in the way the secondary CPUs are launched on amd64. When CPU0 is launched, EFER_NXE is enabled in it, and it

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

2016-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 11 19:35:08 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S mptramp.S Log Message: There is a bug in the way the secondary CPUs are launched on amd64. When CPU0 is launched, EFER_NXE is enabled in it, and it

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 06:49:34 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Define killkpt, and don't use _RELOC. Same as amd64. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 06:49:34 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Define killkpt, and don't use _RELOC. Same as amd64. To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118

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

2016-05-08 Thread Maxime Villard
Le 07/05/2016 23:13, matthew green a écrit : Joerg Sonnenberger writes: On Sat, May 07, 2016 at 11:49:21AM +, Maxime Villard wrote: Module Name:src Committed By: maxv Date: Sat May 7 11:49:21 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message

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

2016-05-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 8 08:22:58 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Use killkpt for the PML4 entries as well. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85

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

2016-05-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 8 08:30:41 UTC 2016 Modified Files: src/sys/arch/amd64/conf: kern.ldscript Log Message: Define __rodata_start. Will be used soon. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2016-05-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 8 08:22:58 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Use killkpt for the PML4 entries as well. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85

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

2016-05-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 8 08:30:41 UTC 2016 Modified Files: src/sys/arch/amd64/conf: kern.ldscript Log Message: Define __rodata_start. Will be used soon. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2016-05-07 Thread Maxime Villard
Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Charles M. Hannum and Maxime Villard. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

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

2016-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 7 11:49:21 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: clarify To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/arch/amd64/amd64/locore.S Please note that diffs are not

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

2016-05-07 Thread Maxime Villard
The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation - * by RedBack Networks Inc. - * - * Author: Bill Sommerfeld + * by RedBack Networks Inc. (Author: Bill Sommerfeld), and Maxime Villard. * * Redistribution and use

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

2016-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 7 13:08:30 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: mptramp.S Log Message: clarify To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/amd64/amd64/mptramp.S Please note that diffs are

CVS commit: src/sys/ufs/ffs

2016-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 7 11:59:09 UTC 2016 Modified Files: src/sys/ufs/ffs: ffs_subr.c Log Message: uaf To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/ufs/ffs/ffs_subr.c Please note that diffs are not public domain;

CVS commit: src/sys/ufs/ffs

2016-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 7 11:59:09 UTC 2016 Modified Files: src/sys/ufs/ffs: ffs_subr.c Log Message: uaf To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/ufs/ffs/ffs_subr.c Please note that diffs are not public domain;

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

2016-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 7 12:45:56 UTC 2016 Modified Files: src/sys/arch/amd64/conf: kern.ldscript Removed Files: src/sys/arch/amd64/conf: kern.ldscript.2MB largepages.inc Log Message: Large pages are supported by default for the

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

2016-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 7 12:45:56 UTC 2016 Modified Files: src/sys/arch/amd64/conf: kern.ldscript Removed Files: src/sys/arch/amd64/conf: kern.ldscript.2MB largepages.inc Log Message: Large pages are supported by default for the

CVS commit: src/sys/arch

2016-07-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 22 14:08:33 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: pmap.h src/sys/arch/x86/x86: pmap.c Log Message: Remove pmap_prealloc_lowmem_ptps on amd64. This function

CVS commit: src/sys/arch

2016-07-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 22 14:08:33 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: pmap.h src/sys/arch/x86/x86: pmap.c Log Message: Remove pmap_prealloc_lowmem_ptps on amd64. This function

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

2016-07-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 13 15:59:54 UTC 2016 Modified Files: src/sys/compat/linux/arch/i386: linux_machdep.c Log Message: x86_alldisks can be NULL, so don't dereference it. Not tested, but obvious enough. To generate a diff of this commit: cvs

CVS commit: src/sys/arch

2016-07-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 13 15:53:27 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c Log Message: Reorder some instructions, reduces the diff between amd64 and i386. To generate a diff of

CVS commit: src/sys/arch

2016-07-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 13 15:53:27 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c Log Message: Reorder some instructions, reduces the diff between amd64 and i386. To generate a diff of

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

2016-07-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 13 15:59:54 UTC 2016 Modified Files: src/sys/compat/linux/arch/i386: linux_machdep.c Log Message: x86_alldisks can be NULL, so don't dereference it. Not tested, but obvious enough. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/x86

2016-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 25 12:11:40 UTC 2016 Modified Files: src/sys/arch/x86/include: pmap.h src/sys/arch/x86/x86: lapic.c pmap.c Log Message: The L1 entry of the first page of the data segment is overwritten for the LAPIC page, and set

CVS commit: src/sys/arch/x86

2016-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 25 12:11:40 UTC 2016 Modified Files: src/sys/arch/x86/include: pmap.h src/sys/arch/x86/x86: lapic.c pmap.c Log Message: The L1 entry of the first page of the data segment is overwritten for the LAPIC page, and set

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

2016-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 25 15:18:41 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: This needs to be page-aligned anyway. To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136 src/sys/arch/i386/i386/locore.S

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

2016-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 25 15:29:06 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: mptramp.S Log Message: Unused. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amd64/amd64/mptramp.S Please note that diffs are

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

2016-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 25 15:29:06 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: mptramp.S Log Message: Unused. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amd64/amd64/mptramp.S Please note that diffs are

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

2016-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 25 15:18:41 UTC 2016 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: This needs to be page-aligned anyway. To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136 src/sys/arch/i386/i386/locore.S

CVS commit: src/sys/uvm

2016-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 27 16:45:00 UTC 2016 Modified Files: src/sys/uvm: uvm_km.c Log Message: Use UVM_PROT_ALL only if UVM_KMF_EXEC is given as argument. Otherwise, if UVM_KMF_PAGEABLE is also given as argument, only the VA is allocated and UVM

CVS commit: src/sys/uvm

2016-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 27 16:45:00 UTC 2016 Modified Files: src/sys/uvm: uvm_km.c Log Message: Use UVM_PROT_ALL only if UVM_KMF_EXEC is given as argument. Otherwise, if UVM_KMF_PAGEABLE is also given as argument, only the VA is allocated and UVM

CVS commit: src/sys/arch

2016-07-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 24 13:04:58 UTC 2016 Modified Files: src/sys/arch/amd64/acpi: acpi_wakecode.S acpi_wakeup_low.S src/sys/arch/i386/acpi: acpi_wakecode.S acpi_wakeup_low.S Log Message: KNF, and reduce the diff between amd64 and i386.

CVS commit: src/sys/arch

2016-07-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 24 13:04:58 UTC 2016 Modified Files: src/sys/arch/amd64/acpi: acpi_wakecode.S acpi_wakeup_low.S src/sys/arch/i386/acpi: acpi_wakecode.S acpi_wakeup_low.S Log Message: KNF, and reduce the diff between amd64 and i386.

CVS commit: src/sys/arch

2016-07-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 24 14:09:22 UTC 2016 Modified Files: src/sys/arch/i386/acpi: acpi_wakecode.S acpi_wakeup_low.S src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: The MSR EFER state is not saved and restored when sleeping on i386. On

CVS commit: src/sys/arch

2016-07-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 24 14:09:22 UTC 2016 Modified Files: src/sys/arch/i386/acpi: acpi_wakecode.S acpi_wakeup_low.S src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: The MSR EFER state is not saved and restored when sleeping on i386. On

CVS commit: src/sys/kern

2016-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 1 15:41:05 UTC 2016 Modified Files: src/sys/kern: subr_kobj.c Log Message: Don't fail if a module does not have a data or rodata section. Small modules don't have data. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/kern

2016-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 1 15:41:05 UTC 2016 Modified Files: src/sys/kern: subr_kobj.c Log Message: Don't fail if a module does not have a data or rodata section. Small modules don't have data. To generate a diff of this commit: cvs rdiff -u

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

2016-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 1 16:07:39 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: This panic is wrong. There could be two consecutive clusters below avail_start. To generate a diff of this commit: cvs rdiff -u -r1.74

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

2016-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 1 16:07:39 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: This panic is wrong. There could be two consecutive clusters below avail_start. To generate a diff of this commit: cvs rdiff -u -r1.74

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

2016-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 27 12:08:46 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Re-enable large pages on the data segment, but don't map the first page, and add a comment to explain why. We will have to move the LAPIC VA.

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

2016-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 27 12:08:46 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Re-enable large pages on the data segment, but don't map the first page, and add a comment to explain why. We will have to move the LAPIC VA.

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

2016-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 27 13:04:29 UTC 2016 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Call cpu_init_msrs on i386 when waking up. Currently it does not change anything, since MSR_EFER is already enabled earlier. But if we

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

2016-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 27 13:04:29 UTC 2016 Modified Files: src/sys/arch/x86/acpi: acpi_wakeup.c Log Message: Call cpu_init_msrs on i386 when waking up. Currently it does not change anything, since MSR_EFER is already enabled earlier. But if we

CVS commit: src/sys/arch

2016-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 25 16:03:38 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S Log Message: Remove lapic_id, lapic_ppr and lapic_isr. We need to be careful though: the offset of lapic_tpr

CVS commit: src/sys/arch

2016-07-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 25 16:03:38 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S Log Message: Remove lapic_id, lapic_ppr and lapic_isr. We need to be careful though: the offset of lapic_tpr

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 13:29:35 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Use PG_RO instead of a magic zero. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/xen/x86/x86_xpmap.c Please

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 13:25:56 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: KNF, and use PAGE_SIZE instead of NBPG. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/xen/x86/x86_xpmap.c

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 13:25:56 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: KNF, and use PAGE_SIZE instead of NBPG. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/xen/x86/x86_xpmap.c

CVS commit: src/sys/arch

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 14:03:34 UTC 2016 Modified Files: src/sys/arch/amd64/conf: kern.ldscript.Xen src/sys/arch/i386/conf: kern.ldscript.Xen Log Message: Align the segments properly, and split text+rodata in two separate segments on

CVS commit: src/sys/arch

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 14:03:34 UTC 2016 Modified Files: src/sys/arch/amd64/conf: kern.ldscript.Xen src/sys/arch/i386/conf: kern.ldscript.Xen Log Message: Align the segments properly, and split text+rodata in two separate segments on

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 13:29:35 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Use PG_RO instead of a magic zero. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/xen/x86/x86_xpmap.c Please

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 14:21:53 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the kernel text, rodata and data+bss independently on Xen, with respectively RX, R and RW. To generate a diff of this commit: cvs

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 14:21:53 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the kernel text, rodata and data+bss independently on Xen, with respectively RX, R and RW. To generate a diff of this commit: cvs

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

2016-08-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 3 11:51:18 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the recursive slot and page table pages as non-executable on Xen. Same as normal x86. To generate a diff of this commit: cvs rdiff -u

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

2016-08-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 3 11:51:18 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the recursive slot and page table pages as non-executable on Xen. Same as normal x86. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 14:58:29 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: trap.c src/sys/arch/i386/i386: trap.c Log Message: Reduce the diff, and typo. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84

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

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 15:45:39 UTC 2016 Modified Files: src/sys/arch/amd64/include: i82093reg.h Log Message: Use absolute addressing mode, just like the rest. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

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

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 15:45:39 UTC 2016 Modified Files: src/sys/arch/amd64/include: i82093reg.h Log Message: Use absolute addressing mode, just like the rest. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

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

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 15:35:10 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Make the I/O area non-executable on Xen. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/xen/x86/x86_xpmap.c

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

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 15:35:10 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Make the I/O area non-executable on Xen. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/xen/x86/x86_xpmap.c

CVS commit: src/sys/arch

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 14:58:29 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: trap.c src/sys/arch/i386/i386: trap.c Log Message: Reduce the diff, and typo. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84

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

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 15:03:23 UTC 2016 Modified Files: src/sys/arch/i386/i386: trap.c Log Message: This should be VM_MIN_KERNEL_ADDRESS, not KERNBASE. To generate a diff of this commit: cvs rdiff -u -r1.277 -r1.278

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

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 15:03:23 UTC 2016 Modified Files: src/sys/arch/i386/i386: trap.c Log Message: This should be VM_MIN_KERNEL_ADDRESS, not KERNBASE. To generate a diff of this commit: cvs rdiff -u -r1.277 -r1.278

CVS commit: src/sys/netsmb

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:17:35 UTC 2016 Modified Files: src/sys/netsmb: smb_rq.c Log Message: Uninitialized vars, found by brainy To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/netsmb/smb_rq.c Please note that diffs

CVS commit: src/sys/netsmb

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:17:35 UTC 2016 Modified Files: src/sys/netsmb: smb_rq.c Log Message: Uninitialized vars, found by brainy To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/netsmb/smb_rq.c Please note that diffs

CVS commit: src/sys/arch/evbsh3/stand/mesboot/src

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:32:46 UTC 2016 Modified Files: src/sys/arch/evbsh3/stand/mesboot/src: mesboot.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/sys/arch/evbsh3/stand/mesboot/src

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:32:46 UTC 2016 Modified Files: src/sys/arch/evbsh3/stand/mesboot/src: mesboot.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/sys/dev/microcode/aic7xxx

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:52:33 UTC 2016 Modified Files: src/sys/dev/microcode/aic7xxx: aicasm.c Log Message: This thing is completely buggy. There is a use-after-free and NULL pointer dereference. Just fix the uaf, and add a comment. Not

CVS commit: src/sys/dev/microcode/aic7xxx

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:52:33 UTC 2016 Modified Files: src/sys/dev/microcode/aic7xxx: aicasm.c Log Message: This thing is completely buggy. There is a use-after-free and NULL pointer dereference. Just fix the uaf, and add a comment. Not

CVS commit: src/sys/arch/ia64/stand/efi/libefi

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 09:00:52 UTC 2016 Modified Files: src/sys/arch/ia64/stand/efi/libefi: devicename.c Log Message: Uninitialized var, found by brainy. I haven't tested this change, and it may not be the perfect way to fix it. But it seems

CVS commit: src/sys/arch/ia64/stand/ia64/ski

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 09:06:40 UTC 2016 Modified Files: src/sys/arch/ia64/stand/ia64/ski: devicename.c Log Message: Two uninitialized vars, found by brainy. The former is similar to the one I fixed in ia64/stand/efi/libefi/devicename.c. I

CVS commit: src/sys/arch/ia64/stand/ia64/ski

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 09:06:40 UTC 2016 Modified Files: src/sys/arch/ia64/stand/ia64/ski: devicename.c Log Message: Two uninitialized vars, found by brainy. The former is similar to the one I fixed in ia64/stand/efi/libefi/devicename.c. I

CVS commit: src/sys/compat/linux/common

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 09:20:11 UTC 2016 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

CVS commit: src/sys/compat/linux/common

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 09:20:11 UTC 2016 Modified Files: src/sys/compat/linux/common: linux_futex.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

CVS commit: src/sys/dev/if_ndis

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:12:32 UTC 2016 Modified Files: src/sys/dev/if_ndis: if_ndis.c Log Message: Uninitialized var, found by brainy To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/if_ndis/if_ndis.c Please note

CVS commit: src/sys/dev/if_ndis

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:12:32 UTC 2016 Modified Files: src/sys/dev/if_ndis: if_ndis.c Log Message: Uninitialized var, found by brainy To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/if_ndis/if_ndis.c Please note

CVS commit: src/sys/dev/bluetooth

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:20:11 UTC 2016 Modified Files: src/sys/dev/bluetooth: bcsp.c Log Message: Curious typo, found by mootja To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/dev/bluetooth/bcsp.c Please note that

CVS commit: src/sys/dev/bluetooth

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:20:11 UTC 2016 Modified Files: src/sys/dev/bluetooth: bcsp.c Log Message: Curious typo, found by mootja To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/dev/bluetooth/bcsp.c Please note that

CVS commit: src/sys/arch/ia64/stand/common

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:24:05 UTC 2016 Modified Files: src/sys/arch/ia64/stand/common: load_elf64.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/ia64/stand/common

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:24:05 UTC 2016 Modified Files: src/sys/arch/ia64/stand/common: load_elf64.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/sparc/stand/ofwboot

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:29:34 UTC 2016 Modified Files: src/sys/arch/sparc/stand/ofwboot: loadfile_machdep.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/sparc/stand/ofwboot

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:29:34 UTC 2016 Modified Files: src/sys/arch/sparc/stand/ofwboot: loadfile_machdep.c Log Message: Uninitialized var, found by brainy; not tested, but obvious enough To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/if_ndis

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:40:23 UTC 2016 Modified Files: src/sys/dev/if_ndis: if_ndis_pccard.c Log Message: Uninitialized var, found by brainy. FreeBSD fixed it this way four years ago. I haven't tested this change, but it is rather obvious,

CVS commit: src/sys/dev/if_ndis

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:40:23 UTC 2016 Modified Files: src/sys/dev/if_ndis: if_ndis_pccard.c Log Message: Uninitialized var, found by brainy. FreeBSD fixed it this way four years ago. I haven't tested this change, but it is rather obvious,

CVS commit: src/sys/arch/sparc/sparc

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:43:19 UTC 2016 Modified Files: src/sys/arch/sparc/sparc: emul.c Log Message: Return zero instead of error, otherwise it looks like it is supposed to return an error; found by brainy. To generate a diff of this

CVS commit: src/sys/arch/sparc/sparc

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 08:43:19 UTC 2016 Modified Files: src/sys/arch/sparc/sparc: emul.c Log Message: Return zero instead of error, otherwise it looks like it is supposed to return an error; found by brainy. To generate a diff of this

CVS commit: src/sys/arch/ia64/stand/efi/libefi

2016-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 15 09:00:52 UTC 2016 Modified Files: src/sys/arch/ia64/stand/efi/libefi: devicename.c Log Message: Uninitialized var, found by brainy. I haven't tested this change, and it may not be the perfect way to fix it. But it seems

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