mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-29 00:01:43 +08:00
886b06ce67
{Allow,Deny}Groups" patch: - import getgrouplist.c from OpenBSD (bsd-getgrouplist.c) - add bsd-getgrouplist.h - new files groupaccess.[ch] - build but don't use yet (need to merge auth.c changes)
15 lines
194 B
C
15 lines
194 B
C
#ifndef _BSD_GETGROUPLIST_H
|
|
#define _BSD_GETGROUPLIST_H
|
|
|
|
#include "config.h"
|
|
|
|
#ifndef HAVE_GETGROUPLIST
|
|
|
|
#include <grp.h>
|
|
|
|
int getgrouplist(const char *, gid_t, gid_t *, int *);
|
|
|
|
#endif
|
|
|
|
#endif
|