[PATCH] um: drivers: use libc strrchr() in cow_user.o
Johannes Berg
johannes at sipsolutions.net
Tue Apr 7 09:57:41 PDT 2026
On Tue, 2026-04-07 at 12:44 -0400, Michael Bommarito wrote:
> That framing is kept
> here: the global strrchr remap is still needed for kernel-side
> objects, but cow_user.o is host-side and should use libc strrchr
> directly.
Not sure. glibc has an unfortunate tendency to use a huge amount of
stack space for just about anything (though I admit that's unlikely for
strrchr) - we should probably just explicitly call kernel_strrchr() in
the file instead.
johannes
More information about the linux-um
mailing list