--On Tuesday, January 11, 2005 10:56:19 AM -0600 David Thompson
<[EMAIL PROTECTED]> wrote:

> ../afs/osi_groups.c:181: syntax error before "old_gid_t"

Sorry I don't have the time to dig up a bug number or the name of the
original reporter, but I think this is the patch you're looking for.

-Rudy
--- src/afs/LINUX/osi_groups.c.old_gid  2004-10-11 20:03:36.000000000 -0400
+++ src/afs/LINUX/osi_groups.c  2004-10-11 20:04:29.000000000 -0400
@@ -178,8 +178,8 @@
 
 #if defined(AFS_SPARC64_LINUX20_ENV) || defined(AFS_AMD64_LINUX20_ENV)
 /* Intercept the uid16 system call as used by 32bit programs. */
-extern long (*sys32_setgroupsp)(int gidsetsize, old_gid_t *grouplist);
-asmlinkage long afs32_xsetgroups(int gidsetsize, old_gid_t *grouplist)
+extern long (*sys32_setgroupsp)(int gidsetsize, u16 *grouplist);
+asmlinkage long afs32_xsetgroups(int gidsetsize, u16 *grouplist)
 {
     long code;
     cred_t *cr = crref();
--- src/afs/LINUX/osi_module.c.old_gid  2004-10-11 20:03:43.000000000 -0400
+++ src/afs/LINUX/osi_module.c  2004-10-11 20:04:44.000000000 -0400
@@ -88,7 +88,7 @@
 #endif
 
 static void *ia32_ni_syscall = 0;
-asmlinkage long (*sys32_setgroupsp)(int gidsetsize, old_gid_t *grouplist);
+asmlinkage long (*sys32_setgroupsp)(int gidsetsize, u16 *grouplist);
 #if defined(__NR_ia32_setgroups32)
 asmlinkage long (*sys32_setgroups32p)(int gidsetsize, gid_t *grouplist);
 #endif /* __NR_ia32_setgroups32 */

Reply via email to