make C function setgroups() be _setgroups(), called by the asm stub.
initgroups() can then use _setgroups() instead of setgroups().
This commit is contained in:
parent
80d671aea7
commit
716df202de
2 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
initgroups.c
|
||||
*/
|
||||
#include <sys/param.h>
|
||||
#define setgroups _setgroups
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <grp.h>
|
||||
|
|
|
@ -3,6 +3,7 @@ setgroups.c
|
|||
*/
|
||||
|
||||
#include <lib.h>
|
||||
#define setgroups _setgroups
|
||||
#include <unistd.h>
|
||||
|
||||
int setgroups(int ngroups, const gid_t *gidset)
|
||||
|
|
Loading…
Reference in a new issue