Skip to content
Snippets Groups Projects
Commit b513c1fa authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

solaris: provide a groupmember() stub

parent 44f61855
No related branches found
No related tags found
No related merge requests found
......@@ -47,4 +47,9 @@ typedef struct ucred ucred_t;
#define crgetngroups(cred) 0
#define crgetsid(cred, i) NULL
static inline int groupmember(gid_t gid, const cred_t *cr)
{
return 1; /* only one user and group in OSv */
}
#endif /* _OPENSOLARIS_SYS_CRED_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment