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

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 20:18:27 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Avoid VLA to appease stack-protector This has been reproduced with -O0 and -fsanitize=undefined. To generate a diff of this commit: cvs

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

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 20:18:27 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Avoid VLA to appease stack-protector This has been reproduced with -O0 and -fsanitize=undefined. To generate a diff of this commit: cvs

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

2019-09-05 Thread Kamil Rytarowski
On 05.09.2019 14:57, Maxime Villard wrote: > Module Name: src > Committed By: maxv > Date: Thu Sep 5 12:57:30 UTC 2019 > > Modified Files: > src/sys/arch/amd64/amd64: lock_stubs.S > > Log Message: > Remove unused, and style. > > > To generate a diff of this commit: > cvs rdiff

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

2019-09-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 5 12:57:30 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: lock_stubs.S Log Message: Remove unused, and style. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/amd64/amd64/lock_stubs.S

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

2019-09-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 5 12:57:30 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: lock_stubs.S Log Message: Remove unused, and style. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/amd64/amd64/lock_stubs.S

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

2019-08-24 Thread Maxime Villard
Le 21/08/2019 à 23:47, matthew green a écrit : "Maxime Villard" writes: Module Name:src Committed By: maxv Date: Wed Aug 21 16:35:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Switch from printf to panic. These messages were notorious for

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

2019-08-21 Thread matthew green
"Maxime Villard" writes: > Module Name: src > Committed By: maxv > Date: Wed Aug 21 16:35:10 UTC 2019 > > Modified Files: > src/sys/arch/amd64/amd64: locore.S > > Log Message: > Switch from printf to panic. These messages were notorious for being > unreadable, and at least a clean

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 17:14:05 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Style and cleanup. To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/sys/arch/amd64/amd64/trap.c Please note that diffs

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 17:14:05 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Style and cleanup. To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/sys/arch/amd64/amd64/trap.c Please note that diffs

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 17:06:36 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Remove the single-step check, it is wrong. There is no way we could single-step on these entry points. If there were, we would be running

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 17:06:36 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Remove the single-step check, it is wrong. There is no way we could single-step on these entry points. If there were, we would be running

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 16:35:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Switch from printf to panic. These messages were notorious for being unreadable, and at least a clean panic allows the user to inspect the

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 16:35:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Switch from printf to panic. These messages were notorious for being unreadable, and at least a clean panic allows the user to inspect the

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 12:46:56 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Style and remove dead stuff. To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 12:46:56 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Style and remove dead stuff. To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 12:33:12 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Don't depend on #ifdef USER_LDT in cpu_mcontext32_validate(), but rather on whether the proc uses a user-set LDT. Same as

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

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 12:33:12 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Don't depend on #ifdef USER_LDT in cpu_mcontext32_validate(), but rather on whether the proc uses a user-set LDT. Same as

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

2019-08-20 Thread Kamil Rytarowski
On 07.08.2019 08:28, Maxime Villard wrote: > Module Name: src > Committed By: maxv > Date: Wed Aug 7 06:28:03 UTC 2019 > > Modified Files: > src/sys/arch/amd64/conf: GENERIC > > Log Message: > Sync with reality. > > Can we enable USER_LDT by default in GENERIC? > To generate

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

2019-08-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 7 06:28:03 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Sync with reality. To generate a diff of this commit: cvs rdiff -u -r1.532 -r1.533 src/sys/arch/amd64/conf/GENERIC Please note that diffs

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

2019-08-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 7 06:28:03 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Sync with reality. To generate a diff of this commit: cvs rdiff -u -r1.532 -r1.533 src/sys/arch/amd64/conf/GENERIC Please note that diffs

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

2019-08-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 01:34:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Do not dereference user pointer in ptrace_machdep_dorequest()/amd64 Always use copyin(9) for reading user memory. This fixes

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

2019-08-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 01:34:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Do not dereference user pointer in ptrace_machdep_dorequest()/amd64 Always use copyin(9) for reading user memory. This fixes

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

2019-08-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Aug 1 13:48:50 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add ena(4). To generate a diff of this commit: cvs rdiff -u -r1.531 -r1.532 src/sys/arch/amd64/conf/GENERIC Please note that diffs are

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

