Print this page
11787 Kernel needs to be built with retpolines
11788 Kernel needs to generally use RSB stuffing
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>
*** 18,27 ****
--- 18,28 ----
*
* CDDL HEADER END
*/
/*
* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2019 Joyent, Inc.
*/
/* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
/* Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T */
/* All Rights Reserved */
*** 97,107 ****
movb $255, TTR_VECTOR(%r12)
movq %r12, %rsi /* pass traptrace record pointer */
#endif
movq %rsp, %rdi /* pass struct regs pointer */
! call *do_interrupt_common
jmp _sys_rtt_ints_disabled
/*NOTREACHED*/
SET_SIZE(cmnint)
--- 98,109 ----
movb $255, TTR_VECTOR(%r12)
movq %r12, %rsi /* pass traptrace record pointer */
#endif
movq %rsp, %rdi /* pass struct regs pointer */
! movq do_interrupt_common, %rax
! INDIRECT_CALL_REG(rax)
jmp _sys_rtt_ints_disabled
/*NOTREACHED*/
SET_SIZE(cmnint)