summaryrefslogtreecommitdiff
path: root/bsd-getgrouplist.h
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-01-14 00:35:19 +0000
committerKevin Steves <stevesk@pobox.com>2001-01-14 00:35:19 +0000
commit886b06ce67f9fda0121ec4a3875970bc2316e780 (patch)
tree8a6a34933214016240fe1b75407ef99d775c44be /bsd-getgrouplist.h
parent2f959b4cd1d1afcd241d7ffa06a34646c0c89969 (diff)
- (stevesk) initial work for OpenBSD "support supplementary group in
{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)
Diffstat (limited to 'bsd-getgrouplist.h')
-rw-r--r--bsd-getgrouplist.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/bsd-getgrouplist.h b/bsd-getgrouplist.h
new file mode 100644
index 000000000..ef9e60116
--- /dev/null
+++ b/bsd-getgrouplist.h
@@ -0,0 +1,14 @@
1#ifndef _BSD_GETGROUPLIST_H
2#define _BSD_GETGROUPLIST_H
3
4#include "config.h"
5
6#ifndef HAVE_GETGROUPLIST
7
8#include <grp.h>
9
10int getgrouplist(const char *, gid_t, gid_t *, int *);
11
12#endif
13
14#endif