This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel


https://sourceware.org/bugzilla/show_bug.cgi?id=18400

--- Comment #1 from Szabolcs Nagy <nszabolcs at gmail dot com> ---
kernel (include/uapi/linux/elfcore.h) has

struct elf_prpsinfo
{
...
        __kernel_uid_t  pr_uid;
        __kernel_gid_t  pr_gid;
...
};

glibc (sysdeps/unix/sysv/linux/aarch64/sys/procfs.h) has

struct elf_prpsinfo
{
...
        unsigned short int pr_uid;
        unsigned short int pr_gid;
...
};

on aarch64 __kernel_uid_t and __kernel_gid_t are ints.

discussed in
https://sourceware.org/ml/libc-alpha/2015-04/msg00285.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]