]> sourceware.org Git - glibc.git/commit
Fix getting tunable values on big-endian (BZ #21109)
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 9 Feb 2017 16:28:54 +0000 (17:28 +0100)
committerMike Frysinger <vapier@gentoo.org>
Sun, 12 Mar 2017 22:08:03 +0000 (15:08 -0700)
commit0232af1ad6cbd8378025e804f535ce9449ad49de
treec64d65bb2129a8864b974217750ebfa200777e93
parent09385d5912306ccf444d4532520d339774fea48a
Fix getting tunable values on big-endian (BZ #21109)

The code to set value passed a tunable_val_t, which when cast to
int32_t on big-endian gives the wrong value.  Instead, use
tunable_val_t.numval instead, which can then be safely cast into
int32_t.

(cherry picked from commit 8cbc826c37c0221ada65a7a622fe079b4e89a4b0)
(cherry picked from commit 58520986c38e34db60e07260c64c563e3efcf353)
elf/dl-tunable-types.h
elf/dl-tunables.c
malloc/arena.c
This page took 0.045339 seconds and 5 git commands to generate.