[Bug 269738] /rescue/pgrep does not work
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 269738] /rescue/pgrep does not work"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Feb 2023 18:11:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269738
--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=7f0ebf0876c82a098bd5815ea6bf3a8efa6dd6f3
commit 7f0ebf0876c82a098bd5815ea6bf3a8efa6dd6f3
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-02-23 18:00:09 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-02-23 18:00:09 +0000
Delete obsolete Solaris compat header file stdlib.h
This drops function `getexecname()` redirection.
Historically `getexecname()` is a compatibility definition. Since
openzfs has its own implementation of function `getexecname()` in libspl
and has been merged into base, the compat header file stdlib.h is
no longer needed and should not be used.
Also without this fix libspl will end up an incompatible version of
`getprogname()` with libc. In particular, if zfs is enabled, programs
such as pgrep in /rescue can be wrongly statically linked with libspl
and will not function properly.
PR: 269738
Reviewed by: markj
Fixes: 9e5787d2284e Merge OpenZFS support in to HEAD
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D38733
cddl/compat/opensolaris/include/stdlib.h (gone) | 37 -------------------------
1 file changed, 37 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.