[Bug 273966] libprocstat: use elf_getphdrnum() rather than deprecated elf_getphnum()
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273966] libprocstat: use elf_getphdrnum() rather than deprecated elf_getphnum()"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273966] libprocstat: use elf_getphdrnum() rather than deprecated elf_getphnum()"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273966] libprocstat: use elf_getphdrnum() rather than deprecated elf_getphnum()"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273966] libprocstat: use elf_getphdrnum() rather than deprecated elf_getphnum()"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273966] libprocstat: use elf_getphdrnum() rather than deprecated elf_getphnum()"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Sep 2023 13:18:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273966
Bug ID: 273966
Summary: libprocstat: use elf_getphdrnum() rather than
deprecated elf_getphnum()
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: jcfyecrayz@liamekaens.com
libprocstat should probably be updated to use the non-deprecated
elf_getphdrnum() rather than elf_getphnum() (marked as deprecated).
The implementations are identical in elftoolchain.
elf_getphnum does not exist in elfutils - and has never existed. The similar
function elf_getshnum() was deprecated in elfutils in favor of elf_getshdrnum()
in 2009. This deprecation occurred just before elf_getphdrnum() was added -
also in 2009.
This could be merged to all supported FreeBSD versions (i.e., back to 12.x -
and even beyond that).
--
You are receiving this mail because:
You are the assignee for the bug.