2019-08-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Aug 1 13:48:50 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add ena(4). To generate a diff of this commit: cvs rdiff -u -r1.531 -r1.532 src/sys/arch/amd64/conf/GENERIC Please note that diffs are

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

2019-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jul 24 16:36:48 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: Remove XENPV-specific %ss/%cs handling, it doens't seem to be needed with newer hypervisors (tested with 4.6 and

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

2019-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jul 24 16:36:48 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: Remove XENPV-specific %ss/%cs handling, it doens't seem to be needed with newer hypervisors (tested with 4.6 and

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

2019-07-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 24 06:35:04 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: USE + To generate a diff of this commit: cvs rdiff -u -r1.530 -r1.531 src/sys/arch/amd64/conf/GENERIC Please note that diffs are not

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

2019-07-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 24 06:35:04 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: USE + To generate a diff of this commit: cvs rdiff -u -r1.530 -r1.531 src/sys/arch/amd64/conf/GENERIC Please note that diffs are not

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

2019-07-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 20 18:25:11 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c process_machdep.c Log Message: Restore the ability to debug a 32 bit process from a 64 bit debugger: - add a function to validate a 64

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

2019-07-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 20 18:25:11 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c process_machdep.c Log Message: Restore the ability to debug a 32 bit process from a 64 bit debugger: - add a function to validate a 64

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

2019-07-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 13 17:03:01 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Use common code for SMEP/SMAP panic to print more information and allow debugging. To generate a diff of this commit: cvs rdiff -u

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

2019-07-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 13 17:03:01 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Use common code for SMEP/SMAP panic to print more information and allow debugging. To generate a diff of this commit: cvs rdiff -u

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

2019-06-28 Thread Christos Zoulas
In article , Maxime Villard wrote: > >This isn't correct, with USER_LDT the 32bit LWPs may have non-default segregs, >besides it is really dumb to mix 32 and 64bit code, part of the reasons why >I dropped the thing Yes, it is still missing the check that the compat_netbsd32 function had.

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

2019-06-27 Thread Maxime Villard
Le 27/06/2019 à 04:00, Christos Zoulas a écrit : Module Name:src Committed By: christos Date: Thu Jun 27 02:00:31 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Although this is correct, I will let maxv commit it. Still waiting. To generate

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

2019-06-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 27 02:00:31 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Although this is correct, I will let maxv commit it. Still waiting. To generate a diff of this commit: cvs rdiff -u -r1.333 -r1.334

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

2019-06-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 27 02:00:31 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Although this is correct, I will let maxv commit it. Still waiting. To generate a diff of this commit: cvs rdiff -u -r1.333 -r1.334

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

2019-06-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 27 01:59:30 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: don't cast void * To generate a diff of this commit: cvs rdiff -u -r1.332 -r1.333

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

2019-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 17 03:31:58 UTC 2019 Modified Files: src/sys/arch/amd64/conf: MODULAR Log Message: complete the list of filesystems and enable ffs as a module. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2019-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jun 17 03:31:58 UTC 2019 Modified Files: src/sys/arch/amd64/conf: MODULAR Log Message: complete the list of filesystems and enable ffs as a module. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2019-06-12 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jun 12 23:17:40 UTC 2019 Modified Files: src/sys/arch/amd64/conf: NOCOMPAT Log Message: Fix typo in comment (missing 'need') To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amd64/conf/NOCOMPAT

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

2019-06-12 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Wed Jun 12 23:17:40 UTC 2019 Modified Files: src/sys/arch/amd64/conf: NOCOMPAT Log Message: Fix typo in comment (missing 'need') To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amd64/conf/NOCOMPAT

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

2019-06-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jun 12 14:28:38 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Add missing address check. This broke things like: crash -w w /l ipsec_debug 1 with an invalid address, because it

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

2019-06-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jun 12 14:28:38 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Add missing address check. This broke things like: crash -w w /l ipsec_debug 1 with an invalid address, because it

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

2019-06-04 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Tue Jun 4 16:30:19 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: compat32: Implement PT_GETDBREGS and PT_SETDBREGS Uncomment and improve the implementation of compat32 support for

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

