diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 13:11:04 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-11-05 13:11:04 +1100 |
commit | 676b912e780499e9f59e8add7859a014cb2db07d (patch) | |
tree | f3953e2d9f62131b6dcdb972e476ce89041bd1e5 /platform.c | |
parent | 7a8afe3186bd2007da3a2fce4276e5b96ed877f6 (diff) |
- (dtucker) platform.c session.c] Move aix_usrinfo frament into platform.c.
Diffstat (limited to 'platform.c')
-rw-r--r-- | platform.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/platform.c b/platform.c index 910e39713..97439b574 100644 --- a/platform.c +++ b/platform.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: platform.c,v 1.10 2010/11/05 02:07:25 dtucker Exp $ */ | 1 | /* $Id: platform.c,v 1.11 2010/11/05 02:11:04 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2006 Darren Tucker. All rights reserved. | 4 | * Copyright (c) 2006 Darren Tucker. All rights reserved. |
@@ -102,6 +102,10 @@ platform_setusercontext(struct passwd *pw) | |||
102 | void | 102 | void |
103 | platform_setusercontext_post_groups(struct passwd *pw) | 103 | platform_setusercontext_post_groups(struct passwd *pw) |
104 | { | 104 | { |
105 | #ifdef _AIX | ||
106 | aix_usrinfo(pw); | ||
107 | #endif /* _AIX */ | ||
108 | |||
105 | #if !defined(HAVE_LOGIN_CAP) && defined(USE_LIBIAF) | 109 | #if !defined(HAVE_LOGIN_CAP) && defined(USE_LIBIAF) |
106 | if (set_id(pw->pw_name) != 0) { | 110 | if (set_id(pw->pw_name) != 0) { |
107 | exit(1); | 111 | exit(1); |