]> git.armaanb.net Git - opendoas.git/blobdiff - includes.h
open pam sessions with right user and remove setusercontext shim
[opendoas.git] / includes.h
index e9ebf6364da8d6365097b9511862bcc8ec76d62a..776a94030a9a51bea613512e1c04d77b8e3dcc97 100644 (file)
@@ -20,7 +20,7 @@
 #include "openbsd.h"
 
 #ifdef HAVE_PAM_APPL_H
-int doas_pam(char *name, int interactive, int nopass);
+int doas_pam(const char *user, const char *ruser, int interactive, int nopass);
 #endif
 
 #endif /* INCLUDES_H */