[PATCH] uml/helper: Fix stack alignment
YiFei Zhu
zhuyifei1999 at gmail.com
Mon Apr 19 16:07:39 BST 2021
On Mon, Apr 19, 2021 at 8:35 AM Benjamin Berg <benjamin at sipsolutions.net> wrote:
> Yeah, printk is only usable from kernel threads. So in other cases
> logging should happen directly. But do note that os_info with its
> current glibc printf implementation seems to also create issues
> sometimes as it may require more stack than available.
>
> In my seccomp patchset, I added a few patches to fix related issues,
> see
> https://patchwork.ozlabs.org/project/linux-um/list/?series=231980
> specifically
> * [06/27] um: Don't use vfprintf() for os_info()
> * [07/27] um: Do not use printk in SIGWINCH helper thread
> * [09/27] um: Do not use printk in userspace trampoline
>
> Benjamin
I see! Thanks. Good to know there's a patch working to fix this issue.
YiFei Zhu
More information about the linux-um
mailing list