My apologies for an earlier, misleading, patch. The real problem behind
my NFS client problems seems to be this:
--- linux/kernel/sys.c.orig Mon Mar 16 07:17:16 1998
+++ linux/kernel/sys.c Wed Mar 18 07:25:31 1998
@@ -721,6 +721,8 @@
return -EINVAL;
if(copy_from_user(current->groups, grouplist, gidsetsize * sizeof(gid_t)))
return -EFAULT;
+ if (gidsetsize < NGROUPS)
+ current->groups[gidsetsize] = NOGROUP;
current->ngroups = gidsetsize;
return 0;
}
The question is: Why wasn't the lack of a terminator for the task_struct
groups list causing more problems? The logic I inserted had existed in
the 2.0.x kernels.
Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu