FreeBSD Bugzilla – Attachment 194558 Details for
Bug 229222
11.2-PRERELEASE panic-General Protection Fault, aesni_encrypt_cbc implicated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Do not leave stray qword on top of stack for interrupts and exceptions without error code. It mis-aligns the stack.
1.patch (text/plain), 404 bytes, created by
Konstantin Belousov
on 2018-06-24 12:38:19 UTC
(
hide
)
Description:
Do not leave stray qword on top of stack for interrupts and exceptions without error code. It mis-aligns the stack.
Filename:
MIME Type:
Creator:
Konstantin Belousov
Created:
2018-06-24 12:38:19 UTC
Size:
404 bytes
patch
obsolete
>diff --git a/sys/amd64/include/asmacros.h b/sys/amd64/include/asmacros.h >index 11f500267d7..c4042fa6560 100644 >--- a/sys/amd64/include/asmacros.h >+++ b/sys/amd64/include/asmacros.h >@@ -187,7 +187,7 @@ > movq PCPU(KCR3),%rax > movq %rax,%cr3 > movq PCPU(RSP0),%rax >- subq $PTI_SIZE,%rax >+ subq $PTI_SIZE - 8 * (1 - \has_err),%rax > MOVE_STACKS ((PTI_SIZE / 8) - 1 + \has_err) > movq %rax,%rsp > popq %rdx
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval?
(
re
)
Actions:
View
|
Diff
Attachments on
bug 229222
:
194505
| 194558