]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
um: don't export printf()
authorJohannes Berg <johannes.berg@intel.com>
Fri, 10 Feb 2023 21:05:09 +0000 (22:05 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 20 Apr 2023 21:05:35 +0000 (23:05 +0200)
commit6d708d1a0d81fe85a114766ff6beb3037fa77429
treec99ec404cbcc12cf9197402a81098a3dda6dece8
parent8c6174503c7b7134c22072b45f92724c8a959f06
um: don't export printf()

Since printf() cannot be used in kernel threads (it
uses too much stack space) don't export it for modules
either.

This should leave us exporting only things that are
absolutely critical (such as memset and friends) and
things that are injected by the compiler (stack guard
and similar.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/user_syms.c