2019-06-04 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Tue Jun 4 16:30:19 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: compat32: Implement PT_GETDBREGS and PT_SETDBREGS Uncomment and improve the implementation of compat32 support for

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

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:52:09 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: kobj_machdep.c Log Message: Replace misaligned operations with memcpy() calls in kobj_machdep.c Detected with kUBSan. To generate a diff of this commit: cvs

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

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:52:09 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: kobj_machdep.c Log Message: Replace misaligned operations with memcpy() calls in kobj_machdep.c Detected with kUBSan. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 13:32:12 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S locore.S src/sys/arch/amd64/include: frameasm.h Log Message: Two changes in the CPU mitigations: * Micro-optimize: put every mitigation

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

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 07:58:58 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Set the symbol type for intrfastexit, so that tools like tprof can find the symbol name. To generate a diff of this commit: cvs rdiff -u

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

2019-05-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 15 13:49:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: print also ksi_code. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/arch/amd64/amd64/trap.c Please note that

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

2019-05-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 15 13:49:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: print also ksi_code. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/arch/amd64/amd64/trap.c Please note that

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

2019-04-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Apr 25 03:53:11 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add gem(4). To generate a diff of this commit: cvs rdiff -u -r1.524 -r1.525 src/sys/arch/amd64/conf/GENERIC Please note that diffs

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

2019-04-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Apr 25 03:53:11 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add gem(4). To generate a diff of this commit: cvs rdiff -u -r1.524 -r1.525 src/sys/arch/amd64/conf/GENERIC Please note that diffs

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

2019-04-18 Thread Maya Rashish
Module Name:src Committed By: maya Date: Thu Apr 18 17:13:00 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC INSTALL Log Message: Follow arm64 and provide two sizes of fonts, so a larger one is chosen for larger displays. To generate a diff of this commit: cvs

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

2019-04-18 Thread Maya Rashish
Module Name:src Committed By: maya Date: Thu Apr 18 17:13:00 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC INSTALL Log Message: Follow arm64 and provide two sizes of fonts, so a larger one is chosen for larger displays. To generate a diff of this commit: cvs

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

2019-04-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 18 16:46:11 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Yes, we support FFS_EI but not DISKLABEL_EI... How does that make sense? To generate a diff of this commit: cvs rdiff -u -r1.522

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

2019-04-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 18 16:46:11 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Yes, we support FFS_EI but not DISKLABEL_EI... How does that make sense? To generate a diff of this commit: cvs rdiff -u -r1.522

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

2019-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 3 19:14:25 UTC 2019 Modified Files: src/sys/arch/amd64/stand/prekern: console.c Log Message: When scrolling the screen don't forget to update the last line. Whatever, there is no case where the screen scrolls actually.

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

2019-04-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 3 19:14:25 UTC 2019 Modified Files: src/sys/arch/amd64/stand/prekern: console.c Log Message: When scrolling the screen don't forget to update the last line. Whatever, there is no case where the screen scrolls actually.

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

2019-03-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 19 19:15:57 UTC 2019 Modified Files: src/sys/arch/amd64/stand/prekern: locore.S prekern.c trap.S Log Message: Fix/remove some half-baked stuff I left in the prekern: - Page-align the idt store, to be extra sure. - Remove

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

2019-03-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Mar 19 19:15:57 UTC 2019 Modified Files: src/sys/arch/amd64/stand/prekern: locore.S prekern.c trap.S Log Message: Fix/remove some half-baked stuff I left in the prekern: - Page-align the idt store, to be extra sure. - Remove

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

2019-03-16 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Mar 16 11:50:48 UTC 2019 Modified Files: src/sys/arch/amd64/include: param.h Log Message: Bump STACK_ALIGNBYTES to (16 - 1) to satisfy requirement by AMD64 System V ABI in kernel level. This is because (1) for LLDB, we want to

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

2019-03-16 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Mar 16 11:50:48 UTC 2019 Modified Files: src/sys/arch/amd64/include: param.h Log Message: Bump STACK_ALIGNBYTES to (16 - 1) to satisfy requirement by AMD64 System V ABI in kernel level. This is because (1) for LLDB, we want to

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

2019-03-07 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Thu Mar 7 10:16:07 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: vector.S Log Message: Use IDTVEC instead of NENTRY for handle_hyperv_hypercall. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70

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

2019-03-07 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Thu Mar 7 10:16:07 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: vector.S Log Message: Use IDTVEC instead of NENTRY for handle_hyperv_hypercall. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70

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

