diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2004-02-20 02:44:17 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2004-02-20 02:44:17 +0000 |
commit | 3f3b9b8245a0ab8ae46c35a3eb8c2c4f13c427b7 (patch) | |
tree | aaefac188b8ac6ca5d5cfa939373c792a99ddd2c /net-fs/openafs/files | |
parent | version bump. Now uses binutils 2.14.90.0.8 and gcc-3.3.3. Lots of syntax/log... (diff) | |
download | historical-3f3b9b8245a0ab8ae46c35a3eb8c2c4f13c427b7.tar.gz historical-3f3b9b8245a0ab8ae46c35a3eb8c2c4f13c427b7.tar.bz2 historical-3f3b9b8245a0ab8ae46c35a3eb8c2c4f13c427b7.zip |
added Jacob Joseph's old_gid_t patch. #10952
Diffstat (limited to 'net-fs/openafs/files')
-rw-r--r-- | net-fs/openafs/files/openafs-typechange.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-fs/openafs/files/openafs-typechange.patch b/net-fs/openafs/files/openafs-typechange.patch new file mode 100644 index 000000000000..671518e18fbc --- /dev/null +++ b/net-fs/openafs/files/openafs-typechange.patch @@ -0,0 +1,26 @@ +diff -Naur openafs-1.2.10-old/src/afs/LINUX/osi_groups.c openafs-1.2.10/src/afs/LINUX/osi_groups.c +--- openafs-1.2.10-old/src/afs/LINUX/osi_groups.c 2003-05-22 00:08:03.000000000 -0400 ++++ openafs-1.2.10/src/afs/LINUX/osi_groups.c 2004-02-19 17:24:45.000000000 -0500 +@@ -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(); +diff -Naur openafs-1.2.10-old/src/afs/LINUX/osi_module.c openafs-1.2.10/src/afs/LINUX/osi_module.c +--- openafs-1.2.10-old/src/afs/LINUX/osi_module.c 2003-07-28 22:01:02.000000000 -0400 ++++ openafs-1.2.10/src/afs/LINUX/osi_module.c 2004-02-19 17:23:21.000000000 -0500 +@@ -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 */ |