On Mon, Apr 08, 2002 at 03:21:25PM -0400, Nalin Dahyabhai wrote: > On Mon, Apr 08, 2002 at 02:15:41PM -0500, Reeves, Drue wrote: > > Does anyone know if the module gets a notification when pam_end() is called? > > I'd like for my module to know when the pam aware application is unloaded, terminated or when pam_end() is called. > I haven't checked the libpam sources, but I'd expect cleanup functions > for PAM data items (which are registered with pam_set_data()) to be > called by pam_end(). They are. So the best way to detect that pam_end() is called is by registering such a cleanup handler. Steve Langasek postmodern programmer
Attachment:
pgp00043.pgp
Description: PGP signature