Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 21 Mar 2024 17:47:53 -0700
From: enh <enh@...gle.com>
To: libc-coord@...ts.openwall.com
Subject: Elf_GNU_Hash_Header

i see FreeBSD added this:

typedef struct {
  u_int32_t gh_nbuckets; /* Number of hash buckets. */
  u_int32_t gh_symndx; /* First visible symbol in .dynsym. */
  u_int32_t gh_maskwords; /* #maskwords used in bloom filter. */
  u_int32_t gh_shift2; /* Bloom filter shift count. */
} Elf_GNU_Hash_Header;

anyone else planning on adding that? there's one place in bionic's
dynamic linker where we could use this, but i don't think any other
code cares. (without standard names for these fields though it's hard
to be sure i searched thoroughly enough.)

but -- given that i'd have to mess around to make those u_int32_t
types work anyway -- without someone needing source compatibility, i'm
leaning towards just keeping this hidden in bionic's copy of the file.

(app developers targeting iOS as well as Android seem unlikely to care
about ELF files :-) )

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.