|
@@ -314,10 +314,6 @@ ENTRY(ret_from_kernel_thread)
|
|
|
CFI_ENDPROC
|
|
|
ENDPROC(ret_from_kernel_thread)
|
|
|
|
|
|
-/*
|
|
|
- * Interrupt exit functions should be protected against kprobes
|
|
|
- */
|
|
|
- .pushsection .kprobes.text, "ax"
|
|
|
/*
|
|
|
* Return to user mode is not as complex as all this looks,
|
|
|
* but we want the default path for a system call return to
|
|
@@ -372,10 +368,6 @@ need_resched:
|
|
|
END(resume_kernel)
|
|
|
#endif
|
|
|
CFI_ENDPROC
|
|
|
-/*
|
|
|
- * End of kprobes section
|
|
|
- */
|
|
|
- .popsection
|
|
|
|
|
|
/* SYSENTER_RETURN points to after the "sysenter" instruction in
|
|
|
the vsyscall page. See vsyscall-sysentry.S, which defines the symbol. */
|
|
@@ -495,10 +487,6 @@ sysexit_audit:
|
|
|
PTGS_TO_GS_EX
|
|
|
ENDPROC(ia32_sysenter_target)
|
|
|
|
|
|
-/*
|
|
|
- * syscall stub including irq exit should be protected against kprobes
|
|
|
- */
|
|
|
- .pushsection .kprobes.text, "ax"
|
|
|
# system call handler stub
|
|
|
ENTRY(system_call)
|
|
|
RING0_INT_FRAME # can't unwind into user space anyway
|
|
@@ -691,10 +679,6 @@ syscall_badsys:
|
|
|
jmp resume_userspace
|
|
|
END(syscall_badsys)
|
|
|
CFI_ENDPROC
|
|
|
-/*
|
|
|
- * End of kprobes section
|
|
|
- */
|
|
|
- .popsection
|
|
|
|
|
|
.macro FIXUP_ESPFIX_STACK
|
|
|
/*
|
|
@@ -781,10 +765,6 @@ common_interrupt:
|
|
|
ENDPROC(common_interrupt)
|
|
|
CFI_ENDPROC
|
|
|
|
|
|
-/*
|
|
|
- * Irq entries should be protected against kprobes
|
|
|
- */
|
|
|
- .pushsection .kprobes.text, "ax"
|
|
|
#define BUILD_INTERRUPT3(name, nr, fn) \
|
|
|
ENTRY(name) \
|
|
|
RING0_INT_FRAME; \
|
|
@@ -961,10 +941,6 @@ ENTRY(spurious_interrupt_bug)
|
|
|
jmp error_code
|
|
|
CFI_ENDPROC
|
|
|
END(spurious_interrupt_bug)
|
|
|
-/*
|
|
|
- * End of kprobes section
|
|
|
- */
|
|
|
- .popsection
|
|
|
|
|
|
#ifdef CONFIG_XEN
|
|
|
/* Xen doesn't set %esp to be precisely what the normal sysenter
|
|
@@ -1239,11 +1215,6 @@ return_to_handler:
|
|
|
jmp *%ecx
|
|
|
#endif
|
|
|
|
|
|
-/*
|
|
|
- * Some functions should be protected against kprobes
|
|
|
- */
|
|
|
- .pushsection .kprobes.text, "ax"
|
|
|
-
|
|
|
#ifdef CONFIG_TRACING
|
|
|
ENTRY(trace_page_fault)
|
|
|
RING0_EC_FRAME
|
|
@@ -1453,7 +1424,3 @@ ENTRY(async_page_fault)
|
|
|
END(async_page_fault)
|
|
|
#endif
|
|
|
|
|
|
-/*
|
|
|
- * End of kprobes section
|
|
|
- */
|
|
|
- .popsection
|