]> Zhao Yanbai Git Server - minix.git/commitdiff
make C function setgroups() be _setgroups(), called by the asm stub.
authorBen Gras <ben@minix3.org>
Fri, 15 Jan 2010 17:16:15 +0000 (17:16 +0000)
committerBen Gras <ben@minix3.org>
Fri, 15 Jan 2010 17:16:15 +0000 (17:16 +0000)
initgroups() can then use _setgroups() instead of setgroups().

lib/other/initgroups.c
lib/other/setgroups.c

index 86a656303ee540b8a7cc99e9b318ad0d00a5497b..d27554945076db0314ff653f8b54ccd9690288b5 100644 (file)
@@ -2,6 +2,7 @@
 initgroups.c
 */
 #include <sys/param.h>
+#define setgroups _setgroups
 #include <unistd.h>
 #include <string.h>
 #include <grp.h>
index e1813b0cab90802fd7bd77759133239850306430..eeb72053f1ba6107c24edc052f38927cbb2cdcff 100644 (file)
@@ -3,6 +3,7 @@ setgroups.c
 */
 
 #include <lib.h>
+#define setgroups _setgroups
 #include <unistd.h>
 
 int setgroups(int ngroups, const gid_t *gidset)