Patch "powerpc: Stop exporting __clear_user which is now inlined." has been added to the 4.4-stable tree

gregkh at linuxfoundation.org gregkh at linuxfoundation.org
Sun Dec 6 21:19:41 AEDT 2020


This 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 <stable at vger.kernel.org> know about it.


>From msuchanek at suse.de  Sun Dec  6 10:49:43 2020
From: Michal Suchanek <msuchanek at suse.de>
Date: Sat,  5 Dec 2020 00:28:07 +0100
Subject: powerpc: Stop exporting __clear_user which is now inlined.
To: stable at vger.kernel.org
Cc: Michal Suchanek <msuchanek at suse.de>, Benjamin Herrenschmidt <benh at kernel.crashing.org>, Paul Mackerras <paulus at samba.org>, Michael Ellerman <mpe at ellerman.id.au>, linuxppc-dev at lists.ozlabs.org, linux-kernel at vger.kernel.org
Message-ID: <20201204232807.31887-1-msuchanek at suse.de>

From: Michal Suchanek <msuchanek at suse.de>

Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
enabled") redefines __clear_user as inline function but does not remove
the export.

Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")

Signed-off-by: Michal Suchanek <msuchanek at suse.de>
Acked-by: Michael Ellerman <mpe at ellerman.id.au>
---
 arch/powerpc/lib/ppc_ksyms.c |    1 -
 1 file changed, 1 deletion(-)

--- a/arch/powerpc/lib/ppc_ksyms.c
+++ b/arch/powerpc/lib/ppc_ksyms.c
@@ -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 msuchanek at suse.de are

queue-4.4/powerpc-stop-exporting-__clear_user-which-is-now-inlined.patch


More information about the Linuxppc-dev mailing list