public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18400] New: [aarch64 elf_prpsinfo is incompatible
@ 2015-05-12  8:38 nszabolcs at gmail dot com
  2015-05-12  8:39 ` [Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel nszabolcs at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: nszabolcs at gmail dot com @ 2015-05-12  8:38 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 18400
           Summary: [aarch64 elf_prpsinfo is incompatible
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: nszabolcs at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel
  2015-05-12  8:38 [Bug libc/18400] New: [aarch64 elf_prpsinfo is incompatible nszabolcs at gmail dot com
@ 2015-05-12  8:39 ` nszabolcs at gmail dot com
  2015-05-12  8:40 ` nszabolcs at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: nszabolcs at gmail dot com @ 2015-05-12  8:39 UTC (permalink / raw)
  To: glibc-bugs

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

Szabolcs Nagy <nszabolcs at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[aarch64 elf_prpsinfo is    |[aarch64] elf_prpsinfo is
                   |incompatible                |incompatible with the
                   |                            |kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel
  2015-05-12  8:38 [Bug libc/18400] New: [aarch64 elf_prpsinfo is incompatible nszabolcs at gmail dot com
  2015-05-12  8:39 ` [Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel nszabolcs at gmail dot com
@ 2015-05-12  8:40 ` nszabolcs at gmail dot com
  2015-07-09  8:45 ` cvs-commit at gcc dot gnu.org
  2015-07-09  9:11 ` nszabolcs at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: nszabolcs at gmail dot com @ 2015-05-12  8:40 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel
  2015-05-12  8:38 [Bug libc/18400] New: [aarch64 elf_prpsinfo is incompatible nszabolcs at gmail dot com
  2015-05-12  8:39 ` [Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel nszabolcs at gmail dot com
  2015-05-12  8:40 ` nszabolcs at gmail dot com
@ 2015-07-09  8:45 ` cvs-commit at gcc dot gnu.org
  2015-07-09  9:11 ` nszabolcs at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-07-09  8:45 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  14d623bcd178d336b47fdb4f0c973720d56d907c (commit)
      from  95af4cffdb730b18ee1478609f1042929a72b361 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=14d623bcd178d336b47fdb4f0c973720d56d907c

commit 14d623bcd178d336b47fdb4f0c973720d56d907c
Author: Szabolcs Nagy <nsz@port70.net>
Date:   Thu Jul 9 09:39:51 2015 +0100

    [AArch64][BZ 18400] fix elf_prpsinfo in procfs.h

    Kernel uses int pr_uid, pr_gid, but glibc used unsigned short.

    This is an ABI breaking change, but the size and alignment of
    the struct and the layout of other members is not changed and
    there is no known usage of pr_uid and pr_gid so it is expected
    to be safe.

        [BZ #18400]
        * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
        Fix pr_uid and pr_gid members.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                    |    5 +++++
 sysdeps/unix/sysv/linux/aarch64/sys/procfs.h |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel
  2015-05-12  8:38 [Bug libc/18400] New: [aarch64 elf_prpsinfo is incompatible nszabolcs at gmail dot com
                   ` (2 preceding siblings ...)
  2015-07-09  8:45 ` cvs-commit at gcc dot gnu.org
@ 2015-07-09  9:11 ` nszabolcs at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: nszabolcs at gmail dot com @ 2015-07-09  9:11 UTC (permalink / raw)
  To: glibc-bugs

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

Szabolcs Nagy <nszabolcs at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Szabolcs Nagy <nszabolcs at gmail dot com> ---
Fixed in commit 14d623bcd178d336b47fdb4f0c973720d56d907c

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-09  9:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-12  8:38 [Bug libc/18400] New: [aarch64 elf_prpsinfo is incompatible nszabolcs at gmail dot com
2015-05-12  8:39 ` [Bug libc/18400] [aarch64] elf_prpsinfo is incompatible with the kernel nszabolcs at gmail dot com
2015-05-12  8:40 ` nszabolcs at gmail dot com
2015-07-09  8:45 ` cvs-commit at gcc dot gnu.org
2015-07-09  9:11 ` nszabolcs at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).