mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-01 07:12:05 +00:00
- (dtucker) [openbsd-compat/openbsd-compat.h] Prototypes for user_from_uid
and group_from_gid.
This commit is contained in:
parent
ca94485a48
commit
2563e3f272
@ -1,6 +1,8 @@
|
||||
20100116
|
||||
- (dtucker) [openbsd-compat/pwcache.c] Pull in includes.h and thus defines.h
|
||||
so we correctly detect whether or not we have a native user_from_uid.
|
||||
- (dtucker) [openbsd-compat/openbsd-compat.h] Prototypes for user_from_uid
|
||||
and group_from_gid.
|
||||
|
||||
20100115
|
||||
- (dtucker) OpenBSD CVS Sync
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: openbsd-compat.h,v 1.46 2008/06/08 17:32:29 dtucker Exp $ */
|
||||
/* $Id: openbsd-compat.h,v 1.47 2010/01/16 00:53:07 dtucker Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
|
||||
@ -200,6 +200,14 @@ int vasprintf(char **, const char *, va_list);
|
||||
int vsnprintf(char *, size_t, const char *, va_list);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_USER_FROM_UID
|
||||
char *user_from_uid(uid_t);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_GROUP_FROM_GUID
|
||||
char *group_from_gid(gid_t);
|
||||
#endif
|
||||
|
||||
void *xmmap(size_t size);
|
||||
char *xcrypt(const char *password, const char *salt);
|
||||
char *shadow_pw(struct passwd *pw);
|
||||
|
Loading…
Reference in New Issue
Block a user