summaryrefslogtreecommitdiff
path: root/platform.c
diff options
context:
space:
mode:
authordtucker <dtucker>2010-11-05 02:29:25 +0000
committerdtucker <dtucker>2010-11-05 02:29:25 +0000
commitbf95459e812e50612ad590a5d2ef74b53ee23888 (patch)
treeb378911bd28f4e21e707da9f558fffc1f7ba0272 /platform.c
parent72e6c21f38c45d2a9657d2fa14b56036d6ccb1a0 (diff)
downloadopenssh-bf95459e812e50612ad590a5d2ef74b53ee23888.tar.gz
- (dtucker) [platform.c session.c] Move irix setusercontext fragment into
platform.c.
Diffstat (limited to 'platform.c')
-rw-r--r--platform.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/platform.c b/platform.c
index 97439b57..c8163f90 100644
--- a/platform.c
+++ b/platform.c
@@ -1,4 +1,4 @@
-/* $Id: platform.c,v 1.11 2010/11/05 02:11:04 dtucker Exp $ */
+/* $Id: platform.c,v 1.12 2010/11/05 02:29:25 dtucker Exp $ */
/*
* Copyright (c) 2006 Darren Tucker. All rights reserved.
@@ -102,6 +102,11 @@ platform_setusercontext(struct passwd *pw)
void
platform_setusercontext_post_groups(struct passwd *pw)
{
+#if !defined(HAVE_LOGIN_CAP) && (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(pw);
#endif /* _AIX */