2019-03-01 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Fri Mar 1 12:25:09 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: fix typo. pointed out by pgoyette@n.o. To generate a diff of this commit: cvs rdiff -u -r1.519 -r1.520 src/sys/arch/amd64/conf/GENERIC

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

2019-03-01 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Fri Mar 1 12:25:09 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: fix typo. pointed out by pgoyette@n.o. To generate a diff of this commit: cvs rdiff -u -r1.519 -r1.520 src/sys/arch/amd64/conf/GENERIC

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

2019-02-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 24 20:58:55 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: Enable kUBSan kASan and KCOV in NetBSD/amd64 kernel=ALL Add disabled KLEAK as it conflicts right now with KCOV, using the same compiler

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

2019-02-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 24 20:58:55 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: Enable kUBSan kASan and KCOV in NetBSD/amd64 kernel=ALL Add disabled KLEAK as it conflicts right now with KCOV, using the same compiler

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

2019-02-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Feb 7 00:19:54 UTC 2019 Modified Files: src/sys/arch/amd64/include: ptrace.h Log Message: Define PTRACE_ILLEGAL_ASM for NetBSD/amd64 in ptrace.h Use ud2 instruction that is guaranteed to raise an invalid instruction

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

2019-02-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Feb 7 00:19:54 UTC 2019 Modified Files: src/sys/arch/amd64/include: ptrace.h Log Message: Define PTRACE_ILLEGAL_ASM for NetBSD/amd64 in ptrace.h Use ud2 instruction that is guaranteed to raise an invalid instruction

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

2019-02-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Feb 4 15:07:35 UTC 2019 Modified Files: src/sys/arch/amd64/include: asan.h Log Message: Add more symbols to the unwinder, in case we get a KASAN message inside an exception handler. To generate a diff of this commit: cvs

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

2019-02-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Feb 4 15:07:35 UTC 2019 Modified Files: src/sys/arch/amd64/include: asan.h Log Message: Add more symbols to the unwinder, in case we get a KASAN message inside an exception handler. To generate a diff of this commit: cvs

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 15:13:54 UTC 2019 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 Log Message: Re-enable ixg(4) on NetBSD/xen dom0 Namespace conflicts have been resolved. Note that driver still has an incorrect us of __asm() gnu

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 15:13:54 UTC 2019 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 Log Message: Re-enable ixg(4) on NetBSD/xen dom0 Namespace conflicts have been resolved. Note that driver still has an incorrect us of __asm() gnu

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 12:05:09 UTC 2019 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 Log Message: Summary: Disable ixg(4) until the linuxist mb() API re-definition within the XEN amd64 dom0 build is resolved. Detail: The xen public

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 12:05:09 UTC 2019 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 Log Message: Summary: Disable ixg(4) until the linuxist mb() API re-definition within the XEN amd64 dom0 build is resolved. Detail: The xen public

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

2019-01-21 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Jan 21 20:22:48 UTC 2019 Modified Files: src/sys/arch/amd64/include: limits.h Log Message: Fix wrong scoping of {U,}LLONG_MAX. PR 53298 from Roberto E. Vargas Caballero. To generate a diff of this commit: cvs rdiff -u

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

2019-01-21 Thread David A. Holland
Module Name:src Committed By: dholland Date: Mon Jan 21 20:22:48 UTC 2019 Modified Files: src/sys/arch/amd64/include: limits.h Log Message: Fix wrong scoping of {U,}LLONG_MAX. PR 53298 from Roberto E. Vargas Caballero. To generate a diff of this commit: cvs rdiff -u

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

2019-01-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jan 17 19:26:03 UTC 2019 Modified Files: src/sys/arch/amd64/include: vmparam.h Log Message: Increase VM_PHYSSEG_MAX from 32 to 64. Saw an example on tech-kern@ of a heavily fragmented memory map. To generate a diff of this

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

2019-01-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jan 17 19:26:03 UTC 2019 Modified Files: src/sys/arch/amd64/include: vmparam.h Log Message: Increase VM_PHYSSEG_MAX from 32 to 64. Saw an example on tech-kern@ of a heavily fragmented memory map. To generate a diff of this

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

