Re: sparc64 pbuilder/cowbuilder setup with qemu
Hi Gregor!
On 12/23/22 13:52, Gregor Riepl wrote:
Comparing these two values:
42 0x2A
2752512 0x2A0000
uid_t is defined as:
/usr/include/sparc64-linux-gnu/sys/types.h:typedef __uid_t uid_t;
/usr/include/sparc64-linux-gnu/bits/types.h:__STD_TYPE __UID_T_TYPE __uid_t; /* Type of user identifications. */
/usr/include/sparc64-linux-gnu/bits/typesizes.h:#define __UID_T_TYPE __U32_TYPE
/usr/include/sparc64-linux-gnu/bits/types.h:#define __U32_TYPE unsigned int
struct passwd uses:
__uid_t pw_uid; /* User ID. */
It looks like another case of values not properly passed between the host and guest
in a qemu-user setup. Another very prominent case are file handles, see [1].
Adrian
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=23960
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: