mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 16:00:12 +00:00
amd64-update-20040202
FIXES 2756 deal with types in newer amd64 distributions initialize some variables
This commit is contained in:
parent
526c586898
commit
0008bb5988
@ -185,9 +185,9 @@ afs_xsetgroups32(int gidsetsize, gid_t * grouplist)
|
||||
|
||||
#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);
|
||||
extern long (*sys32_setgroupsp) (int gidsetsize, u16 * grouplist);
|
||||
asmlinkage long
|
||||
afs32_xsetgroups(int gidsetsize, old_gid_t * grouplist)
|
||||
afs32_xsetgroups(int gidsetsize, u16 * grouplist)
|
||||
{
|
||||
long code;
|
||||
cred_t *cr = crref();
|
||||
|
@ -86,7 +86,7 @@ static void **ia32_sys_call_table;
|
||||
#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 */
|
||||
@ -167,7 +167,7 @@ init_module(void)
|
||||
#endif
|
||||
{
|
||||
#if defined(AFS_IA64_LINUX20_ENV)
|
||||
unsigned long kernel_gp;
|
||||
unsigned long kernel_gp = 0;
|
||||
static struct fptr sys_settimeofday, sys_setgroups;
|
||||
#endif
|
||||
extern int afs_syscall();
|
||||
@ -187,19 +187,19 @@ init_module(void)
|
||||
|
||||
#if !defined(EXPORTED_SYS_CALL_TABLE) || (defined(AFS_AMD64_LINUX20_ENV) && !defined(EXPORTED_IA32_SYS_CALL_TABLE))
|
||||
unsigned long *ptr;
|
||||
unsigned long offset;
|
||||
unsigned long datalen;
|
||||
unsigned long offset=0;
|
||||
unsigned long datalen=0;
|
||||
int ret;
|
||||
unsigned long token;
|
||||
unsigned long token=0;
|
||||
char *mod_name;
|
||||
unsigned long mod_start;
|
||||
unsigned long mod_end;
|
||||
unsigned long mod_start=0;
|
||||
unsigned long mod_end=0;
|
||||
char *sec_name;
|
||||
unsigned long sec_start;
|
||||
unsigned long sec_end;
|
||||
unsigned long sec_start=0;
|
||||
unsigned long sec_end=0;
|
||||
char *sym_name;
|
||||
unsigned long sym_start;
|
||||
unsigned long sym_end;
|
||||
unsigned long sym_start=0;
|
||||
unsigned long sym_end=0;
|
||||
#endif /* EXPORTED_SYS_CALL_TABLE */
|
||||
|
||||
RWLOCK_INIT(&afs_xosi, "afs_xosi");
|
||||
|
@ -1109,7 +1109,7 @@ copyin_iparam(caddr_t cmarg, struct iparam *dst)
|
||||
}
|
||||
#endif /* AFS_SUN57_64BIT_ENV */
|
||||
|
||||
#if defined(AFS_LINUX_64BIT_KERNEL) && !defined(AFS_ALPHA_LINUX20_ENV) && !defined(AFS_IA64_LINUX20_ENV)
|
||||
#if defined(AFS_LINUX_64BIT_KERNEL) && !defined(AFS_ALPHA_LINUX20_ENV) && !defined(AFS_IA64_LINUX20_ENV) && !defined(AFS_AMD64_LINUX20_ENV)
|
||||
struct iparam32 dst32;
|
||||
|
||||
#ifdef AFS_SPARC64_LINUX24_ENV
|
||||
|
@ -256,7 +256,7 @@ copyin_afs_ioctl(caddr_t cmarg, struct afs_ioctl *dst)
|
||||
}
|
||||
#endif /* defined(AFS_SGI_ENV) && (_MIPS_SZLONG==64) */
|
||||
|
||||
#if defined(AFS_LINUX_64BIT_KERNEL) && !defined(AFS_ALPHA_LINUX20_ENV) && !defined(AFS_IA64_LINUX20_ENV)
|
||||
#if defined(AFS_LINUX_64BIT_KERNEL) && !defined(AFS_ALPHA_LINUX20_ENV) && !defined(AFS_IA64_LINUX20_ENV) && !defined(AFS_AMD64_LINUX20_ENV)
|
||||
struct afs_ioctl32 dst32;
|
||||
|
||||
#ifdef AFS_SPARC64_LINUX24_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user