HomeFreeBSD

libc: add clearenv function

Description

libc: add clearenv function

The clearenv(3) function allows us to clear all environment
variable in one shot. This may be useful for security programs that
want to control the environment or what variables are passed to new
spawned programs.

Reviewed by: scf, markj (secteam), 0mp (manpages)
Differential Revision: https://reviews.freebsd.org/D28223

Details

Provenance
oshogboAuthored on Nov 7 2021, 3:15 PM
Reviewer
scf
Differential Revision
D28223: libc: add cleanenv function
Parents
rGe9c7c6f5a021: e1000: Fix a typo in a source code comment
Branches
Unknown
Tags
Unknown