mirror of git://anongit.mindrot.org/openssh.git
- (dtucker) platform.c session.c] Move aix_usrinfo frament into platform.c.
This commit is contained in:
parent
7a8afe3186
commit
676b912e78
|
@ -35,6 +35,7 @@
|
||||||
the LOGIN_CAP case into platform.c.
|
the LOGIN_CAP case into platform.c.
|
||||||
- (dtucker) platform.c session.c] Move the USE_LIBIAF fragment into
|
- (dtucker) platform.c session.c] Move the USE_LIBIAF fragment into
|
||||||
platform.c
|
platform.c
|
||||||
|
- (dtucker) platform.c session.c] Move aix_usrinfo frament into platform.c.
|
||||||
|
|
||||||
20101025
|
20101025
|
||||||
- (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came with
|
- (tim) [openbsd-compat/glob.h] Remove sys/cdefs.h include that came with
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: platform.c,v 1.10 2010/11/05 02:07:25 dtucker Exp $ */
|
/* $Id: platform.c,v 1.11 2010/11/05 02:11:04 dtucker Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2006 Darren Tucker. All rights reserved.
|
* Copyright (c) 2006 Darren Tucker. All rights reserved.
|
||||||
|
@ -102,6 +102,10 @@ platform_setusercontext(struct passwd *pw)
|
||||||
void
|
void
|
||||||
platform_setusercontext_post_groups(struct passwd *pw)
|
platform_setusercontext_post_groups(struct passwd *pw)
|
||||||
{
|
{
|
||||||
|
#ifdef _AIX
|
||||||
|
aix_usrinfo(pw);
|
||||||
|
#endif /* _AIX */
|
||||||
|
|
||||||
#if !defined(HAVE_LOGIN_CAP) && defined(USE_LIBIAF)
|
#if !defined(HAVE_LOGIN_CAP) && defined(USE_LIBIAF)
|
||||||
if (set_id(pw->pw_name) != 0) {
|
if (set_id(pw->pw_name) != 0) {
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
@ -1513,9 +1513,6 @@ do_setusercontext(struct passwd *pw)
|
||||||
# if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY)
|
# if defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY)
|
||||||
irix_setusercontext(pw);
|
irix_setusercontext(pw);
|
||||||
# endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */
|
# endif /* defined(WITH_IRIX_PROJECT) || defined(WITH_IRIX_JOBS) || defined(WITH_IRIX_ARRAY) */
|
||||||
# ifdef _AIX
|
|
||||||
aix_usrinfo(pw);
|
|
||||||
# endif /* _AIX */
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
platform_setusercontext_post_groups(pw);
|
platform_setusercontext_post_groups(pw);
|
||||||
|
|
Loading…
Reference in New Issue