Add open/close session to sudo auth, only used by PAM.

This allows us to open (and close) the PAM session from sudoers.
This commit is contained in:
Todd C. Miller
2010-05-26 17:57:47 -04:00
parent a0646aa4ad
commit 27be96c9cd
6 changed files with 94 additions and 87 deletions

View File

@@ -210,7 +210,8 @@ int user_is_exempt(void);
/* sudo_auth.c */
int verify_user(struct passwd *, char *);
void pass_warn(void);
int begin_session(struct passwd *);
int end_session();
#ifdef HAVE_LDAP
/* ldap.c */