lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190227211748.9545-1-joe.lawrence@redhat.com>
Date:   Wed, 27 Feb 2019 16:17:48 -0500
From:   Joe Lawrence <joe.lawrence@...hat.com>
To:     linux-kernel@...r.kernel.org, live-patching@...r.kernel.org,
        x86@...nel.org
Cc:     Jiri Slaby <jslaby@...e.cz>, Josh Poimboeuf <jpoimboe@...hat.com>
Subject: [PATCH] x86/stacktrace: export save_stack_trace_tsk_reliable

The ppc64le implementation of save_stack_trace_tsk_reliable() is
exported, so do the same with x86.

Signed-off-by: Joe Lawrence <joe.lawrence@...hat.com>
---
 arch/x86/kernel/stacktrace.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/stacktrace.c b/arch/x86/kernel/stacktrace.c
index 5c2d71a1dc06..ad9b38dabf6a 100644

We could do the inverse and remove the symbol export from
arch/powerpc/kernel/stacktrace.c, but I figured the other
save_stack_trace_tsk variants are already exported for both
arches, so add this one, too.  -- JL

--- a/arch/x86/kernel/stacktrace.c
+++ b/arch/x86/kernel/stacktrace.c
@@ -163,6 +163,7 @@ int save_stack_trace_tsk_reliable(struct task_struct *tsk,
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(save_stack_trace_tsk_reliable);
 #endif /* CONFIG_HAVE_RELIABLE_STACKTRACE */
 
 /* Userspace stacktrace - based on kernel/trace/trace_sysprof.c */
-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