Date: Wed, 20 Sep 2023 13:18:17 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273966] libprocstat: use elf_getphdrnum() rather than deprecated elf_getphnum() Message-ID: <bug-273966-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273966 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 simil= ar function elf_getshnum() was deprecated in elfutils in favor of elf_getshdrn= um() 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). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273966-227>