powerpc: Stop exporting __clear_user which is now inlined.
Subsystems (2)
PATCH 1/1 powerpc: Stop exporting __clear_user which is now inlined.
Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled") redefines __clear_user as inline function but does not remove the export.
--- arch/powerpc/lib/ppc_ksyms.c | 1 - 1 file changed, 1 deletion(-)
arch/powerpc/lib/ppc_ksyms.c +0 -1
@@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);#endif EXPORT_SYMBOL (__copy_tofrom_user); -EXPORT_SYMBOL (__clear_user);EXPORT_SYMBOL (copy_page);#ifdef CONFIG_PPC64
Signature · 1 line
2.26.2
Quoted 10 lines · Michal Suchanek
Stable commit
452e2a83ea23("powerpc: Fix__clear_user()with KUAP enabled") redefines__clear_useras inline function but does not remove the export.Fixes 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")Signed-off-by Michal Suchanek <[email protected]>--- arch/powerpc/lib/ppc_ksyms.c | 1 - 1 file changed, 1 deletion(-)
cheers
Quoted 14 lines
arch/powerpc/lib/ppc_ksyms.c +0
-1@@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);#endif EXPORT_SYMBOL (__copy_tofrom_user); -EXPORT_SYMBOL (__clear_user);EXPORT_SYMBOL (copy_page);#ifdef CONFIG_PPC64 Signature · 1 line
2.26.2
Quoted 5 lines · Michael Ellerman
Quoted 4 lines · Michal Suchanek
Stable commit
452e2a83ea23("powerpc: Fix__clear_user()with KUAP enabled") redefines__clear_useras inline function but does not remove the export.
Quoted 8 lines
Quoted 6 lines
Fixes 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")Signed-off-by Michal Suchanek <[email protected]>--- arch/powerpc/lib/ppc_ksyms.c | 1 - 1 file changed, 1 deletion(-)Acked-by Michael Ellerman <[email protected]>
Now applied, thanks.
greg k-h
Patch "powerpc: Stop exporting __clear_user which is now inlined." has been added to the 4.4-stable tree
In reply to Michal SuchanekThis is a note to let you know that I've just added the patch titled
powerpc: Stop exporting __clear_user which is now inlined.
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
powerpc-stop-exporting-__clear_user-which-is-now-inlined.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
From [email protected] Sun Dec 6 10:49:43 2020
From: Michal Suchanek <[email protected]>
Date: Sat, 5 Dec 2020 00:28:07 +0100
Subject: powerpc: Stop exporting __clear_user which is now inlined.
To: [email protected]
Cc: Michal Suchanek <[email protected]>, Benjamin Herrenschmidt <[email protected]>, Paul Mackerras <[email protected]>, Michael Ellerman <[email protected]>, [email protected], [email protected]
Message-ID: <[email protected]>
From: Michal Suchanek <[email protected]>
Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled") redefines __clear_user as inline function but does not remove the export.
--- arch/powerpc/lib/ppc_ksyms.c | 1 - 1 file changed, 1 deletion(-)
arch/powerpc/lib/ppc_ksyms.c +0 -1
@@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);#endif EXPORT_SYMBOL (__copy_tofrom_user); -EXPORT_SYMBOL (__clear_user);EXPORT_SYMBOL (copy_page);#ifdef CONFIG_PPC64
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/powerpc-stop-exporting-__clear_user-which-is-now-inlined.patch