unexport do_execve/do_select
Subsystems (2)
PATCH 1/1 unexport do_execve/do_select
These are basically shared code for native/32bit compat code, but as CONFIG_COMPAT is a bool there's no need to export them.
fs/exec.c +0 -2
@@ -1187,8 +1187,6 @@return retval; } -EXPORT_SYMBOL (do_execve); -int set_binfmt (struct linux_binfmt *new) {struct linux_binfmt *old = current->binfmt;
fs/select.c +0 -2
@@ -267,8 +267,6 @@return retval; } -EXPORT_SYMBOL (do_select); -static void *select_bits_alloc (int size) {return kmalloc (6 * size,GFP_KERNEL );
Quoted 2 lines · Christoph Hellwig
These are basically shared code for native/32bit compat code, but as
CONFIG_COMPATis a bool there's no need to export them.
do_select at least used to be used by the xABI compatibility modules, is that no longer the case ?
Quoted 6 lines · Alan Cox
Quoted 2 lines · Christoph Hellwig
These are basically shared code for native/32bit compat code, but as
CONFIG_COMPATis a bool there's no need to export them.
do_selectat least used to be used by the xABI compatibility modules, is that no longer the case ?
For Sparc, the only inkernel one that can be modular - no. For the x86 ABI modules half of the syscalls needs to be exported so the patch is huge anyway.
Quoted 6 lines · Alan Cox
Quoted 2 lines · Christoph Hellwig
These are basically shared code for native/32bit compat code, but as
CONFIG_COMPATis a bool there's no need to export them.
do_selectat least used to be used by the xABI compatibility modules, is that no longer the case ?
I thought those no longer existed; lots of other stuff is missing for those as well for sure.