From 716df202ded8b43274d278ddf2e8c947379f31b7 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 15 Jan 2010 17:16:15 +0000 Subject: [PATCH] make C function setgroups() be _setgroups(), called by the asm stub. initgroups() can then use _setgroups() instead of setgroups(). --- lib/other/initgroups.c | 1 + lib/other/setgroups.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/other/initgroups.c b/lib/other/initgroups.c index 86a656303..d27554945 100644 --- a/lib/other/initgroups.c +++ b/lib/other/initgroups.c @@ -2,6 +2,7 @@ initgroups.c */ #include +#define setgroups _setgroups #include #include #include diff --git a/lib/other/setgroups.c b/lib/other/setgroups.c index e1813b0ca..eeb72053f 100644 --- a/lib/other/setgroups.c +++ b/lib/other/setgroups.c @@ -3,6 +3,7 @@ setgroups.c */ #include +#define setgroups _setgroups #include int setgroups(int ngroups, const gid_t *gidset) -- 2.44.0