|
|
Log in / Subscribe / Register

personality(2) already exists

personality(2) already exists

Posted Apr 30, 2024 6:34 UTC (Tue) by linusw (subscriber, #40300)
In reply to: personality(2) already exists by pm215
Parent article: Support for the TSO memory model on Arm CPUs

I tried to fix this for QEMU but ended up getting ignored I think.
Personally I can live with this, but it's probably not good for QEMU.
https://lore.kernel.org/linux-fsdevel/20201117233928.2556...


to post comments

personality(2) already exists

Posted Apr 30, 2024 15:53 UTC (Tue) by mb (subscriber, #50428) [Link] (1 responses)

What does qemu currently do, when it encounters this situation?

personality(2) already exists

Posted May 2, 2024 14:53 UTC (Thu) by pm215 (subscriber, #98099) [Link]

The typical failure mode is that QEMU returns the 64-bit value in the struct from the getdents64(2) syscall, and the guest libc then fails the readdir(3) library call with EOVERFLOW when it can't fit the quart into the pint pot. The guest program is usually terminally unhappy with that.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds