diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-10-22 13:17:20 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-10-22 14:28:51 -0700 |
commit | c6dfed243e0310bc3294c0fdf1816fceab024e9b (patch) | |
tree | bd587772105572514a6ed22a7ea1a82e8ede8e1f /ChangeLog | |
parent | 8c2b1ed8bbd20d35314c2a602b903159fa567ffb (diff) | |
download | glibc-c6dfed243e0310bc3294c0fdf1816fceab024e9b.zip glibc-c6dfed243e0310bc3294c0fdf1816fceab024e9b.tar.gz glibc-c6dfed243e0310bc3294c0fdf1816fceab024e9b.tar.bz2 |
Rework some nscd code not to use variable-length struct types.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2014-10-22 Roland McGrath <roland@hack.frob.com> + * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than + old GNU extension [0] syntax. + * nscd/nscd_helper.c (open_socket): Use a flexible array member and + alloca rather than an array member with variable length. + * nscd/netgroupcache.c (addgetnetgrentX): Likewise. + * nscd/nscd.c (invalidate_db): New function, broken out of ... + (parse_opt): ... here. Likewise use alloca there. + Validate the -i argument before checking for rootness. + (send_shutdown): New function, broken out of ... + (parse_opt): ... here. + +2014-10-22 Roland McGrath <roland@hack.frob.com> + * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL macro to get at the _rt_local_ro field. [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro |