|
@@ -220,8 +220,11 @@ GLOBAL(entry_SYSCALL_compat_after_hwframe)
|
|
pushq %rax /* pt_regs->orig_ax */
|
|
pushq %rax /* pt_regs->orig_ax */
|
|
pushq %rdi /* pt_regs->di */
|
|
pushq %rdi /* pt_regs->di */
|
|
pushq %rsi /* pt_regs->si */
|
|
pushq %rsi /* pt_regs->si */
|
|
|
|
+ xorl %esi, %esi /* nospec si */
|
|
pushq %rdx /* pt_regs->dx */
|
|
pushq %rdx /* pt_regs->dx */
|
|
|
|
+ xorl %edx, %edx /* nospec dx */
|
|
pushq %rbp /* pt_regs->cx (stashed in bp) */
|
|
pushq %rbp /* pt_regs->cx (stashed in bp) */
|
|
|
|
+ xorl %ecx, %ecx /* nospec cx */
|
|
pushq $-ENOSYS /* pt_regs->ax */
|
|
pushq $-ENOSYS /* pt_regs->ax */
|
|
pushq $0 /* pt_regs->r8 = 0 */
|
|
pushq $0 /* pt_regs->r8 = 0 */
|
|
xorl %r8d, %r8d /* nospec r8 */
|
|
xorl %r8d, %r8d /* nospec r8 */
|
|
@@ -365,8 +368,11 @@ ENTRY(entry_INT80_compat)
|
|
|
|
|
|
pushq (%rdi) /* pt_regs->di */
|
|
pushq (%rdi) /* pt_regs->di */
|
|
pushq %rsi /* pt_regs->si */
|
|
pushq %rsi /* pt_regs->si */
|
|
|
|
+ xorl %esi, %esi /* nospec si */
|
|
pushq %rdx /* pt_regs->dx */
|
|
pushq %rdx /* pt_regs->dx */
|
|
|
|
+ xorl %edx, %edx /* nospec dx */
|
|
pushq %rcx /* pt_regs->cx */
|
|
pushq %rcx /* pt_regs->cx */
|
|
|
|
+ xorl %ecx, %ecx /* nospec cx */
|
|
pushq $-ENOSYS /* pt_regs->ax */
|
|
pushq $-ENOSYS /* pt_regs->ax */
|
|
pushq $0 /* pt_regs->r8 = 0 */
|
|
pushq $0 /* pt_regs->r8 = 0 */
|
|
xorl %r8d, %r8d /* nospec r8 */
|
|
xorl %r8d, %r8d /* nospec r8 */
|