From: Chas Williams Date: Mon, 23 Apr 2001 08:46:07 +0000 (+0000) Subject: STABLE10-linux24-ppc-has-no-setgroups32-20010423 X-Git-Tag: openafs-stable-1_0_4~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2d82febaca114106dad3a8f369a526fa1fbe1bab;p=packages%2Fo%2Fopenafs.git STABLE10-linux24-ppc-has-no-setgroups32-20010423 ppc doesn't yet have setgroups32 --- diff --git a/src/afs/LINUX/osi_module.c b/src/afs/LINUX/osi_module.c index e2652e2d4..608012740 100644 --- a/src/afs/LINUX/osi_module.c +++ b/src/afs/LINUX/osi_module.c @@ -135,7 +135,7 @@ int init_module(void) sys_setgroupsp32 = SYSCALL2POINTER sys_call_table32[__NR_setgroups]; sys_call_table32[__NR_setgroups] = POINTER2SYSCALL afs_xsetgroups32; #endif -#if defined(AFS_LINUX24_ENV) +#if defined(__NR_setgroups32) sys_setgroups32p = SYSCALL2POINTER sys_call_table[__NR_setgroups32]; sys_call_table[__NR_setgroups32] = POINTER2SYSCALL afs_xsetgroups32; #endif @@ -153,7 +153,7 @@ void cleanup_module(void) sys_call_table32[__NR_setgroups] = POINTER2SYSCALL sys_setgroupsp32; sys_call_table32[__NR_afs_syscall] = afs_ni_syscall32; #endif -#if defined(AFS_LINUX24_ENV) +#if defined(__NR_setgroups32) sys_call_table[__NR_setgroups32] = POINTER2SYSCALL sys_setgroups32p; #endif unregister_filesystem(&afs_file_system);