Module Name:src
Committed By: maxv
Date: Sat Aug 15 10:24:29 UTC 2015
Modified Files:
src/sys/sys: pax.h
Log Message:
Remove pax_adjust() (does not exist).
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/sys/pax.h
Please note that diffs are not
Module Name:src
Committed By: maxv
Date: Sat Aug 15 10:31:41 UTC 2015
Modified Files:
src/share/man/man9: uvm_km.9
Log Message:
Mention UVM_KMF_EXEC.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/uvm_km.9
Please note that diffs are not
Module Name:src
Committed By: maxv
Date: Wed Aug 12 07:53:58 UTC 2015
Modified Files:
src/sys/arch/acorn26/conf: GENERIC
src/sys/arch/acorn32/conf: EB7500ATX GENERIC INSTALL LOWMEM_WSCONS
src/sys/arch/amd64/conf: XEN3_DOMU
Module Name:src
Committed By: maxv
Date: Fri Jul 24 13:02:52 UTC 2015
Modified Files:
src/sys/compat/common: kern_time_50.c vfs_syscalls_20.c
src/sys/compat/linux/common: linux_socket.c
src/sys/compat/linux32/common: linux32_socket.c
to The NetBSD Foundation
- * by Andrew Doran.
+ * by Andrew Doran and Maxime Villard.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -87,10 +87,10 @@
* Check the pattern on allocation
Module Name:src
Committed By: maxv
Date: Sat Jul 25 08:36:44 UTC 2015
Modified Files:
src/sys/dev/pci: if_ti.c
Log Message:
Memory leak. Same as r1.93. I don't know why Brainy didn't detect it
earlier; or perhaps I forgot to report it.
Found by Brainy.
To generate a
Module Name:src
Committed By: maxv
Date: Wed Jul 22 14:10:45 UTC 2015
Modified Files:
src/sys/arch/evbarm/beagle: beagle_machdep.c
Log Message:
Double compiler branch.
Found by Brainy
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61
Module Name:src
Committed By: maxv
Date: Wed Jul 22 14:25:39 UTC 2015
Modified Files:
src/sys/compat/netbsd32: netbsd32_socket.c
Log Message:
Memory leak, triggerable from an unprivileged user.
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42
Module Name:src
Committed By: maxv
Date: Wed Jul 22 14:06:26 UTC 2015
Modified Files:
src/sys/compat/netbsd32: netbsd32_time.c
Log Message:
Set 'error' properly.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/compat/netbsd32/netbsd32_time.c
Module Name:src
Committed By: maxv
Date: Wed Jul 22 14:18:08 UTC 2015
Modified Files:
src/sys/kern: uipc_syscalls.c
Log Message:
Memory leak. Triggerable from an unprivileged user via COMPAT_43.
To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179
Module Name:src
Committed By: maxv
Date: Fri Jul 24 12:29:55 UTC 2015
Modified Files:
src/sys/kern: uipc_mbuf.c
Log Message:
typo (comment)
To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/sys/kern/uipc_mbuf.c
Please note that diffs are not public
Module Name:src
Committed By: maxv
Date: Sun Oct 25 07:51:16 UTC 2015
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
Uninitialized variable. Found by Brainy.
ok pgoyette@
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75
Module Name:src
Committed By: maxv
Date: Thu Oct 22 11:31:31 UTC 2015
Modified Files:
src/sys/ufs/ffs: ffs_vfsops.c
Log Message:
Fix PR 50070. From hannken@.
To generate a diff of this commit:
cvs rdiff -u -r1.335 -r1.336 src/sys/ufs/ffs/ffs_vfsops.c
Please note that
, 2000, 2005 The NetBSD Foundation, Inc.
+ * Copyright (c) 1994, 2000, 2005, 2015 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
- * by Christos Zoulas.
+ * by Christos Zoulas and Maxime Villard
Module Name:src
Committed By: maxv
Date: Thu Oct 22 11:48:02 UTC 2015
Modified Files:
src/sys/kern: kern_exec.c
Log Message:
Reset the PaX flags, make sure ep_emul_arg is NULL, and add a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.420 -r1.421
Module Name:src
Committed By: maxv
Date: Sat Nov 14 14:01:23 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/amd64/conf: kern.ldscript
Log Message:
KNF, and fix some comments
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79
Module Name:src
Committed By: maxv
Date: Tue Oct 20 14:46:46 UTC 2015
Modified Files:
src/sys/net: if_bridge.c
Log Message:
Harmless alloc inconsistency; make sure the exact same argument is given to
kmem_alloc/kmem_free. Found by Brainy.
To generate a diff of this
Module Name:src
Committed By: maxv
Date: Sun Oct 18 17:13:33 UTC 2015
Modified Files:
src/sys/arch/hppa/hppa: machdep.c
src/sys/arch/m68k/m68k: db_trace.c
Log Message:
Add some {} when the meaning is too ambiguous. From Brainy.
To generate a diff of this commit:
Module Name:src
Committed By: maxv
Date: Sun Oct 18 16:59:19 UTC 2015
Modified Files:
src/sys/compat/linux/common: linux_exec_aout.c
src/sys/compat/sunos: sunos_exec_aout.c
src/sys/compat/sunos32: sunos32_exec_aout.c
Log Message:
Make sure we have space
Module Name:src
Committed By: maxv
Date: Sat Oct 10 10:51:15 UTC 2015
Modified Files:
src/sys/sys: exec.h
Log Message:
Remove the mach entry.
To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/sys/sys/exec.h
Please note that diffs are not public
Module Name:src
Committed By: maxv
Date: Sat Aug 29 12:24:00 UTC 2015
Modified Files:
src/sys/kern: kern_cpu.c
Log Message:
Don't decrement the number of offline cpus if we fail to shut down one.
ok christos@, via tech-kern@
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: maxv
Date: Sat Sep 26 11:16:13 UTC 2015
Modified Files:
src/sys/arch/evbarm/conf: MMNET_GENERIC MPCSA_GENERIC OVERO PANDABOARD
SHEEVAPLUG TS7200 TWINTAIL
src/sys/arch/evbmips/conf: MALTA
src/sys/arch/hppa/conf:
Module Name:src
Committed By: maxv
Date: Sat Sep 26 12:16:28 UTC 2015
Modified Files:
src/sys/fs/efs: efs_subr.c
Log Message:
Curious typo. Harmless. Found by Brainy
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/fs/efs/efs_subr.c
Please note
Module Name:src
Committed By: maxv
Date: Sat Sep 26 16:12:24 UTC 2015
Modified Files:
src/sys/kern: exec_elf.c exec_subr.c kern_exec.c kern_pax.c
src/sys/sys: pax.h
Log Message:
Revamp the way processes are PaX'ed in the kernel. Sent on tech-kern@ two
months ago,
Module Name:src
Committed By: maxv
Date: Sat Sep 26 16:33:16 UTC 2015
Modified Files:
src/sys/arch/alpha/conf: GENERIC
src/sys/arch/amd64/conf: ALL
src/sys/arch/evbarm64/conf: A64EMUL
src/sys/arch/i386/conf: ALL
src/sys/arch/shark/conf:
Module Name:src
Committed By: maxv
Date: Wed Dec 9 16:26:16 UTC 2015
Modified Files:
src/sys/kern: kern_ksyms.c kern_module.c
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/kern/kern_ksyms.c
cvs rdiff -u -r1.108 -r1.109
Module Name:src
Committed By: maxv
Date: Wed Dec 9 18:25:32 UTC 2015
Modified Files:
src/share/man/man9: veriexec.9
src/sys/conf: files
Added Files:
src/sys/dev: veriexec.c
Removed Files:
src/sys/dev: verified_exec.c
Log Message:
Rename
Module Name:src
Committed By: maxv
Date: Wed Dec 16 18:54:03 UTC 2015
Modified Files:
src/sys/arch/i386/i386: trap.c
src/sys/arch/x86/x86: cpu.c
Log Message:
Extend SMEP support to i386 (does not require PAE).
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: maxv
Date: Sun Dec 13 15:02:20 UTC 2015
Modified Files:
src/sys/arch/x86/include: cpu.h cpuvar.h
src/sys/arch/x86/x86: cpu.c identcpu.c
Log Message:
Retrieve cpuid7 (Structured Extended Features) into ci_feat_val.
To generate a diff
Module Name:src
Committed By: maxv
Date: Sun Dec 13 15:53:06 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: trap.c
src/sys/arch/x86/x86: cpu.c
Log Message:
Implement amd64 support for SMEP - Supervisor Mode Execution Protection.
Now, on CPUs that support this
Module Name:src
Committed By: maxv
Date: Sat Dec 12 14:47:37 UTC 2015
Modified Files:
src/sys/kern: sys_module.c
Log Message:
Put the code in charge of handling MODCTL_STAT into a separate function.
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: maxv
Date: Sat Dec 12 14:57:52 UTC 2015
Modified Files:
src/sys/secmodel/extensions: secmodel_extensions.c
Log Message:
secmodel_extensions_system_cb() is not mount-specific, even though
KAUTH_SYSTEM_MOUNT happens to be the only option
Module Name:src
Committed By: maxv
Date: Sat Dec 12 15:27:42 UTC 2015
Modified Files:
src/sys/compat/netbsd32: netbsd32_module.c
Log Message:
Put the code in charge of handling MODCTL_STAT (32bit) into a separate
function. No functional change.
To generate a diff of
Module Name:src
Committed By: maxv
Date: Wed Dec 9 16:55:18 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: copy.S mptramp.S
Log Message:
KNF, and use C-style comments. Also, remove fusword/susword.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20
Module Name:src
Committed By: maxv
Date: Sat Dec 19 13:15:21 UTC 2015
Modified Files:
src/sys/compat/netbsd32: netbsd32_module.c
Log Message:
Missing field (was here before my change).
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4
Module Name:src
Committed By: maxv
Date: Wed Nov 25 16:00:10 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Cosmetic changes.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/amd64/amd64/locore.S
Please note that
Module Name:src
Committed By: maxv
Date: Sat Nov 28 18:08:40 UTC 2015
Modified Files:
src/sys/arch/i386/conf: kern.ldscript
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/i386/conf/kern.ldscript
Please note that diffs are
Module Name:src
Committed By: maxv
Date: Fri Nov 20 11:58:00 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: genassym.cf locore.S
Log Message:
A few changes:
- remove cpu_id and cpu_brand_id (unused)
- copy a comment from i386 about fillkpt
- define PDE_SIZE (i386)
Module Name:src
Committed By: maxv
Date: Sun Nov 22 13:41:24 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: amd64_trap.S autoconf.c bios32.c gdt.c
kgdb_machdep.c linux32_sigcode.S machdep.c mptramp.S
netbsd32_machdep.c spl.S trap.c vector.S
Log
Module Name:src
Committed By: maxv
Date: Sun Nov 22 14:06:08 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Remove cpu_vendorname (unused). It is retrieved later in identcpu.c.
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82
Module Name:src
Committed By: maxv
Date: Sun Nov 22 10:19:00 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Clarify:
- add some comments
- rename some jumps
- KNF
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.80
Module Name:src
Committed By: maxv
Date: Sat Nov 21 12:34:48 UTC 2015
Modified Files:
src/sys/arch/amd64/amd64: copy.S
Log Message:
Remove the amd64 implementation of fuword and suword. They are not used in
the MI+amd64 code - Christos replaced them yesterday by copy*.
Module Name:src
Committed By: maxv
Date: Sun Jun 5 13:44:48 UTC 2016
Modified Files:
src/sys/lib/libsa: alloc.c
Log Message:
Remove the ALLOC_FIRST_FIT and ALLOC_TRACE options. This is a rather simple
allocator, and it does not need to be that complicated.
To generate
Module Name:src
Committed By: maxv
Date: Sun Jun 5 14:06:31 UTC 2016
Modified Files:
src/sys/arch/i386/stand/lib: biosdisk.c exec.c
Log Message:
The bootinfo is refreshed each time the bootloader tries to execute a
kernel, so there's no point in using this global
Module Name:src
Committed By: maxv
Date: Sun Jun 5 14:13:57 UTC 2016
Modified Files:
src/sys/arch/i386/stand/lib: bootinfo.c bootinfo.h exec.c
Log Message:
Don't use a magic value. Define a limit, and enforce it.
To generate a diff of this commit:
cvs rdiff -u -r1.5
Module Name:src
Committed By: maxv
Date: Sun Jun 5 13:33:03 UTC 2016
Modified Files:
src/sys/arch/i386/stand/lib: bootmenu.c menuutils.c
src/sys/lib/libsa: gets.c stand.h
Log Message:
Use gets_s instead of gets. The x86 bootloader prompt is easy to
overflow.
To
Module Name:src
Committed By: maxv
Date: Sat Jun 4 09:52:41 UTC 2016
Modified Files:
src/sys/arch/i386/i386: locore.S
Log Message:
Initialize cpuid_level at compile-time, not run-time. Same as amd64.
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128
Module Name:src
Committed By: maxv
Date: Sat Jun 4 10:19:09 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/i386/i386: locore.S
Log Message:
Use the same instruction layout to map the ISA I/O. No functional
change.
The comment is still
Module Name:src
Committed By: maxv
Date: Sat Jun 4 10:02:12 UTC 2016
Modified Files:
src/sys/arch/i386/i386: locore.S
Log Message:
Define and use fillkpt_blank on i386, like amd64. The PAE case is
included in fillkpt_blank, since PDE_SIZE is either 4 or 8 bytes.
To
$ */
+/* $NetBSD: locore.S,v 1.100 2016/06/04 09:45:57 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -9,7 +9,7 @@
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
- * by Charles M. Hannum and Maxime Villard.
+ * by Charles M. Hannum and by Maxime
Module Name:src
Committed By: maxv
Date: Sat May 28 08:43:17 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Move proc0's stack out of the BOOTSTRAP TABLES, and map it independently
with RW permissions. Reduces the impact of a stack overflow.
To
Module Name:src
Committed By: maxv
Date: Sat May 28 09:03:16 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Define fillkpt_blank, which creates blank entries in a page table. Use
it to map the first MB. No functional change.
To generate a diff
Module Name:src
Committed By: maxv
Date: Sat Jun 4 10:48:12 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/i386/i386: locore.S
Log Message:
The ISA I/O MEM does not need to be executable. Remove the X permission
on it.
To generate a
Module Name:src
Committed By: maxv
Date: Sun May 29 09:16:12 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/i386/i386: locore.S
Log Message:
Define tablesize. Useful when debugging.
To generate a diff of this commit:
cvs rdiff -u -r1.97
Module Name:src
Committed By: maxv
Date: Sun May 29 09:04:20 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Revert rev1.94. It apparently raises a page fault from SMEP. I need to
investigate the whole kernel mappings anyway, so I'll recommit this
Module Name:src
Committed By: maxv
Date: Thu May 26 07:24:55 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/i386/i386: locore.S
Log Message:
There is an issue in the way the fillkpt macro sets up pages on both
amd64 and i386.
The fillkpt
Module Name:src
Committed By: maxv
Date: Sat May 21 07:00:18 UTC 2016
Modified Files:
src/sys/arch/amd64/include: pmap.h
Log Message:
Explain where this value comes from.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amd64/include/pmap.h
Module Name:src
Committed By: maxv
Date: Sat May 21 06:37:28 UTC 2016
Modified Files:
src/sys/uvm: uvm_glue.c
Log Message:
USPACE and USPACE_ALIGN are constants. Use a #if instead. Probably saves
some instructions.
To generate a diff of this commit:
cvs rdiff -u -r1.161
Module Name:src
Committed By: maxv
Date: Sat May 21 07:15:56 UTC 2016
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
There is an issue in the way the direct map is set up on amd64.
When allocating memory, the kernel allocates physical pages and virtual
Module Name:src
Committed By: maxv
Date: Sun May 22 10:11:55 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Save L4's physical address earlier. Also, PDE_SIZE has nothing to do
here, we are just zeroing out the upper 32bits of the 64bit pointer.
Module Name:src
Committed By: maxv
Date: Sun May 22 09:10:37 UTC 2016
Modified Files:
src/sys/uvm: uvm_glue.c
Log Message:
Revert my previous change. I missed an entry on NXR.
To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/sys/uvm/uvm_glue.c
Please
Module Name:src
Committed By: maxv
Date: Wed May 11 17:48:05 UTC 2016
Modified Files:
src/sys/arch/i386/i386: locore.S
Log Message:
Switch to C-style comments, and reduce a little the diff between i386 and
amd64. No functional changes.
To generate a diff of this commit:
Module Name:src
Committed By: maxv
Date: Thu May 12 06:57:55 UTC 2016
Modified Files:
src/sys/arch/amd64/conf: kern.ldscript.Xen
src/sys/arch/i386/conf: kern.ldscript.Xen
Log Message:
KNF the Xen ld scripts on x86.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: maxv
Date: Thu May 12 09:05:16 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/amd64/conf: kern.ldscript
Log Message:
Map the data+bss chunk independently on amd64, and remove the X
permission on it.
To
Module Name:src
Committed By: maxv
Date: Thu May 12 07:51:10 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Define fillkpt_nox, which sets up a set of pages and puts the NOX bit on
them by using nox_flag. Use fillkpt_nox to map the rodata segment
Module Name:src
Committed By: maxv
Date: Thu May 12 06:45:16 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S machdep.c
src/sys/arch/amd64/conf: kern.ldscript
src/sys/arch/i386/conf: kern.ldscript
src/sys/arch/i386/i386: locore.S
Module Name:src
Committed By: maxv
Date: Thu May 12 07:21:18 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/amd64/conf: kern.ldscript
Log Message:
Map the rodata segment independently on amd64, and remove the W permission
on it.
To
Module Name:src
Committed By: maxv
Date: Sat May 14 12:48:31 UTC 2016
Modified Files:
src/sys/arch/amd64/include: pmap.h
Log Message:
KNF so it appears aligned on NXR, and fix a comment.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36
Module Name:src
Committed By: maxv
Date: Mon May 16 07:37:45 UTC 2016
Modified Files:
src/doc: CHANGES
Log Message:
Mention fine-grained permissions and large pages on x86.
To generate a diff of this commit:
cvs rdiff -u -r1.2161 -r1.2162 src/doc/CHANGES
Please note
Module Name:src
Committed By: maxv
Date: Mon May 16 07:52:31 UTC 2016
Modified Files:
src/sys/arch/i386/conf: kern.ldscript.4MB
Log Message:
Update kern.ldscript.4MB. It is the same as kern.ldscript, but with a large
page alignment before rodata.
To generate a diff of
Module Name:src
Committed By: maxv
Date: Sun May 15 07:01:36 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/i386/i386: locore.S
Log Message:
Reduce the diff between amd64 and i386. We invert two instructions on
amd64, but it makes no
Module Name:src
Committed By: maxv
Date: Sun May 15 07:17:53 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: locore.S
src/sys/arch/i386/i386: locore.S
Log Message:
Split the PRELOADED_MODULES+BOOTSTRAP_TABLES chunk into two separate
chunks mapped independently
Module Name:src
Committed By: maxv
Date: Sun May 15 10:35:54 UTC 2016
Modified Files:
src/sys/arch/amd64/amd64: machdep.c
src/sys/arch/i386/i386: machdep.c
src/sys/arch/x86/x86: pmap.c
Log Message:
Explicitly mention MP_TRAMPOLINE in these comments, so
Module Name:src
Committed By: maxv
Date: Fri May 13 11:47:02 UTC 2016
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
Actually, make the NOX part amd64-specific. The secondary CPUs bug is not
yet fixed on i386.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: maxv
Date: Fri May 13 10:18:02 UTC 2016
Modified Files:
src/sys/arch/i386/conf: kern.ldscript
Log Message:
Define __kernel_end.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/i386/conf/kern.ldscript
Please note
Module Name:src
Committed By: maxv
Date: Fri May 13 10:24:42 UTC 2016
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
Remap the rodata and data+bss segments with large pages on x86. There still
is a bug in the way the text segment is mapped, but I'll see later.
Module Name:src
Committed By: maxv
Date: Fri May 13 11:17:20 UTC 2016
Modified Files:
src/sys/arch/amd64/include: pte.h
Log Message:
KNF, so it appears aligned on NXR.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/amd64/include/pte.h
Please
Module Name:src
Committed By: maxv
Date: Fri May 13 05:45:13 UTC 2016
Modified Files:
src/sys/arch/amd64/conf: kern.ldscript.Xen
src/sys/arch/i386/conf: kern.ldscript.Xen
Log Message:
Xen therefore uses x86/db_memrw.c, as I suspected. Define __rodata_start
in the
Module Name:src
Committed By: maxv
Date: Fri May 13 14:09:38 UTC 2016
Modified Files:
src/doc: CHANGES
Log Message:
Mention SMEP.
To generate a diff of this commit:
cvs rdiff -u -r1.2159 -r1.2160 src/doc/CHANGES
Please note that diffs are not public domain; they are
Module Name:src
Committed By: maxv
Date: Fri May 13 13:24:01 UTC 2016
Modified Files:
src/sys/arch/i386/i386: copy.S
Log Message:
KNF a little, use C-style comments, and remove susword/fusword. No
functional changes.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: maxv
Date: Fri May 13 14:03:00 UTC 2016
Modified Files:
src/sys/arch/i386/i386: locore.S
Log Message:
Bring some amd64 swag. No functional changes.
To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117
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
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
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
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
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
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
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
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
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
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
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
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
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
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;
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
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
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
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
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
201 - 300 of 2508 matches
Mail list logo