pam_misc_drop_env(3) — Linux manual page


PAM_MISC_DROP_ENV(3)        Linux-PAM Manual        PAM_MISC_DROP_ENV(3)

NAME         top

       pam_misc_drop_env - liberating a locally saved environment

SYNOPSIS         top

       #include <security/pam_misc.h>

       int pam_misc_drop_env(char **env);

DESCRIPTION         top

       This function is defined to complement the pam_getenvlist(3)
       function. It liberates the memory associated with env,
       overwriting with 0 all memory before free()ing it.

SEE ALSO         top

       pam_getenvlist(3), pam(8)

STANDARDS         top

       The pam_misc_drop_env function is part of the libpam_misc Library
       and not defined in any standard.

COLOPHON         top

       This page is part of the linux-pam (Pluggable Authentication
       Modules for Linux) project.  Information about the project can be
       found at ⟨⟩.  If you have a bug report
       for this manual page, see ⟨//⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on 2023-12-22.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2023-12-18.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

Linux-PAM Manual               12/22/2023           PAM_MISC_DROP_ENV(3)