lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAJgzZoqDjzBfTcAh143ZVX6cQaqRXJcFwiOhgZt32a8DVJeqwQ@mail.gmail.com>
Date:	Wed, 2 Jul 2014 15:40:45 -0700
From:	enh <enh@...gle.com>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] Elf32_Dyn::d_val should be an Elf32_Word.

The ELF specification says that d_val is an Elf32_Word, not an Elf32_Sword.
This also matches glibc, and fixes bionic (Android's C library, which uses
the uapi header).

Patch is against -rc ToT.

Signed-off-by: Elliott Hughes <enh@...gle.com>
---
 include/uapi/linux/elf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/elf.h b/include/uapi/linux/elf.h
index ef6103b..d7878dc 100644
--- a/include/uapi/linux/elf.h
+++ b/include/uapi/linux/elf.h
@@ -137,7 +137,7 @@ typedef __s64 Elf64_Sxword;
 typedef struct dynamic{
   Elf32_Sword d_tag;
   union{
-    Elf32_Sword d_val;
+    Elf32_Word d_val;
     Elf32_Addr d_ptr;
   } d_un;
 } Elf32_Dyn;
-- 
2.0.0.526.g5318336
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