2019-01-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jan 5 22:11:07 UTC 2019 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c Log Message: Apply amd64/kobj_machdep.c::rev1.7 to the prekern too, to fix the relocation with updated binutils. To generate a diff of this

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

2019-01-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jan 5 22:11:07 UTC 2019 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c Log Message: Apply amd64/kobj_machdep.c::rev1.7 to the prekern too, to fix the relocation with updated binutils. To generate a diff of this

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

2019-01-01 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Jan 1 08:09:30 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add commented out amdgpu. (Builds, untested on hardware) To generate a diff of this commit: cvs rdiff -u -r1.514 -r1.515

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

2019-01-01 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Jan 1 08:09:30 UTC 2019 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add commented out amdgpu. (Builds, untested on hardware) To generate a diff of this commit: cvs rdiff -u -r1.514 -r1.515

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

2018-12-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 24 21:48:53 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: kobj_machdep.c Log Message: Treat R_X86_64_PLT32 relocation as R_X86_64_PC32 for binutils-2.31 See: https://lore.kernel.org/patchwork/patch/892629/ To

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

2018-12-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 24 21:48:53 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: kobj_machdep.c Log Message: Treat R_X86_64_PLT32 relocation as R_X86_64_PC32 for binutils-2.31 See: https://lore.kernel.org/patchwork/patch/892629/ To

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

2018-12-09 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Dec 9 11:52:11 UTC 2018 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: remove 'NOT WORKING' for ena(4) - while it was not yet confirmed working on x86, it already is confirmed working on aarm64 so chances are

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

2018-12-09 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Dec 9 11:52:11 UTC 2018 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: remove 'NOT WORKING' for ena(4) - while it was not yet confirmed working on x86, it already is confirmed working on aarm64 so chances are

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

2018-12-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 3 00:12:22 UTC 2018 Modified Files: src/sys/arch/amd64/conf: files.amd64 Log Message: KASLR is in files.kern now. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/arch/amd64/conf/files.amd64

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

2018-12-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 3 00:12:22 UTC 2018 Modified Files: src/sys/arch/amd64/conf: files.amd64 Log Message: KASLR is in files.kern now. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/arch/amd64/conf/files.amd64

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

2018-11-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 19 15:43:32 UTC 2018 Modified Files: src/sys/arch/amd64/include: frame.h Log Message: Fix editing screwup in previous... noted by Rin Okuyama (thanks!) To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

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

2018-11-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Nov 19 15:43:32 UTC 2018 Modified Files: src/sys/arch/amd64/include: frame.h Log Message: Fix editing screwup in previous... noted by Rin Okuyama (thanks!) To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

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

2018-11-17 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Nov 17 20:29:49 UTC 2018 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add commented out options WSEMUL_DEFAULT="\"vt100\"" If WSEMUL_SUN is enabled it becomes the default emulation which is most likely not what

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

2018-11-17 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sat Nov 17 20:29:49 UTC 2018 Modified Files: src/sys/arch/amd64/conf: GENERIC Log Message: Add commented out options WSEMUL_DEFAULT="\"vt100\"" If WSEMUL_SUN is enabled it becomes the default emulation which is most likely not what

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

2018-11-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 11 10:58:40 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Fix stack info leak. There is a big padding in struct sigframe_siginfo. [ 224.006287] kleak: Possible leak in copyout: [len=920,

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

2018-11-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 11 10:58:40 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Fix stack info leak. There is a big padding in struct sigframe_siginfo. [ 224.006287] kleak: Possible leak in copyout: [len=920,

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

2018-11-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Nov 3 08:27:16 UTC 2018 Modified Files: src/sys/arch/amd64/stand/prekern: pdir.h Log Message: Remove VA_SIGN_POS from the computation of the indexes, it is not needed. To generate a diff of this commit: cvs rdiff -u -r1.5

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

2018-11-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Nov 3 08:27:16 UTC 2018 Modified Files: src/sys/arch/amd64/stand/prekern: pdir.h Log Message: Remove VA_SIGN_POS from the computation of the indexes, it is not needed. To generate a diff of this commit: cvs rdiff -u -r1.5

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

2018-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 31 18:35:05 UTC 2018 Modified Files: src/sys/arch/amd64/include: Makefile Log Message: Revert my kasan addition in this makefile, it looks like it causes asan.h to be installed, while we don't want it to be. To generate a

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