LWN.net Logo

fix NGROUPS hard limit 4/4

From:  Timothy Hockin <th122948@scl2.sfbay.sun.com>
To:  torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject:  [BK PATCH 4/4] fix NGROUPS hard limit
Date:  Thu, 10 Oct 2002 18:33:50 -0700 (PDT)

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.741   -> 1.742  
#	include/linux/nfsiod.h	1.1     -> 1.2    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/10	thockin@freakshow.cobalt.com	1.742
# convert nfsiod to use OLD_NGROUPS - does anyone _use_ this file anymore?
# --------------------------------------------
#
diff -Nru a/include/linux/nfsiod.h b/include/linux/nfsiod.h
--- a/include/linux/nfsiod.h	Thu Oct 10 18:19:48 2002
+++ b/include/linux/nfsiod.h	Thu Oct 10 18:19:48 2002
@@ -10,6 +10,7 @@
 
 #include <linux/rpcsock.h>
 #include <linux/nfs_fs.h>
+#include <linux/limits.h>
 
 #ifdef __KERNEL__
 
@@ -36,7 +37,7 @@
 	/* user creds */
 	uid_t			rq_fsuid;
 	gid_t			rq_fsgid;
-	int			rq_groups[NGROUPS];
+	int			rq_groups[OLD_NGROUPS];
 
 	/* retry handling */
 	int			rq_retries;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2002, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds