about summary refs log tree commit diff
path: root/stdio-common/test_rdwr.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-10-28 15:17:06 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-11-25 15:25:13 +0000
commita23246987ec0a8b307a9a171193464b74a7cb416 (patch)
tree002cd8437ed8fa9b5218716f5553f2e3a17e6f23 /stdio-common/test_rdwr.c
parent36d457074f389740b45afc4f9c6d124046f8352b (diff)
downloadglibc-a23246987ec0a8b307a9a171193464b74a7cb416.tar.gz
glibc-a23246987ec0a8b307a9a171193464b74a7cb416.tar.xz
glibc-a23246987ec0a8b307a9a171193464b74a7cb416.zip
elf: Pass the fd to note processing
To handle GNU property notes on aarch64 some segments need to
be mmaped again, so the fd of the loaded ELF module is needed.

When the fd is not available (kernel loaded modules), then -1
is passed.

The fd is passed to both _dl_process_pt_gnu_property and
_dl_process_pt_note for consistency. Target specific note
processing functions are updated accordingly.
Diffstat (limited to 'stdio-common/test_rdwr.c')
0 files changed, 0 insertions, 0 deletions