This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch master updated. glibc-2.21-578-g14d623b


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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;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.

diff --git a/ChangeLog b/ChangeLog
index 71ec1f3..413a1c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+	* sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
+	Fix pr_uid and pr_gid members.
+
 2015-07-08  Roland McGrath  <roland@hack.frob.com>
 
 	[BZ #18383]
diff --git a/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h b/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h
index cf5e76c..ecc65ab 100644
--- a/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h
@@ -91,8 +91,8 @@ struct elf_prpsinfo
     char pr_zomb;			/* Zombie.  */
     char pr_nice;			/* Nice val.  */
     unsigned long int pr_flag;		/* Flags.  */
-    unsigned short int pr_uid;
-    unsigned short int pr_gid;
+    unsigned int pr_uid;
+    unsigned int pr_gid;
     int pr_pid, pr_ppid, pr_pgrp, pr_sid;
     /* Lots missing */
     char pr_fname[16];			/* Filename of executable.  */

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

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


hooks/post-receive
-- 
GNU C Library master sources


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