freebsd-dev/cddl
Zhenlei Huang 7f0ebf0876 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
2023-02-24 02:00:09 +08:00
..
compat/opensolaris Delete obsolete Solaris compat header file stdlib.h 2023-02-24 02:00:09 +08:00
contrib/opensolaris ctfdump: Use getprogname() 2023-02-24 00:28:35 +08:00
lib tcp: embed inpcb into tcpcb 2022-12-07 09:00:48 -08:00
sbin zfs: Disable -Wunused-variable for environ in main in zfs_main.c. 2023-01-30 09:31:19 -08:00
share pkgbase: Put zfs utilities and lib in their own package 2022-10-26 19:46:30 +02:00
tests
usr.bin pkgbase: Create a FreeBSD-ctf-tools package 2023-02-08 08:48:58 +01:00
usr.libexec cddl/*: add a WITH(OUT)_DTRACE option 2022-07-06 14:03:48 +01:00
usr.sbin Retire WITHOUT_CXX option 2023-01-26 21:13:16 -05:00
Makefile zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
Makefile.inc