linux uml segfault

Johannes Berg johannes at sipsolutions.net
Fri Mar 5 20:06:35 GMT 2021


On Fri, 2021-03-05 at 19:03 +0000, Anton Ivanov wrote:
> 
> I thought of that, but surrendered to the "dark side" of the quick and ugly fix.

:)

> We can do that for the ipc/sem.c - it brings in uaccess.h which
> ultimately pulls uaccess from our asm tree. So if we do it there, it
> will end up in sem.c

Well, most easily you could do it in ipc/util.h, where it's declared. Or
any place that is pulled in by it, e.g. even asm/errno.h.

All ugly though.

johannes




More information about the linux-um mailing list