* Dominik Brodowski wrote:
> .endif
> pushq \rdx/* pt_regs->dx */
> + xorl%edx, %edx /* nosepc dx */
> pushq %rcx/* pt_regs->cx */
> + xorl%ecx, %ecx /* nosepc cx */
> pushq \rax
* Dominik Brodowski wrote:
> .endif
> pushq \rdx/* pt_regs->dx */
> + xorl%edx, %edx /* nosepc dx */
> pushq %rcx/* pt_regs->cx */
> + xorl%ecx, %ecx /* nosepc cx */
> pushq \rax/* pt_regs->ax */
>
To reduce the chance that random user space content leaks down the call
chain in registers, also clear lower registers on syscall entry:
For 64bit syscalls, extend the register clearing in PUSH_AND_CLEAR_REGS
to %dx and %cx. This should not hurt at all, also on the other callers
of that macro. We
To reduce the chance that random user space content leaks down the call
chain in registers, also clear lower registers on syscall entry:
For 64bit syscalls, extend the register clearing in PUSH_AND_CLEAR_REGS
to %dx and %cx. This should not hurt at all, also on the other callers
of that macro. We
4 matches
Mail list logo