HomeFreeBSD

sys/param.h: Add _WANT_P_OSREL

Description

sys/param.h: Add _WANT_P_OSREL

Use it instead of defining IN_RTLD by base sources that want P_OSREL_
defines in userspace, but are not rtld.
This allows to remove abuse of IN_RTLD from userspace.

Reviewed by: dchagin, markj, imp
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D38585

Details

Provenance
kibAuthored on Feb 14 2023, 8:52 AM
Reviewer
dchagin
Differential Revision
D38585: sys/param.h: Add _WANT_P_OSREL
Parents
rG4b0552d5f4ea: linuxkpi: Move `IS_ENABLED()` and friends to <linux/kconfig.h>
Branches
Unknown
Tags
Unknown