make C function setgroups() be _setgroups(), called by the asm stub.

initgroups() can then use _setgroups() instead of setgroups().
This commit is contained in:
Ben Gras 2010-01-15 17:16:15 +00:00
parent 80d671aea7
commit 716df202de
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@
initgroups.c
*/
#include <sys/param.h>
#define setgroups _setgroups
#include <unistd.h>
#include <string.h>
#include <grp.h>

View file

@ -3,6 +3,7 @@ setgroups.c
*/
#include <lib.h>
#define setgroups _setgroups
#include <unistd.h>
int setgroups(int ngroups, const gid_t *gidset)