svn commit: trunk/busybox/include

vda at busybox.net vda at busybox.net
Thu Sep 25 10:20:47 UTC 2008


Author: vda
Date: 2008-09-25 03:20:46 -0700 (Thu, 25 Sep 2008)
New Revision: 23484

Log:
return setgroups() decl to libbb, it is needed if we use libpwdgrp.



Modified:
   trunk/busybox/include/libbb.h


Changeset:
Modified: trunk/busybox/include/libbb.h
===================================================================
--- trunk/busybox/include/libbb.h	2008-09-25 09:13:21 UTC (rev 23483)
+++ trunk/busybox/include/libbb.h	2008-09-25 10:20:46 UTC (rev 23484)
@@ -80,8 +80,10 @@
 #endif
 
 /* Some libc's forget to declare these, do it ourself */
+
 extern char **environ;
-
+/* Set the group set for the current user to GROUPS (N of them).  */
+int setgroups(size_t n, const gid_t *groups);
 #if defined(__GLIBC__) && __GLIBC__ < 2
 int vdprintf(int d, const char *format, va_list ap);
 #endif
@@ -107,7 +109,7 @@
 	unsigned long totalhigh;	/* Total high memory size */
 	unsigned long freehigh;		/* Available high memory size */
 	unsigned int mem_unit;		/* Memory unit size in bytes */
-	char _f[20 - 2*sizeof(long) - sizeof(int)]; /* Padding: libc5 uses this.. */
+	char _f[20 - 2 * sizeof(long) - sizeof(int)]; /* Padding: libc5 uses this.. */
 };
 int sysinfo(struct sysinfo* info);
 




More information about the busybox-cvs mailing list