freebsd-src/cddl
Zhenlei Huang 95f418fe2a 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:		9e5787d228 Merge OpenZFS support in to HEAD
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D38733

(cherry picked from commit 7f0ebf0876)
2023-03-02 10:56:05 +08:00
..
compat/opensolaris Delete obsolete Solaris compat header file stdlib.h 2023-03-02 10:56:05 +08:00
contrib/opensolaris ctf: Remove unused function prototype for getpname() 2023-02-27 11:12:48 +08:00
lib pkgbase: Put zfs utilities and lib in their own package 2023-02-02 10:32:55 +01:00
sbin pkgbase: Put zfs utilities and lib in their own package 2023-02-02 10:32:55 +01:00
share pkgbase: Put zfs utilities and lib in their own package 2023-02-02 10:32:55 +01:00
tests
usr.bin pkgbase: Put zfs utilities and lib in their own package 2023-02-02 10:32:55 +01:00
usr.libexec zfs: attach zpool_influxdb to build 2021-07-10 12:26:42 +02:00
usr.sbin pkgbase: Put zfs utilities and lib in their own package 2023-02-02 10:32:55 +01:00
Makefile zfs: attach zpool_influxdb to build 2021-07-10 12:26:42 +02:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00