[OpenAFS-devel] openafs-1.2.13 on amd64_linux24
Rudolph T. Maceyko
rtm@cert.org
Tue, 11 Jan 2005 15:55:02 -0500
--==========FC8EF88BED382490A641==========
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--On Tuesday, January 11, 2005 10:56:19 AM -0600 David Thompson
<thomas@cs.wisc.edu> 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
--==========FC8EF88BED382490A641==========
Content-Type: text/plain; charset=iso-8859-1;
name="openafs-1.2.11-no_old_gid_t.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="openafs-1.2.11-no_old_gid_t.patch"; size=1121
--- 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 @@
=20
#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 =3D 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
=20
static void *ia32_ni_syscall =3D 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 */
--==========FC8EF88BED382490A641==========--