since we need more session information than provided by that function.
+20020225
+ - (bal) Last AIX patch. Moved aix_usrinfo() outside of do_setuserconext()
+ since we need more session information than provided by that function.
+
20020224
- (bal) Drop Session *s usage in ports-aix.[ch] and pass just what we
need to do the jobs (AIX still does not fully compile, but that is
void set_limits_from_userattr(char *user);
#endif /* HAVE_GETUSERATTR */
-void aix_usrinfo(struct passwd *pw, char *tty, int ttyfd)
+void aix_usrinfo(struct passwd *pw, char *tty, int ttyfd);
#endif /* _AIX */
# if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY)
irix_setusercontext(pw);
# endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */
-#ifdef _AIX
- aix_usrinfo(s)
-#endif
/* Permanently switch to the desired uid. */
permanently_set_uid(pw);
#endif
do_motd();
#else /* HAVE_OSF_SIA */
do_nologin(pw);
+# ifdef _AIX
+ aix_usrinfo(pw, s->tty, s->ttyfd);
+# endif /* _AIX */
do_setusercontext(pw);
#endif /* HAVE_OSF_SIA */
}